• Resolved edtorrey

    (@edtorrey)


    Shortcodes are not supported in the long description. It may be a simple code update to do so.

    We use WP-Members plugin to control content access, which uses Shortcodes entered inline in content areas. When using the Shortcode in Links Library long description, the acl Shortcodes are not executed.

    Here is a description from Rocketgeek Support (plugin author:

    The only place that WordPress actually parses shortcodes by default is in the main content area (which is displayed with the function the_content). While shortcodes can be executed most anywhere else, it does have to be configured to parse shortcodes.

    There is a post on the site that has a little bit of info on this:
    http://rocketgeek.com/shortcodes/adding-shortcodes-to-other-locations/

    That won’t be specific to this situation, but gives you an idea that if there is a filter on this plugin’s link content (or whatever it is doing), if the do_shortcode function could be hooked to it then those would parse.

    https://wordpress.org/plugins/link-library/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter edtorrey

    (@edtorrey)

    The Rocketgeek author’s article, link shown above, shows an example of the filter method for attaching WP-Members content authorization filtering. In the filter code example below the parameter is widget_text.

    The syntax is
    add_filter( 'widget_text', 'do_shortcode' );

    What is the name of the content area used by Link Library’s Large Description?

    Thread Starter edtorrey

    (@edtorrey)

    Hello, are you there?

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Sorry for lack of response. I recently came back from a 2-week trip to Asia and have been re-adjusting to the time difference ever since, which makes my evenings much shorter than usual. I should be able to get to this tomorrow night.

    Thread Starter edtorrey

    (@edtorrey)

    Welcome back Yannick. Completely understand the effects of such a wide time zone difference. It is important to get your recovery time.

    I hope that the feedback from our friend and co-plugin developer at Rocketgeek will be helpful.

    I am not a PHP developer myself. But am brave enough to try and cautious enough to pose little risk to my production sites. So, if you provide some self-help oriented suggestion, I am game to give it a go…

    We are also hopeful for your next generation of the Links plugin adopting the newest custom post-type model.

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    I have made the necessary update to Link Library. Please upgrade and see if the shortcodes now resolve correctly in your large descriptions.

    Please consider donating to support this plugin’s development.

    Thread Starter edtorrey

    (@edtorrey)

    Shortcodes now work perfectly for me and the WP-Members plugin cited above.

    Thank you VERY MUCH for the quick response and added functionality.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add Shortcode support in long description’ is closed to new replies.