[wp-hackers] Just a basic "how can this be accomplished?" question.

Jeremy Clarke jer at simianuprising.com
Tue Feb 7 14:39:55 UTC 2012


As an alternate solution depending on the situation, you could have
considered using a postmeta field in the post editor to store a flag that
activates the feature, then in the template check if is_page() and if the
postmeta flag is set for the current page. That would have the benefit that
any author could activate it for a page and obviously also that you could
have it for multiple pages without complicating the interface.

Glad it worked out with the option, that is also a very simple solution.

-- 
Jeremy Clarke • jeremyclarke.org
Code and Design • globalvoicesonline.org


More information about the wp-hackers mailing list