2013-12-11

I have created a page 'page-view-item.php' (in template folder), and also created 'view-item' page in wordpress back-end - (the reason I have done it this way is because I can put all my code in 'page-view-item.php' and wordpress just reads it in.

The issue am having is - when I type url/view-item -- my page loads up, but I need to pass it an item ID - so I have a url that looks like this url/view-item/id

This keeps redirecting me to url/view-item

is there a way I can make this work.

PLEASE NOTE : I would like to do this without use of any plugins, and query-strings.

Thank you

Show more