• Resolved bogh

    (@bogh)


    Hi,

    I have recently made a theme with lots of shortcodes, that I can’t use on some area, like in a slideshow.
    So, I was wondering if is possible to make my shortcodes work everywhere, or at least how I can make them work in
    <li> [here] </li>

    Please let me know if I should provide other details.
    Thanks a lot.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter bogh

    (@bogh)

    Thanks for your reply.
    Actually everyone pointed me on that direction, but I don’t really know how to use it, so I was looking for a more specific answer.

    I need mostly to make them be supported in the textareas from an options panel that I am using in my theme.

    Thread Starter bogh

    (@bogh)

    I have read that article a while ago, but I don’t think I can find my answer in there. And I think you are trying to point me to:
    add_filter('widget_text', 'do_shortcode');

    Basically something like this is what I need, but not for the text widget, because they are allowed there already. Mostly I need to allow the shortcodes in that textarea.

    Or maybe something like that should do it:
    echo do_shortcode(__(stripslashes(thematic_footertext($thm_footertext)), 'thematic'));
    *Note: that is used to allow shortcodes just in the footer’s text, so it allows me to add shortcodes trogh the options panel’s textarea that belongs to that footer area.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Allow Shortcodes Everywhere’ is closed to new replies.