• This was a great idea becasue if a Theme have to support post formats is not enough to use only the_content becasue sometimes the theme need to use the Video, Gallery (images only no markup), Image, Link, etc. content independent of the rest of the content.

    Is there any good way to use the class oEmbed in an easy way ?

    If not is need to use strip the_content content for each type con post format, while using the Core oEmbed class bring also the cache system for the embeds.

    THanx for any guide or help ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The Post Types?

    They’re still there, if that’s what you’re talking about. Otherwise I’m not quite sure what you’re asking here.

    Thread Starter Pancho Perez

    (@lonchbox)

    Post Formats vs Post Types is another disscution ??

    What I mean is why was removed this from the core: (via: this snippet )

    add_theme_support('structured-post-formats', array('link', 'audio'));

    Found this function option while searching for an easy way to grab the “post format content” from the editor, ie: the youtube video embed, the image, the link. With the idea to make a Theme post format friendly.

    Looking for bether info found this post form kaspars.net.

    Anyhow, I can not get how to do a core friendly and simple post format theme. Thi is more a Question to the core team, Why to offer post formats without a solution for frontend display?.

    After some testings, I guess my self, Is there a way to to use the oEmbed class from core to grab the post format content? the reason is because that class have a cache built in, that makes the theme faster. So don′t have to reainvent something already exists in the core.

    Sorry for my english, and hope I made my point more clear.

    Merry Xmas and Happey New year @ipstenu, thanx for answering so fast ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Ohhh post formats.

    That wasn’t removed from core, that was removed from a specific THEME. Different thing.

    Thread Starter Pancho Perez

    (@lonchbox)

    Mmmm.. I think not, of course post formats works since long time ago, but what I′m looking is if this particular function works:
    <?php the_post_format_video(); ?>
    I see this in this example

    Because I can not make that function works I was looking a way to use the oEmbed class from core, Do yo know if this is possible ?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Post Formats UI is exiting core, will live as a plugin

    It’s been over a year since we started that, I forgot…

    Looks like those functions are gone by design. I don;t know if there will be a plugin for it, but that code’s been gone for a long time now.

    Thread Starter Pancho Perez

    (@lonchbox)

    Bad ?? this would make theme develop more easy to be post formats friendly.

    Do you have any recomendation of how to grab the post format content, especially videos, because for link, image and gallery I found a solution.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Please Recover "structured-post-formats"’ is closed to new replies.