Viewing 2 posts - 1 through 2 (of 2 total)
    • Author
      Posts
    •  dashaluna

      Hi,

      I was wondering if it’s possible to have a shortcode with a content. For example,

      [shortcode] Here is some content of the shortcode [/shortcode]

      Quite often shortcodes’ attributes are not enough and it’s required to have shortcodes with content within them.

      Thanks,

      Dasha

       Aakash Chakravarthy 
      Keymaster

      Just enter %content% as Shortcode content and in the post use the shortcode,

      Code:

      [sc:myshortcode content=”Here is some content of the shortcode”]

      Thats all !!

    Viewing 2 posts - 1 through 2 (of 2 total)
    • The topic ‘Shortcode with content’ is closed to new replies.