Support » Plugin: Flowplayer HTML5 for WordPress » hierarchical

  • Resolved KrissieV

    (@krissiev)


    Would love to have the option of making the videos hierarchical.

    1) so that they would work with the “Simple Page Ordering” plugin which allows you to drag post types to rearrange order.

    2) because I’m building a site that offers the same video in multiple languages, and it would be an easy way to associate them with each other. Making the English video the parent and other languages children.

    I’ve adjusted it manually for myself, but I’ll have to go in and do that anytime I update the plugin. Would love to just have a checkbox in settings that would allow someone to turn that on/off.

    http://wordpress.org/plugins/flowplayer5/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ulrich

    (@grapplerulrich)

    I will include a filter in version 1.2.0 so that you can control it without editing the settings.

    Thank you so much!

    Plugin Author Ulrich

    (@grapplerulrich)

    No problem 🙂

    This is the code that you would use once version 1.3.0 is released.

    /**
     * Change post type arg to support hierarchical format
     */
    function fp5_post_type_arg_hierarchical( $args ) {
    	$args['supports']     = array( 'title', 'page-attributes' );
    	$args['hierarchical'] = true;
    	return $args;
    }
    add_filter( 'fp5_post_type_args', 'fp5_post_type_arg_hierarchical' );

    How about leaving a review?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘hierarchical’ is closed to new replies.