• Resolved nicolasprn

    (@nicolasprn)


    Hello,

    how do i prevent the breadcrumb (Home > “search term”) to show before any result on the search results page please ?

    Thank you,
    Nicolas.

    • This topic was modified 6 years, 3 months ago by nicolasprn.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support amboutwe

    (@amboutwe)

    This depends on how the breadcrumbs were implemented in your theme. If the code was added directly to the search template, removing the breadcrumb code from the template file would prevent them from displaying.

    If the code was added through filters, you can wrap the code to only output if it’s not a search result page.

    For example:

    if ( function_exists('yoast_breadcrumb') && !is_search() )

    Plugin Support amboutwe

    (@amboutwe)

    This thread has been marked as resolved due to lack of activity.

    You’re always welcome to re-open this topic. Please read this post before open a new request.

    Thanks for understanding!

    Thread Starter nicolasprn

    (@nicolasprn)

    Thank you for your answer and sorry for my late reply !

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Breadcrumb before any result on search results page’ is closed to new replies.