WordPress
October 15, 2021

How to Hide Related Videos in YouTube Embeds

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.

Related Post


WordPress Forgot Password Form Without Plugin

Are you need simple Forgot Password form without plugin for your WordPress website? Yes, Then i have created [wc_forgot_pwd_form] shortcode with quick simple code. So you can put Forgot Password form anywhere like in Pages, Posts and Widget etc… Therefore you just need to put [wc_forgot_pwd_form] shortcode where you need login form. So you need […]

Set time Zone by Country

Include the following code file to your current themes functions.php file. Users can see all time by their country timezone wise.

Enable Right Sidebar in WordPress all Post for Astra theme

Easy way to enable right sidebar in all wordpress post for astra theme add following code in your current themes function.php file.

How to Include JavaScript & CSS in WordPress

When we are customizing any wordpress theme using child theme at some time we need to enqueue any external CSS or JavaScript in site. In this case we can best way to include css and JavaScript in functions.php file. We can enqueue the JavaScript or CSS using wp_enqueue_script() or wp_enqueue_style() functions. CSS You can enqueue […]

Add ACF Options Page in WordPress

To create an options page, open up your current themes functions.php file and add the following code: Without passing any parameters to this function, the default options page will be added to your wp-admin sidebar.

WordPress Login Form Without Plugin

Are you need simple login form without plugin for your WordPress website? Yes, Then i have created [wc_login_form] shortcode with quick simple code. So you can put login form anywhere like in Pages, Posts and Widget etc… Therefore you just need to put [wc_login_form] shortcode where you need login form. So you need to follow […]


Leave a Reply

Your email address will not be published. Required fields are marked *