[Resolved] How to output 3.6 post format UI fields to where I want?
I’ve done tumblelog-like themes earlier using custom fields for everything from quote source to link URLs and I was really happy when I saw the news about post formats UI coming in 3.6.
I’ve been trying to build a theme using the latest alpha version, but I don’t understand if doing what I did with custom fields manually (or with Advanced Custom Fields or Post Formats Admin UI) will be possible with the post formats feature in 3.6. It seems data comes preformated, gets injected into HTML elements and that I can only use
the_contentto output them to the post. And as it seems right now (I know this feature isn’t stable yet), the link post type doesn’t even get a CSS class for the <p> surrounding the link itself. What if I’d like to put the link in an <h2> instead of the <p>, like I could with custom fields and
get_post_meta, is it possible?
Also, I ponder why a format like
quotehas an option for “Title” as it is superfluous. That will force most people to manually put in some bogus data in the title field and seems like a makeshift solution. I see WordPress needs a title, but it seems to me that it would be better to handle this like Post Formats Admin UI does, ie the title for the post is set using the first 50 characters of the content automatically.
- The topic ‘[Resolved] How to output 3.6 post format UI fields to where I want?’ is closed to new replies.