• Resolved drbyte2009

    (@drbyte2009)


    Today i updated the theme to the latest version.
    Now its displays (just above the footer) the category title of the posts categorys.

    How can i remove that from the homepage?
    I use a child them from the original theme.
    I also tried it with a plugin and with the code below in the functions.php of the child theme.

    function exclude_category_home( $query ) {if ( $query->is_home ) {$query->set( 'cat', '-3, -1347' );}return $query;}add_filter( 'pre_get_posts', 'exclude_category_home' );

    Any help would be welcome,
    Thnx in advance
    René

    • This topic was modified 2 years, 4 months ago by drbyte2009.

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Theme Author Guido

    (@guido07111975)

    Hi René,

    I did not change anything related to that, in last update. I only removed the Open Sans font because of the GDPR. Do you have a link to the relevant page?

    FYI: if you reply within an hour or so you can add your link to your first message (via the link field), this way it’s only visible for logged in users.

    Guido

    Thread Starter drbyte2009

    (@drbyte2009)

    Guido,

    Strange…..i added the link to the page
    But, how can i stop showing this?

    • This reply was modified 2 years, 4 months ago by drbyte2009.
    Thread Starter drbyte2009

    (@drbyte2009)

    Guido,

    I reverted the update back to the previous version and it’s gone…..
    I think that something is changed in the new update.

    Theme Author Guido

    (@guido07111975)

    Hi,

    When I click the link I’m redirected to the login page. So don’t have access.

    Guido

    Thread Starter drbyte2009

    (@drbyte2009)

    Guido,

    I did go back to the previous version of the theme, and there it does
    not show the categories.

    I will leave it in this way for now (lack of time to solve this)

    Kind regards,
    René

    Theme Author Guido

    (@guido07111975)

    Hi René,

    I’m working on a new minor theme update. I still don’t have access to the link you’ve provided (still redirects me to the login page), but if you have previous version installed again I’m not able to help you. But have no idea what’s wrong.

    Guido

    Thread Starter drbyte2009

    (@drbyte2009)

    Hi Guido,

    I updated the theme to version 7.5, and the category is back again.
    You should also have acces to the link now.

    Kind regards,
    René

    Thread Starter drbyte2009

    (@drbyte2009)

    Guido,

    I just discoverd that when i am logged in (in the backend) the theme shows the category,
    when i am logged out it does not display it.

    René

    • This reply was modified 2 years, 4 months ago by drbyte2009.
    Theme Author Guido

    (@guido07111975)

    Hi,

    So I cannot check this myself because not logged in there. Can you share a screenshot of that page? You can do this by temporary adding this pic at your site or via a site like this.

    Guido

    Thread Starter drbyte2009

    (@drbyte2009)

    Guido,

    On the link below you will find the screencapture

    https://ibb.co/zPPYxN8

    Theme Author Guido

    (@guido07111975)

    Hi,

    Aha, check the page attributes box in de editor of that page. I think you’ve selected the Knowledebase Page Template.

    Guido

    Thread Starter drbyte2009

    (@drbyte2009)

    Guido,

    The Knowledebase Page Template was indeed selected, changed it to
    Full with Template, and everything is fine now.

    Thnx a lot for your help !!

    Kind regards,
    René

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Remove category from homepage’ is closed to new replies.