Support » Fixing WordPress » Passing a parameter to a page

  • Hi,

    I would like to pass a parameter to my page template.

    For example I create a page called ‘reviews’ and then filter these by type, based on a $_GET variable. E.g. (main reviews page) (show only dvd reviews)

    The only bit I’m stuck on is letter the second link reach the reviews page without returning a 404.

Viewing 1 replies (of 1 total)
  • As it has been 2 days I will try to explain further.

    At the moment WordPress has built in functionality to convert to something similar to Effectively ‘page’ is simply a variable and 2 is the value. I would like to have a variable called ‘type’ with a string value.

    When I try and use my own variables instead of the standard ‘page’ variable, I get a 404.

Viewing 1 replies (of 1 total)
  • The topic ‘Passing a parameter to a page’ is closed to new replies.