• Hi!

    EXCELLENT plugin that I’m using a lot as a shortcode. THANK YOU!!

    I’m trying now to pass a variable and it’s not working. For example, in the Post I would write:

    [NameOfShortcode Variable=”test”]/URL[/NameOfShortcode]

    And in your plugin admin I would call the snippet “NameOfShortcode” (Obviously picking a different name), Put “Variable” in the list of variables (with a better name), and have a line something like:

    {Variable}

    So in the above case I would want the URL to pass (Which works fine) and printed to be the word “test” – which is not working. I’ve tried combinations with and without quotes, brackets, etc and cant’ get it to work. What am I doing wrong?

    THANKS!

    http://wordpress.org/plugins/post-snippets/

  • The topic ‘Passing Variables’ is closed to new replies.