How to pass custom URL arguments
I am working in WordPress, and I want to be able to include certain arguments in the URL to interact with the PHP code in the theme templates. I thought I was going crazy, because simple php if statments wouldn’t work at all. I then tried loading the code I was trying to execute directly, and it worked. WordPress was filtering arguments that it didn’t recognize (for security, obviously).
I was wondering how I’d overcome that so that I can pass my own custom arguments through WordPress to code in the theme. Any help would be greatly appreciated.
- The topic ‘How to pass custom URL arguments’ is closed to new replies.