Hi there
I am still fairly new to PHP, so I was wondering if someone could tell me how to rewrite the following english into php?
IF customfield with key “addcontent” value = 1, show posts from category = 1.
IF customfield with key “addcontent” value = 2, show posts from category = 2.
etc etc…
The reasoning is this – i have a static area and a dynamic area on each page, and i would like to be able to pull the latest posts from a certain category and display them only on the page that pertains to them. ie – Static area contains “all about bob”, dynamic area contains “bobs latest posts”.
This is possible with the blog_in_blog plugin, however i cant seem to make the plugin work with short codes.