[wp-trac] [WordPress Trac] #14746: Post Kinds/Styles/Types
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 31 15:49:41 UTC 2010
#14746: Post Kinds/Styles/Types
-------------------------+--------------------------------------------------
Reporter: ryan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Template | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Comment(by demetris):
Is there a specific scenario that gave rise to this idea?
One advantage I can see to it over what we can already do (by using
in_category() or has_tag(), for example) is that the “flag” will not be
exposed on the front-end.
The language problem is indeed an issue, but it is easy to overcome. For
example, I publish a theme and say:
If you want a post to be styled with the built-in Super Duper style, add
the tag ''style-super-duper'' to it, or enter below another tag slug or
tag name for the Super Duper style.
The main disadvantage I see to this trick is, as I said above, that the
''style-super-duper'' tag, while it is only for internal use and not
useful to visitors, it will be visible to visitors.
Then, again, styling can be applied based on existing taxonomy terms. For
example, applying a specific style to all posts of the Aside category or
to all the posts of the News category. Then, nothing redundant is exposed
to visitors.
I am not persuaded we need the extra complexity of an additional device
here. (That said, I vote for the post-meta-field alternative if the idea
is going to be implemented.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14746#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list