WordPress.org

Support

Support » Plugins and Hacks » Related Links » How do I show the links for "pages" and "custom URLs"?

How do I show the links for "pages" and "custom URLs"?

  • How would I go about modifying the below code to include the custom links the user can add via the interface?

    <?php $related_links = get_related_links('page'); ?>
    <ul>
        <?php foreach ($related_links as $link): ?>
            <li><a href="<?php echo $link['url']; ?>"><?php echo $link['type']; ?>: <?php echo $link['title']; ?></a></li>
        <?php endforeach; ?>
    </ul>

    http://wordpress.org/extend/plugins/related-links/

  • The topic ‘How do I show the links for "pages" and "custom URLs"?’ is closed to new replies.
Skip to toolbar