Custom static PHP page to use WordPress functions (but not loop)
-
Hi, i have a very simple forms page here:
http://www.unifiedmicrosystems.com/forms/uc.php
The above URL and page will not show any information from WordPress and doesnt even need a wp_loop function.
I would like to include this in the WordPress framework so that i can call in CSS styles for use on the page, for instance
return get_bloginfo(‘template_url’) . ‘/theme.css’;
However the above doesnt work becuase it doesnt know what get_bloginfo() is, and if i include WordPress inc files it gets very confusing very quickly.
What is the best way to go about this? Am i forced to make a custom page type for each page (would be a pain as the feedback form uses custom PHP) or is there a simple way to get access to the WordPress framework to use some of the simple functions?
Hope this makes sense!
Many thanks in advance
The topic ‘Custom static PHP page to use WordPress functions (but not loop)’ is closed to new replies.