News section suddenly inherited incorrect posts

pending (9 posts) (3 voices)

  1. jicks
    Member

    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!

    Posted 11 months ago #
  2. Elliott
    Support

    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.

    Posted 11 months ago #
  3. jicks
    Member

    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?

    Posted 11 months ago #
  4. Ruderic
    Support

    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?

    Posted 11 months ago #
  5. jicks
    Member

    Login details pm'ed to you Ruderic.

    Thanks guys!

    Posted 11 months ago #
  6. Ruderic
    Support

    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.

    Posted 11 months ago #
  7. jicks
    Member

    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!

    Posted 11 months ago #
  8. jicks
    Member

    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

    Posted 11 months ago #
  9. Elliott
    Support

    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.

    Posted 11 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme