Support » Plugin: Breadcrumb NavXT » [Plugin: Breadcrumb NavXT] disable breadcrumbs on a particular page

Viewing 1 replies (of 1 total)
  • Plugin Author John Havlik

    (@mtekk)

    On a certian page number as in a specific page id? If so, modify the condition within the if statement wrapped around the calling code to check the is_page function. E.g. the below code will not output a breadcrumb on page ID 1, 22, 91, and 120

    <?php if(function_exists('bcn_display') && !is_page(array(1, 33, 91, 120)))
        {
            bcn_display();
        }?>
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Breadcrumb NavXT] disable breadcrumbs on a particular page’ is closed to new replies.