Support » Fixing WordPress » Display footer links only on certain pages/posts

  • Resolved kiduka

    (@kiduka)


    Hi

    I’m not much of a technical guy but I could do with some step by step instruction to resolve my problem.

    I have a link on the footer pointing to another website, and the thing with the footer is that, that link is displayed throughout the whole site. I just want to link to that other site from my home page without it becoming a site-wide link.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • stvwlf

    (@stvwlf)

    in footer.php

    <?php if (is_front_page()) { ?>
    ============== (link goes here)
    <?php } ?>

    kiduka

    (@kiduka)

    Thank you stvwlf, it worked like a charm 😀

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display footer links only on certain pages/posts’ is closed to new replies.