Adding pages to WP Template
I’d like to add another page inside the template, specifically one with a form and processing for a “email this to a friend” type link on each entry. I can handle the php etc for that, I’, just trying to figure out how to have my own php file that can use the wp get_header functions etc, whether i need to make wordpress call it, or whether i can emulate this myself, just some way to pull data from wordpress and use the right theme automatically. I was just going to write my own mysql queries, but that seemed rather redundant when wp can obviously already handle that.
So to summarize, I’d like to include my own page inside of the wp system, to use wp functions on it, from the template directory. Thanks in advance…
- The topic ‘Adding pages to WP Template’ is closed to new replies.