-
Posted in : TheBlogger
-
Hi,
The pages that show all posts in a certain category just turn out blank when trying to access them from the nav menu. How can this be fixed?
Regards,
AndersAdditional info:
If i hit refresh on the home page while customizing, the posts show up.
The posts also change accordingly if this code is entered to the functions.php.function my_home_category( $query ) {
if ( $query->is_home() && $query->is_main_query() ) {
$query->set( ‘cat’, ‘2’);
}
}
add_action( ‘pre_get_posts’, ‘my_home_category’ );But when using the nav menu to find posts in different categories, the page turns white. I have no idea what the problem is.
I have also tried to deactivate all plug-ins and changed themes back and forth. The problem still persists.
Hi,
Please go to settings > permalinks > choose post name and save it. Also, if you have a cache plugin, please clear the cache.
Could you provide me your related url, please?
ThanksI have saved the permalink as post name, and it still doesn’t work.
The website is currently redirected to our old website until the new one is complete, so it isn’t visible to public unfortunately.
The website is now online for a short period of time,
http://www.noaa.dkHi,
Can you switch the theme from theblogger to wordpress default theme and check the category? If you haven’t any issue with the default theme, send me your wp admin details via our contact form and add this topic url as well.
http://www.pixelwars.org/contact/
ThanksI am having issues with the categories using default themes as well
Hi,
I could not reach your website because you redict it another website I guess.
Could you please tell me your wp admin url, I already have username and password but I cannot reach the related url.
Keep me updated when you fix it.
ThanksHi,
I will forward this topic to our developer and he will keep you updated.
It is really strange that I could not detect the issue.
Thanks for your patience.Hi, if it happens on the default theme too, that means it is not related to the theme but related to your WordPress installation, can you try re-installing your WordPress and start with a fresh wp setup;
https://kinsta.com/blog/reinstall-wordpress/
Cheers.
Correction: I am not having any problems with the categories on default themes, only on The Blogger theme.
Hi again, have you tried re-installing your WordPress?
Hi,
We are very sorry to have encountered such a problem. Could you please delete the blogger theme and download a fresh copy and upload it again?
Thanks for your understanding.I have deleted the theme, and re-downloaded it, with the latest update, but the problem is still there unfortunately.
Hi,
I just checked your category pages and it is working well.
Please clear your browser cache and try it again.
https://noaa.dk/category/news/
Thanks
You must be logged in and have valid license to reply to this topic.