• Resolved Dan14

    (@dan14)


    I used the php code for sitewide usage. How do I exclude breadcrumbs from the homepage and any other specific pages? Is there an option for it and if not, how to do it?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Steve M

    (@wpsmort)

    @dan14 Are you referring to the breadcrumbs that All in One SEO now displays on the front end of the site, or the breadcrumbs Schema markup that is displayed in the source code?

    Thread Starter Dan14

    (@dan14)

    The front end

    Plugin Support Steve M

    (@wpsmort)

    Hi @dan14, I spoke to our dev team and they’ll be adding a filter for this in the next release due out later this month.

    I’ll update this forum thread when we’ve added the filter and I can provide you with a code example.

    Thread Starter Dan14

    (@dan14)

    Thank you for your reply.

    I will appreciate if for now you can give the php code that displays breadcrumbs in posts only (if posts) and not pages or categories. It will help me a lot. I am sure you know the core update is rolling out, it is important for me if I can get breadcrumbs to show only in posts for now.

    Plugin Support Steve M

    (@wpsmort)

    @dan14 I’ll update this post when we have added code so you can do this. Right now the code doesn’t exist, it’ll be added in the next release.

    Thread Starter Dan14

    (@dan14)

    Hi, the next release was made. Where do I see the filters?

    Plugin Author arnaudbroes

    (@arnaudbroes)

    @dan14 I’m afraid that we didn’t get a chance yet given how large this release was. We should be able to get it into the next version though.

    In the meanwhile, you can simply modify the PHP code like this –

    if( function_exists( 'aioseo_breadcrumbs' ) && ! is_front_page() ) {
        aioseo_breadcrumbs(); 
    }
Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Excluding breadcrumbs from certain pages’ is closed to new replies.