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

  1. fortmutj
    Posted 4 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>

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


  2. fortmutj
    Posted 4 years ago #

    The shortcode is being called with the category_name option set:

    [links category_name="books"]

  3. Maarten Swemmer
    Plugin Author

    Posted 4 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

  • Links shortcode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic