Replace tags in posts?
-
Right, I’m trying to build my own template, and my my problem is this:
If a post contains a line-break, then the commandthe_content(__('[read more...]'))
converts the line-breaks to. The problem is, that I need it to convert them to
to make my stylesheet do what I want it to…
I’ve tried doing<?php str_replace ("", "</P><P>", (the_content(__('[read more...]')))); ?>
, but it seems to do nothing at all…
So, can this be done, without hacking the WordPress files?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Replace tags in posts?’ is closed to new replies.