WordPress.org

Ready to get started?Download WordPress

Forums

OGraphr for WordPress
[resolved] Media embeds & custom post types (13 posts)

  1. timbearcub
    Member
    Posted 1 year ago #

    Hi firstly I have to say I love OGraphr - at first I didn't because of this problem but then I realised what the issue was then was very happy my video posts now have the proper thumbnail!

    The issue is that my theme (Shaken Grid) like some others has a custom post type, a separate 'Media URL' field which creates the auto embed for you (this was before WP included them) and appears above the post title like with Featured Images.

    This means if you post the video there, no thumbnails are seen by OGraphr at all. Only way around this is to also post the YouTube/video URL into the main post, save it, then delete it, which will be a pain if I forget.

    Is there a way that OGraphr could check a custom field also?

    http://wordpress.org/extend/plugins/meta-ographr/

  2. idleberg
    Member
    Plugin Author

    Posted 1 year ago #

    so do you use this custom field for video urls only or also for images? this custom field, is it created by your theme or do you need an extra plugin for that?

    should be quick to implement and others might need it as well. just waiting for your reply and i'll get going :)

  3. idleberg
    Member
    Plugin Author

    Posted 1 year ago #

    hmm, do you use the premium version of shaken grid? i can't seem to find such a custom field in the free version.

  4. timbearcub
    Member
    Posted 1 year ago #

    I thought it was in all versions but might be just the Pro version...it's called 'Video URL' but you can put in all the usual oEmbed things like YouTube, Vimeo, Soundcloud etc. It appears in the post page usually just under the post.

    I can send you the theme to test it?

    Tim

  5. timbearcub
    Member
    Posted 1 year ago #

    And it's integral to the theme, not a plugin.

  6. timbearcub
    Member
    Posted 1 year ago #

    And thanks for responding! Would be great to have this...

  7. idleberg
    Member
    Plugin Author

    Posted 1 year ago #

    maybe you could just send me a screenshot with an example of that custom field

  8. timbearcub
    Member
    Posted 1 year ago #

    OK here you go - the field and also the custom field - it creates a field called soy_vid_url - the example I'd already also pasted the URL into the content box, hence the oGraphr fields.

    http://www.mutantpop.net/screenshot1.png

    http://www.mutantpop.net/screenshot2.png

    Hope this helps!

  9. idleberg
    Member
    Plugin Author

    Posted 1 year ago #

    ok tim, since 0.8 is going to be rewritten in large portions, i made you a custom quick fix that should work for your needs.

    http://db.tt/7B8Dvg3K

    let me know if there are any problems. the next major release will get support for custom fields!

  10. timbearcub
    Member
    Posted 1 year ago #

    Thank you! That's great - much appreciated.

  11. timbearcub
    Member
    Posted 1 year ago #

    That works perfectly - thank you! Will send anyone I know who uses Shaken & Stirred (a few) your way, because this is a great plugin and that's great service :-D

  12. idleberg
    Member
    Plugin Author

    Posted 1 year ago #

    btw, you will notice that the new version (0.7.9) no longer has those adjustments i made. however, i added those changes to the custom built i posted before - just download that one until i apply a permanent solution!

  13. timbearcub
    Member
    Posted 1 year ago #

    Thanks! I will do...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic