Passing and retrieving query vars in wordpress

Posted by Prem Tiwari | Updated on

I’m almost sure that author is built-in, so use something like author_more. You will need to add that var to query_vars first.

Example:

Then on your more-author-posts.php template call it like this:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers