If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
August 6, 2012 at 9:08 pm #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.
there is a row of boxes under the post called ‘related posts’.
I have tried to reproduce this on the following page: http://www.britpic.co.uk/2012/08/05/wheat-field-at-sunset/.
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 classAugust 6, 2012 at 11:03 pm #86163
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.August 7, 2012 at 7:39 am #86164
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.August 7, 2012 at 5:54 pm #86165
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 :(August 7, 2012 at 6:15 pm #86166
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.August 7, 2012 at 6:17 pm #86167
The topic ‘avia_portfoliobox problems I think!’ is closed to new replies.