Customs Fields syntax in Page of Posts template
-
I want my site to have two blogs, and it seems that the most efficient way of doing this will be to use Custom Fields to assign each post to one of the two blogs. So I’ve set up a Custom Field with the key ‘type’ and the values of either ‘blog’ or ‘work’. Now I want to make page templates to display the posts assigned each of these two values, as suggested at “Example Using Custom Fields“. I can’t work out which bits of the example code given at that link I need to replace with my own key and value names, though. Maybe I’m being dim, but could someone let me know?
While I’m here: do I need all the code on that page? it seems there’s a lot more than is in the standard page.php file in the TwentyTwelve theme.
- The topic ‘Customs Fields syntax in Page of Posts template’ is closed to new replies.