[theme-reviewers] Per-Post Layout Options

Mario Peshev 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,

Mario Peshev
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
> Themes?
> 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.
> Thoughts?
> Thanks in advance,
> Chip
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110808/3ef9fcd3/attachment.htm>

More information about the theme-reviewers mailing list