WordPress.org

Ready to get started?Download WordPress

Forums

Links shortcode
[resolved] Shortcode for all (2 posts)

  1. willhearne
    Member
    Posted 2 years ago #

    Is there a specific shortcode to simply list all links?

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

  2. Maarten Swemmer
    Member
    Plugin Author

    Posted 2 years ago #

    To simply list the links with a bullet in front of each link, use the following main template:

    <li class="link [link_category]">
    <a class="link-title" href="[link_url]" target="_blank">[link_name]</a>
    </li>

    Use the following 'before' template:
    <ul>
    and the following 'after':
    </ul>

    Without bullets, just use the following as the main template:
    <a class="link-title" href="[link_url]" target="_blank">[link_name]</a><br />

    And then in the post where you want to show the links use the shortcode without further customization: [links]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic