You can grab embed codes from hosted video sites. 'desc' => _('Vimeo video ID','suarezthemelocal'), 'desc' => _('Youtube video ID','suarezthemelocal'), Aether content hider plugin allows you to show or hide content by user device type. That’s called Conditional Logic, I recommend you to use Meta Box Conditional Logic, after install that plugin to your site, you can update your array like this: array( You can grab embed codes from hosted video sites.','suarezthemelocal') 'name' => _('Video Embed Code','suarezthemelocal'), Allows you to embed content within your blog post via WordPress ShortCode API and toggling the visibility of the content via a link. ![]() 'desc' => _('Vimeo video ID','suarezthemelocal') 'name' => _('Vimeo Video ID','suarezthemelocal'), ![]() 'desc' => _('Youtube video ID','suarezthemelocal') WP ShowHide is a great plugin, Started by: thetravelgal 2 1 2 years, 2 months ago Lester Chan great idea but doesn’t work Started by: pentagramwookie 1 0 2 years, 5 months ago pentagramwookie Nice plugin Started by: Doeye Hof 1 0 2 years, 6 months ago Doeye Hof Really Nice Job. 'name' => _('Youtube Video ID','suarezthemelocal'), 'placeholder' => _( 'Select an Item', 'suarezthemelocal' ), 'html5' => _( 'HTML5 Video', 'suarezthemelocal' ), 'host' => _( 'Video Hosts', 'suarezthemelocal' ), But just apply the the style’s as follows to your theme. Since I am using a custom child theme on my site, and have Hybrid theme as my parent, the widgets or sidebar section is different than may be in your theme. Array of 'value' => 'Label' pairs for select box As seen in the current theme, I am using jQuery to animate the show/hide or as known as the css style display: none. WP ShowHide is a great plugin, thetravelgal 23 Tháng Mi Hai, 2020 1 reply. Additionally I would recommend to add an option to show hide button on the bottom of displayed text. Note: If you couldn\'t find host of your video file in the dropdown list, you can paste the embed code of file in the "Video Embed Code" box.', 'rwmb' ), Allows you to embed content within your blog post via WordPress ShortCode API and toggling the visibility of the content via a link. 'desc' => _( 'Select host of your video file. When I click on show more it bumps me all the way up to the top of the page instead of opening the text below. ![]() 'name' => _( 'Video File Host', 'suarezthemelocal' ), I LOVE this plugin, but when updating to WordPress 5.6 and php 7.4 it no longer works properly. On select with value hosts 2 fields (Youtube and Vimeo) should appear, and if value is html5 the remain (Embed) should appear. I have a select list with values hosts and html5 and 3 custom fields.
0 Comments
Leave a Reply. |