strip_tags(the_content(‘More’), ‘<a><strong>’);
-
Hey i would like to show on the frontpage 1 article quite detailed but without images. i have found a template which used strip_tags functions for excperts and it does work:
<p><?php echo strip_tags(get_the_excerpt(), '<a><strong>'); ?></p>
now i just want to do the same with the content function:
strip_tags(the_content('Ganzen Beitrag lesen »'), '<a><strong>');
it doesnt work. why?
thank your very much in advance
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘strip_tags(the_content(‘More’), ‘<a><strong>’);’ is closed to new replies.