How to display a WordPress page in PHP?
-
How do I display an already existing WordPress page in PHP? I google’d for ages and read loads of documents online. It felt like being in a snowstorm.
If I know the page ID can I just display a page?
I want to be able to display a page that contains search results from a query. So this PHP file will be the one pointed to by ‘action’ in the <form>. I then just need to display the WordPress page that contains the shortcode which deals with the form being posted.
The shortcode function will display the search results. That bit is easy. I just don’t know how to display a page in WordPress.
Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to display a WordPress page in PHP?’ is closed to new replies.