WP doesn’t pass my own URI parameters
I installed a WordPress blog as a news section for my company’s website. It works pretty fine, I really love it. I tuned it quite much to perfectly fit our corporate identity. However, our website has a feature to adapt font sizes at the push of a button. This is done by a URI parameter “fontsize” passing its value to the <body> tag where CSS font-size is set to $fontsize % (which is set to 93, if empty). As all size values are in em, it works perfectly – with all other pages of our website. Hope you can follow so far.
The problem now is that even though I included all stuff from the normal sites, and all my own PHP works, WP doesn’t process my URI parameters. I’m not the PHP superhero, but I can imagine two causes: First I could imagine that there is a definition for all common parameters while others are ignored, or second it could be that at a certain point all command line parameters are cleared or no further processed.
So my question is: Why does WP “eat” my variables? How can I help it? Cause I need to have this damn resizing function.
If desired, I could provide the entire template source code as download.
I hope this topic hasn’t been discussed yet; but if it was I’d also be thankful for a link. TIA for your support.
- The topic ‘WP doesn’t pass my own URI parameters’ is closed to new replies.