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


    I’m totally new to WordPress so what i’m about to say is probably something I have overlooked but for the life of me i cannot get it to work.

    On your demo site page:,

    there is a row of boxes under the post called ‘related posts’.

    I have tried to reproduce this on the following page:

    How do you do this?

    Is this a shortcode which is added into the post? If it is i tried the shortcode widget on the above page but it shows:

    : Widget class not found. Make sure this widget exists and the class name is correct.

    Could you please tell me where I am going wrong.

    Thank you for your time


    ps your templates are class


    I think you need to tag your posts before they can show up as related. If they don’t have the same tag they can’t be “related”.

    It’s not a widget.


    Yes exactly – the related posts query can be found in includes/related-posts.php:

    $my_query = new WP_Query("tag=$tag_ids&showposts=$postcount&ignore_sticky_posts=1&orderby=rand");

    It searches for posts which share one or more tags and picks some of them – the date is not important random posts will be used.


    Thank you for your replies rumblefish and Dude,

    I took your advice and added one tag ‘north west gallery’ to the posts on the link below, plus ‘north west gallery’ in the text field provided:

    but the related post still doesn’t show… sorry guys but what am i doing wrong :(


    It’s ok guys I’ve managed to sought it. I read another post where a member was having a similar problem. It required me using more than one tag, then it works.

    Thank you for your time.


    Hey Steve,

    Glad you have it worked out now. I didn’t realize it had issues when only one tag so thanks for the additional note on that :)



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

The topic ‘avia_portfoliobox problems I think!’ is closed to new replies.