Question: How to remove empty p tags in wordpress?

* Removes empty paragraph tags from shortcodes in WordPress. add_filter( ‘the_content’ , ‘tg_remove_empty_paragraph_tags_from_shortcodes_wordpress’ ); That’s it! Additionally, how do I get rid of extra P tags in WordPress? Use PHP in your functions.php file to remove the wpautop filter remove_filter(‘the_content’ Use jQuery to clean up all those empty p tags after the page has loaded.… Continue reading Question: How to remove empty p tags in wordpress?

Published
Categorized as wp

How to remove drop cap in wordpress?

Thankfully in the latest WordPress 5.5, an experimental feature has been added that can be used to disable the drop cap using the following JavaScript: var removeDropCap = function(settings, name) { if (name !== “core/paragraph”) { return settings; } var newSettings = Object. Also the question Is, what is drop cap in WordPress? The drop… Continue reading How to remove drop cap in wordpress?

Published
Categorized as wp