treehouse : what would you like to learn today?
Web Design Web Development iOS Development

WP managing static external links

  • Hi!

    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

    Name:
    LinkedIn
    URL:
    http://linkedin.com/9483902

    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
  • 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>

    AWESOME. YAY.