WordPress.org

Ready to get started?Download WordPress

Forums

Run shortcode run from inside a shortcode? (5 posts)

  1. melvinram
    Member
    Posted 4 years ago #

    Is it possible to have a shortcode run from inside a shortcode?

    Some more details: I've got 2 shortcodes: column and widget_area. In usage, they look like this [column width="50%"] [widget_area name="Sidebar 1"] [/column]

    But that way it doesn't run the widget_area shortcode.

  2. melvinram
    Member
    Posted 4 years ago #

    Nevermind, I was able to get my thing to work by adding do_shortcode($content) into the the column plugin.

  3. saintdo
    Member
    Posted 3 years ago #

    Thanks for this =)

  4. CricketLaChica
    Member
    Posted 3 years ago #

    Yes, thank you! Helped me as well.

  5. Ameisenman
    Member
    Posted 3 years ago #

    Yes, thanx for this solution. It works great!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags