making a hosted blog for our affiliates, and need to grab their ID from a querystring. the programming is simple but i dont know what files in wordpress containt the code which goes through the posts in the db and prints them :@ anyone know where to look?
ever hacked wordpress to use a querystring?
Collapse
X
-
Don't know it bud. Not trying to crash your thread but if you are trying to get into RSS / blogs in a big way please contact me. Got something special I can offer today only.
ICQ: 286334516 -
Grab it from the URL in the header, then add that variable to the links in "the loop". You'll need to add the variable in any template that contains post links and any links in the sidebar or footer that lead to your site(s), including single post view, archive and category views.Originally posted by a1ka1inemaking a hosted blog for our affiliates, and need to grab their ID from a querystring. the programming is simple but i dont know what files in wordpress containt the code which goes through the posts in the db and prints them :@ anyone know where to look?Comment
-
Forgot to mention - you'll need to cookie it or pass it from page to page in the internal links..Originally posted by fusionxGrab it from the URL in the header, then add that variable to the links in "the loop". You'll need to add the variable in any template that contains post links and any links in the sidebar or footer that lead to your site(s), including single post view, archive and category views.Comment
-
Even easier, open up the header.php in your current template.
Either include a file that tracks your codes, or dump the code there.
Basically, to carry the codes across all pages w/o leaks, you'll need to use sessions.
If you want a prewritten solution, give me a yell.Comment



Comment