Viewing 3 reply threads
  • Author
    Posts
    • #5623
      ccjeagle
      Member

      Hi,

      May I know if I can pass a parameter in shortcode? Running 0.9.9.7 and the shortcode functionality is really easy to use. Looking forward to the documents.

      For example, [myshortcode id=1], and under parts/shortcodes/myshortcode.php can get the $id value.

      Thanks much!

    • #5647
      Steve
      Keymaster

      You should just be able to use $id in the shortcode output: echo $id

    • #5649
      ccjeagle
      Member

      @Steve- Obviously it is!

      Thanks much. This is really powerful.

    • #5650
      Steve
      Keymaster

      Great! Closing ticket

Viewing 3 reply threads
  • The topic ‘0.9.9 Shortcode- how to pass parameter?’ is closed to new replies.