WordPress.org

Forums

Full Breadcrumb
[resolved] Remove breadcrumbs from home page (5 posts)

  1. mrzDESIGN
    Member
    Posted 2 years ago #

    Hi, how do I remove breadcrumbs from home page? Thanks.

    http://wordpress.org/extend/plugins/full-breadcrumb/

  2. Pedro Elsner
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry for the late anwser.
    You can do a simple condition after call the function. Like this:

    if (!is_home()) {
        // Code here...
    }
  3. mrzDESIGN
    Member
    Posted 2 years ago #

    Thanks!

  4. elsantos
    Member
    Posted 2 years ago #

    Sorry Pedro i do not understand php code, can you help me with this?
    I have this code at my header.php file:

    <?php
    if (function_exists('show_full_breadcrumb')) show_full_breadcrumb(
    array(
    'labels' => array(
    'local' => false, // set FALSE to hide
    'home' => __('Home'),
    'page' => __('Page'),
    'tag' => __('Tag'),
    'search' => __('Searching for'),
    'author' => __('Published by'),
    '404' => __('Error 404 › Page not found')
    ),
    'separator' => array(
    'element' => 'span',
    'class' => 'separator',
    'content' => '›'
    ), // set FALSE to hide
    'local' => array(
    'element' => 'span',
    'class' => 'local'
    ),
    'home' => array(
    'showLink' => false,
    'showBreadcrumb' => true
    ),
    'actual' => array(
    'element' => 'span',
    'class' => 'actual'
    ), // set FALSE to hide
    'quote' => array(
    'tag' => true,
    'search' => true
    ),
    'page_ancestors' => array(
    'showLink' => false
    )
    )
    );
    ?>

    But i want to remove the breadcrumbs from home page, what should i do?

  5. Pedro Elsner
    Member
    Plugin Author

    Posted 2 years ago #

    @elsantos change the option showBreadcrumb into home options to false.

    Like this:

    'home' => array(
        'showLink'       => false,
        'showBreadcrumb' => false
    ),

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Full Breadcrumb
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic