WordPress.org

Ready to get started?Download WordPress

Forums

Links shortcode
[resolved] [link_category] returns empty (3 posts)

  1. fortmutj
    Member
    Posted 2 years ago #

    I am using this template with the Links Shortcode Plugin:

    <li class="link [link_category]">
    [optional <img src="[link_image]" alt="[link_name]" />||]
    <a class="link-title" href="[link_url]" target="_blank">[link_name]</a>
    </li>

    However [link_category] does not display anything when I run the shortcode on a page.

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

  2. fortmutj
    Member
    Posted 2 years ago #

    The shortcode is being called with the category_name option set:

    [links category_name="books"]

  3. Maarten Swemmer
    Member
    Plugin Author

    Posted 2 years ago #

    I have tried to solve this issue, but it seems to have to do with the way Links and retrieving Links has been implemented in WordPress. Also behaviour would be unpredictable in case links have/belong to multiple categories. For that reason I have for now officially removed from the plugin (per version 1.3).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic