Example #1
0
<?php 
if (!is_front_page()) {
    ?>
  <?php 
    if (x_get_option('x_breadcrumb_display') == '1') {
        ?>

    <div class="x-breadcrumb-wrap">
      <div class="x-container max width">

        <?php 
        x_breadcrumbs();
        ?>

        <?php 
        if (is_single() || x_is_portfolio_item()) {
            ?>
          <?php 
            x_entry_navigation();
            ?>
        <?php 
        }
        ?>

      </div>
    </div>

  <?php 
    }
}
Example #2
0
    function x_ethos_entry_top_navigation()
    {
        if (x_is_portfolio_item()) {
            $link = x_get_parent_portfolio_link();
        } elseif (x_is_product()) {
            $link = x_get_shop_link();
        }
        $title = esc_attr(__('See All Posts', '__x__'));
        ?>

      <div class="entry-top-navigation">
        <a href="<?php 
        echo $link;
        ?>
" class="entry-parent" title="<?php 
        $title;
        ?>
"><i class="x-icon-th"></i></a>
        <?php 
        x_entry_navigation();
        ?>
      </div>

    <?php 
    }