WordPress.org

Forums

PB oEmbed HTML5 Audio - with Cache Support
[resolved] Meta Box on Custom Post Types (3 posts)

  1. gaswirth
    Member
    Posted 1 year ago #

    Hi there,

    Love your plugin!!

    I was wondering if there was a way to add the meta box to custom post type edit screens, not just 'post' and 'page' edit screens. I know I can do this by editing the plugin file itself and adding the following:

    add_meta_box(
    'pbwp_shortcode_metabox',
    __('HTML5 Audio - Generator', 'PBoEmbedHTML5Audio'),
    array(&$this, 'pbwp_shortcode_metabox'),
    'music-library'
    );

    But, of course, I don't want to edit the plugin file itself!

    Any ideas?

    Thank you!

    http://wordpress.org/plugins/pb-oembed-html5-audio-with-cache-support/

  2. PascalBajorat
    Member
    Plugin Author

    Posted 1 year ago #

    Hi gaswirth,

    yes you're right, that's a problem. I will add Post-Type Support with the next update.

    Pascal

  3. kittyj
    Member
    Posted 1 year ago #

    I too would like to use with custom post types.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PB oEmbed HTML5 Audio - with Cache Support
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic