Suppose that I create a page in the admin section (under 'Pages') and I have permalinks turned on and this pages slug is 'my-new-page', then is there a WordPress function that will work outside the (blog) Loop that I can use in that page's template on my theme that will retrieve that page's permalink?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
Hi @racl101: I think what you are after is to use |
|||||||||
|
|
yes first of all you would need to require wp-load.php in your custom area using this code:
And after that you can follow thsi tut to call any page : http://www.snilesh.com/resources/wordpress/wordpress-tips-and-tricks/wordpress-get-page-content-by-page-id/ |
|||
|
