Appending links with variables, in the calendar and elsewhere
-
I have a site that has it’s own content management system.
I am using data in that system to build user pages.The design calls for the blog to be inline in one of these pages for each user. I am thinking I would use the author var to display that users posts on each of their respective pages.
So an example of an initial link to a user blog is https://www.mysite.com/blog/?author=1&user=2 where the author pulls from the wordpress DB and the user from my CMS, but the links that flow within that off the titles and the add comment and to other posts I need to append the &user=2 so that the correct information for that user appears on the page.
Now I have had success using php to append that to the links I have access to in the template pages but the design includes taking advantage of the get_calendar() aspect of wordpress.
I am wondering if it possible to get at the links generated in that so I can append the user id to maintain the CMS aspect of the site through those links.
Also I am not the most experienced php programmer, so go easy on me.
Thanks for any help you can offer.
- The topic ‘Appending links with variables, in the calendar and elsewhere’ is closed to new replies.