Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #418023

    hi im not sure if im doing something stupid but i just added a posts to our site and it fails to show in our blog page.

    The 2 website launch blogs are showing on the blog feed but it is failing to show our most recent one that discusses the blanche smile studio.

    Url for latest blogs are
    http://www.codecreative.uk/blog/

    This is not showing on the above blog page
    http://www.codecreative.uk/stunning-logo-for-new-dental-practice-blanche-smile-studio/

    What have I done wrong?

    #418353

    Hey codecreative!

    Do you have a caching plugin active? If so, please try to delete the cache. If not, please provide us with a temporary admin login so that we can take a closer look.

    Best regards,
    Rikard

    #418455

    Hi
    how to clear the cache of pluign?
    Thanks

    #418479
    This reply has been marked as private.
    #419087

    Hi codecreative!

    Have you made any changes to index.php in your theme? As far as I can see only your first two blog posts are showing on your blog page, and there is no pagination either. If you haven’t made any changes, please try to deactivate all plugins to see if one of them is causing a conflict.

    Best regards,
    Rikard

    #419214

    I’m using a child theme I’ll try and change to the parent theme

    #419233

    hi in my child theme functions.php i have this code can you remind me what it is doing?

    function exclude_category($query) {
    if ( $query->is_home() )
    {
    $query->set(‘cat’, ‘-5 -7 -9’);
    }
    return $query;
    }

    add_filter(‘pre_get_posts’, ‘exclude_category’);

    #419710

    Hey!

    It looks like it’s excluding categories, please try to remove it to see if the problem goes away.

    Cheers!
    Rikard

    #421832

    Yes Rikard

    It worked a charm! Thank you :)

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘blog page not showing all posts’ is closed to new replies.