Support » How-To and Troubleshooting » [Resolved] Conditional Statement for Breadcrumbs

[Resolved] Conditional Statement for Breadcrumbs

  • sarahfrantz


    Just a quick question, I want to show a specific link instead of breadcrumbs on a specific page.. but I don’t have a set ID for the page (which I would normally use if I was doing this… can you use an absolute url?

    for example, I want to do this:

    <?php if ( is_page('http://www.mypage.com/subdirectory/page')) { ?>
    <a href="http://www.happydaycorp.com/catering/menu">Menu</a>
    <?php } else { ?>
    <?php wpsc_output_breadcrumbs(); ?>
    <?php } ?>

    Any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Conditional Statement for Breadcrumbs’ is closed to new replies.
Skip to toolbar