[Resolved] Bread crumbs for non posts

Home Forums Support [Resolved] Bread crumbs for non posts

Home Forums Support Bread crumbs for non posts

Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • #889100
    Louis

    I disabled it until I know what code to put in the Hook.

    #889101
    Tom
    Lead Developer
    Lead Developer

    When you add that code, make sure you check the “Execute PHP” checkbox in your hook settings.

    #889821
    Louis

    Well, that got rid of the code showing up. Now, I’m back to only seeing one red Home, on the far left side of the screen. Kind of frustrating.

    #889916
    Tom
    Lead Developer
    Lead Developer

    It doesn’t look like you switched it to the before_content hook. It’s the same issue as before where the text color matches your background color.

    #890004
    Louis

    I believe I do. My Element settings for “Breadcrumbs for MindIQ” Hook are:
    <?php
    if ( function_exists(‘yoast_breadcrumb’) ) {
    yoast_breadcrumb( ‘<p id=”breadcrumbs”>’,'</p>’ );
    }
    ?>

    Hook = before_content
    Execute Shortcodes = checked
    Execute PHP = checked
    Priority = 10
    Display Rule – Location = Page -> All Pages

    #890324
    David
    Staff
    Customer Support

    Maybe this visual guide will help with its placement:

    https://docs.generatepress.com/article/hooks-visual-guide/#static-page

Viewing 6 posts - 16 through 21 (of 21 total)
  • You must be logged in to reply to this topic.