Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #21731


    There is another topic in the Angular forum about creating a slider for the ‘related entries’ on a portfolio page – containing all related entries (/topic/angular-portfolio-items-related-entries).

    Is this possible in Replete? If so, help appreciated



    Hi StA,

    The two themes share the same related-posts file so the same change in the code should apply as in that post. Just remember related posts are done by Tags so you’ll need common tags to show related items.





    That post changes /includes/related-portfolio-posts.php. I don’t seem to have that file – I have replayed-posts.php and changing that doesn’t work. Which file should I be using?

    Thx in advance



    Like Devin said, you need to edit related-posts.php in the includes folder.




    Hi both,

    I’ve already tried altering that file with no joy…

    The code in the php is

    $is_portfolio = avia_is_portfolio_single();

    $columns = 4;

    $post_class = “one_fourth no_margin”;

    $container_class = “”;

    $image_size = ‘portfolio_small';

    $related_posts = false;

    $this_id = $post->ID;

    $slidecount = 0;

    $postcount = ($columns * 1);

    $format = “”;

    $invisible_image = “”;

    $subtitle = “”;

    if($is_portfolio) // its a portfolio post


    $columns = 4;

    $container_class = ‘stretch_full';

    $post_class = “one_fourth no_margin”;

    $format = ‘portfolio';

    $postcount = ($columns * 2);

    $tags = wp_get_object_terms( $post->ID, ‘portfolio_entries’);


    I’ve tried changing the two references to $postcount to *3 in all the combinations possible (changing one, changing both etc.) and I don’t get the slider appearing – just the referenced tagged portfolio entries shown in two rows. Am I missing something?




    I’m sorry but this is not easily possible and Devin’s answer in the first post was wrong. Angular and Replete do NOT share the same related-posts.php and it’s also not easily possible to “add” the slider Code from “Angular” to “Replete”.

    Best regards,


Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Related entries as a slider’ is closed to new replies.