All category pages turn out blank

  • Posted in : TheBlogger
  • andersm
    Participant

    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,
    Anders

    andersm
    Participant

    Additional 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.

    andersm
    Participant

    I have also tried to deactivate all plug-ins and changed themes back and forth. The problem still persists.

    serkan
    Moderator

    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?
    Thanks

    andersm
    Participant

    I 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.

    andersm
    Participant

    The website is now online for a short period of time,
    http://www.noaa.dk

    serkan
    Moderator

    Hi,
    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/
    Thanks

    andersm
    Participant

    I am having issues with the categories using default themes as well

    serkan
    Moderator

    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.
    Thanks

    serkan
    Moderator

    Hi,
    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.

    ahmetsali
    Keymaster

    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.

    andersm
    Participant

    Correction: I am not having any problems with the categories on default themes, only on The Blogger theme.

    ahmetsali
    Keymaster

    Hi again, have you tried re-installing your WordPress?

    andersm
    Participant

    Yes. Sadly, it did not work

    serkan
    Moderator

    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.

    andersm
    Participant

    I have deleted the theme, and re-downloaded it, with the latest update, but the problem is still there unfortunately.

    andersm
    Participant

    Is it possible to get any help on this issue?

    serkan
    Moderator

    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

Viewing 18 posts - 1 through 18 (of 18 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register