No need for a plugin, You can simply use the Oembed class’s oembed_result
filter hook
like this:
function Oembed_youtube_no_title($html,$url,$args){
$url_string = parse_url($url, PHP_URL_QUERY);
parse_str($url_string, $id);
if (isset($id['v'])) {
return '<iframe width="'.$args['width'].'" height="'.$args['height'].'" src="http://www.youtube.com/embed/'.$id['v'].'?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe>';
}
return $html;
}
add_filter('oembed_result','Oembed_youtube_no_title',10,3);
so just paste this code in your theme’s functions.php file, setup the width and height at the settings >> media panel and you should be just fine with simply pasting the youtube’s video url in the post.
Related Posts:
- Rename Smart YouTube’s httpv back to http for all posts
- How to import my YouTube channel into WordPress?
- shortcode – multiple instances of same parameter name in one shortcode instance
- Can someone please help me find a solution to my youtube embed problems? [duplicate]
- similar of my posts in all over the internet sites and blogs [closed]
- How to implement a customizable free OpenID authentication?
- Difference between add_filter and apply_filters
- How Is Network Activate Different From Activate (by Implementation)?
- Creating Unique Post URLs for A/B Testing… Is this even possible?
- How to delete the Hello Dolly plugin automatically?
- Show Similar Post Titles ( Similar to Stack Exchange )
- How do I unlock a post programmatically?
- Automatically Creating Posts for Popular Forum Topics or Products [closed]
- Open external links in a new window
- How can I limit functionality in one version of a plugin?
- How to add usermeta to “Notice of Email Change” email message
- Post source link plugin – small modification
- How to add users roles dropdown in registration in wordpress
- How to list the Hooks and order of execution in current loading page? [duplicate]
- Detecting $_GET parameters from any page + Cookie
- Updating post meta for custom post types
- How to edit plugin’s html? [closed]
- Is there a plugin to display certain posts on certain pages? [closed]
- Can a plugin add to header/footer/body content?
- REST-API: extend media-endpoint
- How to make sexy bookmarks plugin work in WPMU
- register_post_status invisible but searchable
- I need some direction on how to have a sidebar based on meta rather than page
- Can’t create term for product attribute
- How can i add all videos from youtube playlist as post?
- WordPress and WebRTC?
- Getting Post details when post is published
- Output HTML only on individual post view
- Auto delete WordPress users according to time
- Plugin Customization Lost During Plugin Upgates
- Is it possible to use WordPress as an online portfolio for text content? What kind of theme would I look for?
- Custom Field Template seriously messed up in WP 3.1.1
- Plugin upgrade issue
- My plugin wants to update another plugin
- I have no idea “How change font for elements in widget?”
- How to save post change url youtube link?
- What’s the best way to implement AJAX in WordPress?
- Display encrypted content on my website
- Save custom attributes of product in woocommerce
- How do I make a child theme I made POST through a 3rd party plugin?
- Add category selection to custom post type (plugin)
- “No Add Button” for me to customize my WordPress with themes and pluggins
- Translation plugin to translate another plugins
- Contact Form 7 – Form name blank [closed]
- How do i get file_get_contents to work in wordpress
- Plugin Development – Functions or Hooks?
- Customizing Titles on the Fly with Code
- Text change in Advanced Customs Fields [closed]
- Loop in elementor custom widget not working
- Overriding an Array in a Plugin’s Class/Function from functions.php
- Historical customisations won’t go away [closed]
- .php file for woocommerce edit category? [closed]
- How can i summerize posts or news automatically in word press site?
- Edit page header on a custom plugin
- How to display an alert when deleting a plugin?
- How to convert a plugin into a function
- How to fix these PHP Warnings with the “Feed JSON” plug-in?
- unregister a sidebar widget
- How to disable Wp-PageNavi at the top of the page
- 404 errors when updating options in admin dashboard
- Display WordPress comments before the plugins?
- Mobilepress fails to translate short codes
- woocommerce remove coupon link does not work
- Getting infinite scrolling working on my custom template
- Display posts by alphabetical order
- Adding discount functionality to the cart
- Changing the CSS with a plugin
- Precheck fields when I add a new post
- How can I add a custom Javascript snippet to display my feedback in footer?
- My wordpress local urls is still displayed even moved to live
- Custom wp_list_tables redirect on specfic page
- Paid Membership Pro displaying a user name in PHP
- User upload dashboard
- How to restrict the user from viewing comments but with option to write comments?
- Automatically check “Enable stock management at product level” to the existing products?
- Creating Nested custom fields
- Plugin does not create a custom table upon activation
- Disable default posts (Posts,Pages,Comments and Media) in wp-admin
- Plugin program: JQuery not working in this plugin
- admin panel save option with ajax
- Get page type to display content
- Choopy Video Playback in a popup using Artiss Youtube Embed [closed]
- How to fix vanilla comments extra iframe space
- Add a filter to a different custom plugin
- Woocommerce quick checkout form [closed]
- How to add image for custom taxonomy
- Social network plugins for WordPress [closed]
- Why haven’t I see plugins using get_file_data to handle retrieving plugin version?
- Wrapping code in an if block
- How to edit a non logged in page?
- How can I properly sanitize the update_option in WordPress?
- Disable auto-embed feature when pasting links in Gutenberg editor?
- How to disable plugin capability : “create new category”
- Remove embed url for internal links
- How to create specific wordpress Table