After a recent upgrade, the News menu item suddenly inherited posts that don't belong to it, and the "News" posts are at the end. Any ideas what went wrong?
http://www.bossindustries.net/news/
Thanks!
(9 posts)
(3 voices)
After a recent upgrade, the News menu item suddenly inherited posts that don't belong to it, and the "News" posts are at the end. Any ideas what went wrong?
http://www.bossindustries.net/news/
Thanks!
Hello jicks,
Is that your blog page or are you using the One Category template?
If it's your blog page then make sure that you are excluding those specific categories.
If that does not work then open up /wp-content/themes/infocus/lib/includes/template-blog.php and find line 166,
$query_string = "cat=".$exclude_blog_cats."&paged=$paged";
You can specify the exact categories you want to display by doing this,
$query_string = "category_name=News,Sideboards,Finishing&paged=$paged";
Let us know if that works for you jicks.
Elliot,
Thanks for the quick reply. I am not sure what happened, but it never had a shortcode for categories?
I added [portfolio cat=22 style=full max=9] as "News" is 22, the two posts that should be there in that page have News checked as a category, yet now nothing appears?
Hi jicks,
Did you check if the ID of the category changed?
Could you please provide us your login details, so we can take a look at it?
Login details pm'ed to you Ruderic.
Thanks guys!
Hello,
I just went through your admin panel. As you can see, I modified the category in the "portfolio" shortode, and now the items are displayed correctly. I would recommend you to create a new category for your "News" items, and move your posts to that category.
Also, do not name your categories/pages/posts using the same name for more than 1 of them. It can cause problems with Wordpress internal functions.
Ruderic,
I opened the page in firefox (ie9 is broken) and News was showing other posts? I created a new category taking your advice, "News_Category" and assigned the two posts this category.
I then used a shortcde to include these posts and it appears empty again now?
Very sorry for the trouble, if you could spare another moment to guide me through this?
Thanks!
Elliott,
I am using the a Category template, something is seriously wrong:) If I change the category number, those posts appear. If I create a new page, and set its category to the newly created "News" category, they don't appear?
What can I do to troubleshoot this further?
Thanks
Hello jicks,
Do you mean the "One Category" template? Go ahead and PM me your Wordpress login information and I'll take a closer look.
You must log in to post.