New Landing How can we help? Themeforest Theme Support Flexform Modify the portfolio-carousel.php to display custom post types

Viewing 15 posts - 91 through 105 (of 118 total)
  • Posted in: Flexform
  • #16453
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Is it broken on 3.6? Never seen this issue before, so can only assume it may be something your end. Tested here, working fine.

    The permalink issue must also be something local, nothing changed in the update relating to that, and not had any other reports of an issue.

    Apologies I couldn’t be of more help on those!

    – Ed

    #16544
    sam_y2000
    Member
    Post count: 86

    Ed,

    After some investigation it seems the Search issue is a plugin conflict…

    I was planning on using the mPress ‘Hide from Search’ plugin and had it enabled, seems this knocks out the search results.

    I was also looking at Relevannsi to replace the WordPress search but this also breaks the search :0(

    Any suggestions as to how I may use Relevannsi and hide posts/pages and not break the template???

    The permalink issue was indeed local – it first seemed to be caused by WPML but then going through the ‘disable all/enable one-by-one’ dance, the landing pages and leads plugins (which both modify the wordpress section of .htaccess) seemed to trigger it – however suddenly everything started to work!

    …after further digging it seems I need a new computer! lovl …the bugger needs more power! I think the scripts were failing as I have updated the custom post type permalinks plugin – knocked out the pages – but this time visiting permlinks restores things.

    So – after all this back and forth I am very pleased to say everything is now working as planned!

    Thank you so much for all your help here.

    Just one thing though, the geek in me is curious and I would like to make things as easy as possible for the client so if you could perhaps point me in the right direction to modify the ‘Related Articles’ checkbox on the Post Meta to look at my CPT instead it would make me happy :0)

    LOVE YOU ED (and Flexform) – HAVE A GREAT DAY!

    PS. Do I need to use the builder from 1.5 in my child theme in order to use the new parallax thing?!

    #16549
    sam_y2000
    Member
    Post count: 86

    Sorry, one more question…

    WPML settings using Flexform, should this be setup as:

    Translate by WPML

    or

    Translate using .mo files.

    if the latter; what is ‘Automatically load the theme’s .mo file using ‘load_theme_textdomain’.’ – and do I need it?

    Thanks

    #16972
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Absolutely no idea about Relevannsi, never heard of it!

    For the related articles, edit single.php the args array is line 238, just add the same line as you changed for the pb asset.

    Yes, you would need to update to v1.5 for the parallax element.

    WPML – either way, we provide the po file, but you can do it within WPML if it’s easier for you.

    – Ed

    #16987
    sam_y2000
    Member
    Post count: 86
    This reply has been marked as private.
    #17173
    sam_y2000
    Member
    Post count: 86
    This reply has been marked as private.
    #17363
    sam_y2000
    Member
    Post count: 86
    This reply has been marked as private.
    #17366
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi Sam,
    I’m afraid it seems like this goes beyond what we can grant within the scope of free support. I’m afraid you’ll have to hire a dedicated developer to help you find your way around your modification.

    Thanks!

    #17379
    sam_y2000
    Member
    Post count: 86
    This reply has been marked as private.
    #17414
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Sam,

    What that code in the link provided is filtering the current function, so add that to functions.php, then change line 235 in single.php:

    $categories = get_the_category($post->ID);
    

    to

    $categories = get_the_category($post->ID, 'sd-article-category');
    

    Although I can’t remember what you called your custom taxonomy, but make sure that’s correct for the post type!


    @melaniemazurides
    – thanks Melanie, I’ve got this!

    – Ed

    #17417
    sam_y2000
    Member
    Post count: 86
    This reply has been marked as private.
    #17539
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Apologies, that’s what it’s meant to be. If it disappears then not sure where it’s going wrong.

    Just had a quick google, maybe try this? – http://stackoverflow.com/questions/12257090/how-to-display-custom-posts-from-a-related-custom-taxonomy

    For the h4 issue, it looks like you haven’t closed the tag in the translation?

    – Ed

    #17542
    sam_y2000
    Member
    Post count: 86
    This reply has been marked as private.
    #17546
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Sam,

    You’d add that code within the functions.php, the related_posts_by_taxonomy function. Then edit single.php line 247:

    $related_posts_query =  related_posts_by_taxonomy( $post->ID, 'article-category' );
    

    – Ed

    #17548
    sam_y2000
    Member
    Post count: 86
    This reply has been marked as private.
Viewing 15 posts - 91 through 105 (of 118 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register