2 parameters not working
-
I am using your plugin on a site and it’s working wonderfully well.
when I create a simple test item with two parameters, I cannot see the second one.
Here’s my little TestTwoVars
<?php echo $_parameters["var1"]; echo $_parameters["var2"]; ?>
When I call it inside a page, I call it like this. (I tried to pattern it on your suggestion for 1.1 in
http://wordpress.org/plugins/php-code-for-posts/)I go into Text, not Visual portion of editor and type:
BEFORE 2-var test
[php snippet=4 param="var1=val1&var2=val2"]
AFTER 2-var testWhen I view the page, I see my string ABOVE the item and the ending string BELOW the item, but
val2 doesn’t show. Any ideas?BEFORE 2-var test
val1
AFTER 2-var testThe Back ticks are placed for this message. Not part of the code :}
- The topic ‘2 parameters not working’ is closed to new replies.