WordPress.org

Support

Support » Plugins and Hacks » Full Breadcrumb » [Resolved] [Plugin: Full Breadcrumb] Remove breadcrumbs from home page

[Resolved] [Plugin: Full Breadcrumb] Remove breadcrumbs from home page

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Pedro Elsner

    @pedro-elsner

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

    if (!is_home()) {
        // Code here...
    }
    mrzDESIGN

    @mrzdesign

    Thanks!

    elsantos

    @elsantos

    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?

    Plugin Author Pedro Elsner

    @pedro-elsner

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

    Like this:

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: Full Breadcrumb] Remove breadcrumbs from home page’ is closed to new replies.
Skip to toolbar