I would like to use a single template for multiple pages. All of those pages will have the same set of custom fields but the fields will have unique values on each of the pages. Right now, the template, which is so far only being used for one page, has this code:
<?php $my_query = new WP_Query(‘page_id=6’);
How can I get it to discover the current page ID?
- The topic ‘Finding multiple page ID’s within Template’ is closed to new replies.