Hello,
I need delete HTML tag <p> and </p> from the_content() function.
HOW TO?
(I need insert URL from "the_content()" to <iframe src="<?php the_content() ?>">, but I must delete tag <p> and </p>, WHERE/HOW?
Or any another way?
Hello,
I need delete HTML tag <p> and </p> from the_content() function.
HOW TO?
(I need insert URL from "the_content()" to <iframe src="<?php the_content() ?>">, but I must delete tag <p> and </p>, WHERE/HOW?
Or any another way?
Nobody knows?
try to use:
<iframe src="<?php echo strip_tags(get_the_content()); ?>">
THANKS!!! It's OK! :))
This topic has been closed to new replies.