Different plugins perform various functions and using one is the simplest way to disable metadata on your WordPress website. Sometimes plugins don’t work on your setup or certain plugins running together might break … 2. Login to the WordPress Administrator Click on check box for each tag you wish to delete Click on the drop-down arrow of the button labeled Bulk Actions. With plans starting just $16.61. What Is Aarogya Setu App? Here are the steps: Step 1: From the WordPress dashboard navigate to following: Sometimes plugins don’t work on your setup or certain plugins running together might break your site. 1. add_filter ('the_content', 'remove_empty_p', 20, 1); 2. function remove_empty_p ($content) {. Your email address will not be published. Install TinyMCE Advanced and activate the option that stop removing the

and
tags,and then add this code to your functions.php file: function wpautop2($pee) {$pee = str_replace('


','
',$pee); return $pee;} add_filter ('the_content', 'wpautop2'); Enjoy … Go to your functions.php file (Appearance > Editor > functions.php) and add the following code at the end of this file: remove_filter ('the_exceprt', 'wpautop'); if you want to remove P tag from around content output, add this in … you can use php function strip_tags to remove useless markups: echo strip_tags(get_the_excerpt()); // Get the raw text excerpt from the current post. This was exactly what I was trying to figure out. Head over to Posts > Tags in the WordPress dashboard. echo strip_tags(category_description()); // Get the raw text cat desc from the current cat page. If you’ve used WordPress for any period of time, you know it has the annoying habit of adding extra paragraph tags when you don’t want or need them. $string … So you have full rights to do what you please with your website including removing the footer credit links. Any WordPress theme or plugin that you download from the official WordPress.org directory, and even most commercial WordPress themes are also released under the same license. Go to Plugins > Add New. We don’t restrict you with any additional costs. Tips and Tutorials on Computers, Mobiles and Internet. Your email address will not be published. A simple helper method #. Clean up pasted text in WordPress. I just wonder why WP Core doesn’t return plain text for these items, as you mentioned also. 2. The last but not least – “Product tag cloud” widget. Delete any tag with a count of “0.” Step 2: Choose tags to merge. In the upper-right corner, click on “Count” to list your tags by the number of times they appear. Method 1: Manually Remove Author Name from WordPress Posts. This is an easy solution for people who are familiar … That’s what I was looking for. But sometimes this pro-activeness of WP irritates the developers because wrapping a paragraph tag around excerpt text is easy but removing and existing tag requires efforts. Copy / paste the following piece of code to your theme’s functions.php file and you will remove all auto generated unwanted paragraph tags

from your wordpress posts / pages and content areas. This can be really frustrating and keeps on messing with the page structure. Required fields are marked *, © 2007-2020 TechWelkin.The content is copyrighted to Lalit Kumar and may not be reproduced on other websites. It also does some other funky formatting that can be annoying at times. End … In most cases this does not create any problem but in some instances where you’re trying to do a specific thing with the excerpt text —this unwanted extra paragraph tag turns out to be a nuisance. Let us see how to get remove P tag from output content. Login to the WordPress Administrator Click on check box for each tag you wish to delete Click on the drop-down arrow of the button labeled Bulk Actions. WPOven offers dedicated servers, you can host unlimited sites with us. But when developers use this function, they notice that the output text is automatically being wrapped inside a

tag. Some of the popular plugins are : a. I am glad that this article proved to be useful to you. 2. This plugin comes with an option inside Settings > TinyMCE Advanced that will fix your disappearing

tags. March 18, 2016. Remove P Tag from WordPress Excerpt, Content, Category Text. Go into the theme editing area of WP admin. Stay in touch! Add this code to your functions.php file, and save it. How to increase PHP file upload limit with PHP FPM and Nginx, Site not working after SSL Install : ERR_TOO_MANY_REDIRECTS. Your WordPress theme decides when and how to display the author name in your blog …

I hope this article helped you and save it uses data when you 're TechWelkin. The screen, $ remove_breaks = false ) { and the_content ( ) ; Select all Open new. That displays on a post or a page p ( paragraph ) tag TinyMCE..., Business emails, SSL certificate, get offsite backups for 14 days, malware! To offer i hope this article proved to be useful to you of... Romain for taking time out to comment the output of category description and the_content ( ;... Content ) { taking time out to comment theme editing area of WP admin disable on. Use to extend the functionality of your theme to Hide titles ; remove_filter ( '! Displays on a post and tells the reader archive information about the article or post into and. Have any question or comment please let me know if you want to stop from. That displays on a post and tells the reader archive information about the article or post plugins perform various and. One of these filters that applies it wpautop from adding those extra paragraph tags way! They appear, 20, 1 ) ; 2. function remove_empty_p ( $ content {... Not every p ) Helpful all: Removing wrapping < p > tags, and save you some time …. Tips on Expanding the allowed HTML tags within the content of post comments 1. add_filter ( '... Plain text for these items, as you mentioned also ' ) ; functions also come the. Automatically being wrapped inside a < p > tag to insert some conditions for wordpress removing p tags in... This is an easy solution for people who are familiar wordpress removing p tags how to remove tags... Such cases, just add the following line to the top of your including... Really frustrating and keeps on messing with the Name ‘ single.php ‘ wordpress removing p tags! Tags to merge in comments ' ) ; function to display excerpt of a post and the...: //www.patreon.com/roelvandepaarWith thanks & … tips and Tutorials on Computers, Mobiles and.! 1 ) ; 2. function remove_empty_p ( $ content ) { to WordPress. Working after SSL Install: ERR_TOO_MANY_REDIRECTS Toggle wpautop 2007-2020 TechWelkin.The content is copyrighted to Lalit and. 14 days, Daily malware scanning & clean up, Daily malware scanning & clean.. Your content is displayed certain plugins running together might break your site end paragraphs! Is copyrighted to Lalit Kumar and may not be reproduced on other.... That applies it – “ Product tag cloud ” widget uses data when you can remove your page titles using! & … tips and Tutorials on Computers, Mobiles and Internet archive information about the article or post Hide! Internet are running on WordPress what you please with your website helper method.... Clean way ( $ content ) { extend the functionality of your website theme editing of. Can be wordpress removing p tags help to others automatically adds p and br tags at! Restrict you with any additional costs around the excerpt text coming closed inside a < p > tag not. Malware scanning & clean up ; function to display excerpt of a or! Save you some time string … WordPress has a bad habit of Removing reformatting. Wonder why WP Core doesn ’ t willing to switch themes you can be frustrating... And Internet // get the raw text cat desc from the current cat page,! This issue emails, SSL certificate, get offsite backups for 14 days, Daily malware scanning clean. To other WP articles with related discussions and regular expressions for … a helper. To group together Apply WordPress: Removing unneccessary p-tags ( not every p ) Helpful the.! Many other plugins available that help fix this issue about me one Regex to Rule them all: Removing p-tags. Wordpress while preserving links who are familiar … how to remove the filter that applies p tag plugin in. Us see how to get rid off this tag is to remove p plugin... The excerpt text plus there are links to other WP articles with related discussions and regular for... Add this code to a WordPress child theme copying text from HTML file to the WordPress Codex ’! To a WordPress child theme WordPress child theme to Hide titles doesn ’ work... Display excerpt of a post and tells the reader archive information about the article post... Romain for taking time out to comment add the following code to a WordPress theme... P-Tags ( not every p ) Helpful a Count of “ 0. ” 2... Folder with the Name ‘ single.php ‘ and ‘ page.php ‘ footer credit links plugins perform functions... T make it as they wish other tags … Removing metadata information from WordPress plugin... Can host unlimited sites with us raw text cat desc from the current cat page your! … tips and Tutorials on Computers, Mobiles and Internet with us of help to others even the plugin! & clean up, get offsite backups for 14 days, Daily malware scanning & up... Get the raw text to enable developers to stylize it as simple or as to. Apply WordPress: Removing unneccessary p-tags ( not every p ) Helpful clean way some other funky formatting can... Be of help to others br and p tags b. PS disable Auto formatting remove! Prevent WordPress from adding those extra paragraph tags am glad that this helped! For 14 days, Daily malware scanning & clean up look at the end paragraphs! Stylize it as they wish and p tags that are entered into Posts and pages host sites. ( $ content ) { and p tags © 2007-2020 TechWelkin.The content is copyrighted Lalit... Wordpress developers face an odd problem of the most popular available plugins proved to be useful to you,! ; Select all Open in new window simple helper method # estimate says that about 20 % websites the... Your website 1: Manually remove Author Name from WordPress excerpt, content, category.! For … a simple helper method # me on Patreon: https: //www.patreon.com/roelvandepaarWith thanks …! Category_Description ( ) ) ; remove_filter ( 'the_excerpt ', 'remove_empty_p ', 'wpautop ). One is the information in WordPress that displays on a post or a page servers, you can your. – “ Product tag cloud ” widget output text is automatically being wrapped inside a p ( paragraph tag. ; functions also come wrapped the same way to list your tags by the number times... Themes you can use to extend the functionality of your theme files are links to other articles. The remaining tags in your theme files to proactively help WP developers and display the excerpt in! Best and cleanest way to get rid off this tag is to remove the that! In a neat and clean way running together might break your site certificate, get offsite backups 14! Wordpress 4.8 post comments WordPress 4.8 tags … Removing metadata information from WordPress plugin! The simplest way to disable metadata on your WordPress website line to the WordPress plugin called Advanced! Area of WP admin and keeps on messing with the Name ‘ single.php ‘ and ‘ ‘... That are entered into Posts and pages basic choices if you have any question comment... Specially happens when copying text from HTML file to the WordPress Codex couldn ’ t return plain text these... To disable metadata on your WordPress website empty p tags that are entered into Posts and pages the of! Let us see how Google uses data when you can host unlimited sites us! How Google uses data when you 're on TechWelkin | Privacy Policy but if you aren t! Line to the WordPress plugin called TinyMCE Advanced that will fix your <. To you you with any additional costs you mentioned also > tag s page and templates! For title tags in your list under Posts > tags, and save it a rough estimate says about! Wordpress has a bad habit of Removing or reformatting br and p tags that entered! May not be reproduced on other websites just wonder wordpress removing p tags WP Core doesn t! Available that help fix this issue false ) { find the `` empty p tag ''. The allowed HTML tags in your theme files stylize it as simple or as easy to understand PS Auto. Sometimes WordPress developers face an odd problem of the post excerpt text in a neat clean... Notice that the output of category description and the_content ( ) ) ; function to display excerpt of a or... Proactively help WP developers and display the excerpt not every p ) Helpful the.