Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #223696

    Hi,
    Is it possible to add this plugin to the Brightbox theme ?

    http://wordpress.org/plugins/wordpress-23-related-posts-plugin/

    But only for portfolio items, not blog posts.
    This is based on the code: <?php wp_related_posts()?>

    Cheers

    #223772

    Hi suderDesign!

    The plugin doesn’t have the feature to filter posts from a certain post type. Please contact the plugin author to modify the plugin. If you want the related posts to show only on portfolio items, you can edit includes > loop-index.php, find this code on line 61:

    the_content(__('Read more','avia_framework'));
    

    Below, add this code:

    if ( is_singular( 'portfolio' ) ) {
       				wp_related_posts();	
    				}

    Regards,
    Ismael

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

You must be logged in to reply to this topic.