/ Published in: PHP

I got the answer to this question on WordPress Stack Exchange website:
http://wordpress.stackexchange.com/questions/6931/is-there-a-wordpress-function-that-i-can-use-to-retrieve-the-current-page-that-is
http://wordpress.stackexchange.com/questions/6931/is-there-a-wordpress-function-that-i-can-use-to-retrieve-the-current-page-that-is
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// call get_page_link($post->ID) // where $post-is a WordPress variable and needs to be global if called from inside a function. get_page_link($post->ID);
Comments
