• I customized our home page by creating a home.php file. Everything worked out very well, except that the meta link at the bottom of the sidebar are not visible on the home page. It’s calling the same sidebar.php as all the other pages, which use index.php, so I can’t figure this out.

    Any suggestions?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter keress

    (@keress)

    I’m looking at my sidebar.php

    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    <?php wp_list_bookmarks(); ?>

    • <h2>Meta</h2>
      <?php wp_register(); ?>

    • <?php wp_loginout(); ?>
    • <?php wp_meta(); ?>

    <?php } ?>

    <?php endif; ?>

    which is saying that the Meta links should appear on the first page, but the opposite is happening. The meta links are showing on every other page BUT the first page. Anybody have a clue what could be happening here?

    Thread Starter keress

    (@keress)

    I guess for some reason it doesn’t consider that a first page, but a category page, I added is_category to that statement and it works now. It would be more concise to just take the whole ‘if’ business out, but when I tried to I screwed up the syntax, so I went this simpler route.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Meta links not on home page’ is closed to new replies.