Treehouse: Grow your CSS skills. Land your dream job.

WP managing static external links

  • # October 19, 2011 at 5:21 am


    I have a wordpress site which has links for picasa, linkedin, twitter etc cropping up all over the place. Is there a way (or a plugin) I can use to specify something like


    For multiple links, then in my page layouts just use something like

    < ?php echo link("LinkedIn"); ?>

    So if I change one it changes them all? Thanks

    # October 19, 2011 at 3:11 pm

    In the end I used a plugin called snippets, entered the urls next to each website name, and now in my templates I can just use:
    <a href="<?php snippets_value( ‘facebook’ ); ?>">facebook </a>


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.