How to create custom widgets in wordpress
Include the following code file to your current themes functions.php file Here is the code for sidebar register.
When an embedded YouTube video is done playing, the YouTube player normally shows several related videos, also known as “suggested videos” or “more videos”. However, there are reasons a website owner might want to hide these – due to branding preferences or simply wanting a cleaner user experience.
Disable related videos on YouTube embeds by simply adding ?rel=0 to the iframe’s src like this:
And also you have to use embed keyword in url when you have url with watch keyword like this https://www.youtube.com/watch?v=EngW7tLk6R8, you have to use embed keyowrd instead of watch keyword so the rel=0 will worked and more videos will be hide. So your video url will be made like this https://www.youtube.com/embed/EngW7tLk6R8?rel=0.
PREVIOUS PAGE
How to Add Custom Product Fields in WooCommerce
Leave a Reply