getting many subject pages to talk to same template
-
I am building a website which includes pages on each country of the world, with 5-6 posts about topics such as geography, background history etc on each, plus links to sub-pages.
I would like a single ‘country main page’ template that recognises what country the page is and calls the appropriate posts.
if country-geography is posts category 9
cat_ID=9 and tag=malta, or tag=geography+malta should find the post required. I can put malta in a custom field on the page, but how can the php template convert the custom field variable into a category or tag to retrieve posts?
Thanks for any help!
John
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘getting many subject pages to talk to same template’ is closed to new replies.