if excerpt else content
-
I’m trying to replace the_content() in the loop with something like this:
If the _excerpt() is empty, show the_content()
else show the_excerpt()Can you translate this for me in PHP language?
Thank you!
Tonyz
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘if excerpt else content’ is closed to new replies.