send URL query variable to template? (2 posts)

  1. nearlythere
    Posted 10 years ago #

    about query variables: http://codex.wordpress.org/Glossary#Q

    is there a way to send query variables to a category template (or any template) with an URL query variable?

    i am using a query string to display a year's worth of posts in a specific category; but i want to be able to get to next/previous years. (and date archives are not working to limit to one category.)

  2. nearlythere
    Posted 10 years ago #

    in case anyone ELSE was wondering.

    i wanted to pass variables to a page: like this:


    but it was not displaying. i needed this code in the page template:

    $tellme= $_GET['tellme'];
    echo 'tellme ' . $tellme;

    i'd love to add this to the codex, but where?

Topic Closed

This topic has been closed to new replies.

About this Topic