Ok this is driving me up the wall. I hope someone can help.
I’m trying to fix a plugin and I need some help.
I have set up a page, let’s say it’s /mypage/
Now, I want to use a custom parameter in the URL in the plugin code used in that page. This means I want an URL like /mypage/marco to result in the plugin code to get access to a variable containing the ‘marco’.
I have searched the web like crazy and looked all over the sparse documentation about the internal URL rewriting mechanism but I just can’t seem to figure it out which is highly frustrating.
How do I make a variable, say $myvar available containing the earlier described ‘marco’ string on a page located at /mypage/ ?
Any insights are highly appreciated.
- The topic ‘using an extra parameter in an URL’ is closed to new replies.