WordPress.org

Forums

Video Embed & Thumbnail Generator
[resolved] Video Embed & Thumbnail Generator for custom field (5 posts)

  1. Zied Ellouze
    Member
    Posted 2 years ago #

    Hello
    is that it is possible to use the plugin in a custom field
    I explain I need utilser player for custom fields
    thank you

    http://wordpress.org/extend/plugins/video-embed-thumbnail-generator/

  2. Kyle Gilman
    Member
    Plugin Author

    Posted 2 years ago #

    I'm not sure what you mean. Can you be very specific about your plans? Custom fields can do just about anything depending on what your theme does with them.

  3. Zied Ellouze
    Member
    Posted 2 years ago #

    je veux inserer dans une zone d'un champs personnalisé le code

    [FMP poster="http://monsite.com/wp-content/uploads/2013/01/video.jpg" width="640" height="360"]http://monsite.com/wp-content/uploads/2013/01/video.mp4[/FMP]

    and when I call now the custom field in my page it is displayed as it is without actuelllemnt reader
    thank you very much

  4. Kyle Gilman
    Member
    Plugin Author

    Posted 2 years ago #

    Normally shortcodes only execute in the loop as part of the_content. You should be able to do some customization of your template to execute code similar to do_shortcode(get_post_meta($post_id, $custom_field, true)); this is not unique to my plugin so I would recommend looking into executing shortcodes in templates.

  5. Zied Ellouze
    Member
    Posted 2 years ago #

    it works with your code
    thank you very much

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Video Embed & Thumbnail Generator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic