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?
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
Hi
how to clear the cache of pluign?
Thanks
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
I’m using a child theme I’ll try and change to the parent theme
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’);
Hey!
It looks like it’s excluding categories, please try to remove it to see if the problem goes away.
Cheers!
Rikard
Yes Rikard
It worked a charm! Thank you :)