美好的一天我是WordPress的新手,所以我正在开发一个项目,所以即时通讯使用插件组合在网站上制作视频组合但是我想在同一页面添加一个视频播放器,这样用户就不会到了其他页面只是为了观看视频我使用响应可过滤的投资组合,但它不受Vimeo视频支持我现在必须高级使用画廊视频和播放器插件它运作良好但问题是没有按组分类视频如何将此短代码参数[sp_html5video category=”category_ID”]
添加到按钮,以便我可以通过单击按钮按组对其进行排序
答案 0 :(得分:0)
我只是编辑视频和图库插件然后在过滤器模板
function html5video_setup_post_types() {
$html5video_labels = apply_filters( 'sp_html5video_labels', array(
'name' => 'Video Gallery',
'singular_name' => 'Video Gallery',
'add_new' => __('Add New', 'html5-videogallery-plus-player'),
'add_new_item' => __('Add New Video', 'html5-videogallery-plus-player'),
'edit_item' => __('Edit Video', 'html5-videogallery-plus-player'),
'new_item' => __('New Video', 'html5-videogallery-plus-player'),
'all_items' => __('All Videos', 'html5-videogallery-plus-player'),
'view_item' => __('View Video Gallery', 'html5-videogallery-plus-player'),
'search_items' => __('Search Video Gallery', 'html5-videogallery-plus-player'),
'not_found' => __('No Videos Gallery found', 'html5-videogallery-plus-player'),
'not_found_in_trash' => __('No Videos Gallery found in Trash', 'html5-videogallery-plus-player'),
'parent_item_colon' => '',
'menu_name' => __('Video Gallery', 'html5-videogallery-plus-player'),
'exclude_from_search' => true
) );