Insert custom tags inside wordpress the_content();


I want to be able to insert <span class="someClass"></span> inside wordpress the_content(); is there a way to do that ? so far i have been able to to target the first paragraph through preg_replace and add my class there but i also need a span tag a few words into the_content


>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="">

Insert custom tags inside wordpress the_content();</a>
Hadi Pawar 8 months 0 Answers 88 views 0

Leave an answer