how to select pages with specific page template?
-
For example i have a page gallery and other portfolio, these use a page template template-gallery.php, i want to get all the permalinks of pages than use these template, in my example i get the permalink of gallery and portfiolio, i know is posible if your are in the page using http://codex.wordpress.org/Function_Reference/is_page_template but how can is get it from a function in functions.php or other file.
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘how to select pages with specific page template?’ is closed to new replies.