passing URL query as shortcode attributes
-
Hi there
No doubt a very naïve question, so please forgive me in advance, I cannot find an answer elsewhere.
I would like to take URL query data from the link that opens the map page and use it to specify the placemarker, location and zoom to open the map with.
eg website.com/map/?pmark=100&pcentre=London&pzoom=16
Do I need to re-write your bgmp-map shortcode in order to do this? In order to read in the arguments in php? If so could you give me a quick hint as to where I should start?
Or is there a simpler method I am unaware of?
Much gratitude for any, possible incredibly basic, advice…!
The topic ‘passing URL query as shortcode attributes’ is closed to new replies.