menzma
Forum Replies Created
-
Fixed:
Have to take out the old shortcode way of passing parameters. And use Ian’s new way of [bgpm categories=”…” center=”..” etc]
nevermind… i forgot to capitolize my $_GET
….
Ok i’m trying to us $_get to get the parameter in the address bar. And this is what I have.
sorry i’m a bit of php noob here.
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
I’ve tried a lot of things…. how do i get that $test2 to pull the parameter value in the address.
Now, i’m going to use ESP and assume you are going to tell me pass $test2 as a setBGMPMapShortcodeArguments() parameter.
in my main index page would I pass…
<?php
echo do_shortcode( ‘[bgmp-map]’ );
setBGMPMapShortcodeArguments($options, $test2);
?>
? and edit the function accordingly? or am i way off?