Viewing 1 post (of 1 total)
    • Author
      Posts
    • JayCode
      Guest

      Hi Aakash,

      Your plugin is awesome. But I’m missing something. I’d like to ability to insert custom content in my shortcodes.

      The same issue is discussed in another thread:

      https://www.aakashweb.com/forum/viewtopic.php?f=8&t=2584

      However, for larger bits of text, passing the text along as a parameter is impractical.

      I’d like to be able to do this:

      Code:

      [sc name="mycode" param1="my param1 value" param2="my param2 value"]
      A whole bunch of text here.

      With newlines.

      [u]And html formatted text.[/u]
      [/sc]

      And then I’d need to be able to access the content as %%content%% or something similar.

      Any of the content’s prepending and appending whitespace would have to be trimmed.

      That way, you do not have to start your content on the same line as the shortcode. You would also not have to end the shortcode on the same line as your content.

      Can you include this functionality please?

      Sincerely,

      Jay

    Viewing 1 post (of 1 total)
    • The topic ‘Content In ShortCodes’ is closed to new replies.

    Subscribe for updates

    Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter