[theme-reviewers] Per-Post Layout Options
mario at peshev.net
Mon Aug 8 17:31:41 UTC 2011
We have been building a theme framework for the past 8 months and the only
solution we came up with was meta fields below Add Page/Add Post editors. It
gives highest level of flexibility without the necessity to create
additional tables or serialize data anywhere else.
On your concern for additional DB values - you will probably define these
options in a serializable array to be populated with one insert only which
wouldn't affect the DB load a lot.
All the best,
freelance software developer/trainer
On Mon, Aug 8, 2011 at 8:27 PM, Chip Bennett <chip at chipbennett.net> wrote:
> Good afternoon reviewers and developers!
> I want to get your input/opinions on something. The next version of
> Oenology will incorporate layout options:
> - Static Page default layout, via Theme Option
> - Per-Page layouts, via Page Templates
> - Single Blog Post default layout, via Theme Option
> - Blog Posts Index layout, via Theme Option
> I am considering adding post meta to allow for per-post layout selection.
> It is simple enough to implement; however, here's my question: would this
> cross the content/presentation line? Or expressed differently: would it be
> inappropriate to add Theme-specific custom post meta in this manner, given
> that such metadata would be mostly useless to the user after switching
> I'm leaning toward the opinion that it would be appropriate, but I am
> concerned about the scalability of Themes filling up the post meta table
> with data that are only useful when using a given Theme.
> Thanks in advance,
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the theme-reviewers