Lab of Team Net World

Remove P tag from Excerpt WordPress

So you want to know how to remove

TAG from WordPress Excerpt (the_exceprt) or WordPress Post Content Function (the_content). Yes it is tooo simple. You just need to add the following line of code your functions.php in themes folder.
Path to functions.php is wp-content –> themes –> {YOUR THEME NAME} –> functions.php

SOLUTION:

1
<?php remove_filter('the_excerpt', 'wpautop'); ?>

I am sure this will be useful for you. But in case you are looking for any custom WordPress Solution developed. Please do call me up or REQUEST A QUOTE.

cheers!

Tagged as: , , , , , , ,

Comments are closed.

Idc1998.com
This domain has recently been listed in the marketplace. Please click here to inquire.