Topic Resolution: Resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2830
    AvatarLucasPastaBoys
    Supported

    Hello,

    I would like to remove the breadcrumbs that are visible on every page except the home page. Can you tell me how I can do this?

    Thanks for the help!

    Kind regards,
    Lucas Raemakers

    #2854

    Hi there,

    Please copy code and paste into file functions.php ( child-theme)

    remove_action('poco_before_content', 'poco_breadcrumb', 10);

    #2875
    AvatarLucasPastaBoys
    Supported

    Hi,

    Thanks for the reply. I did as you said, but this does not solve the problem. This is how my functions.php file looks right now

    —————————-
    <?php
    /**
    * Theme functions and definitions.
    */

    remove_action(‘poco_before_content’, ‘poco_breadcrumb’, 10);

    —————————-

    Did I make a mistake here?

    With kind regards,
    Lucas

    #2876

    Hi,

    Try to add code:

    function poco_breadcrumb() {
    return;
    }
    #2877
    AvatarLucasPastaBoys
    Supported

    This worked, thanks!

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

You must be logged in to reply to this topic.