Display the_content() or the_excerpt() conditionally
-
In my blog https://www.drteddy.gr in the front page the template displays the excerpt of the post.
I want to display the_content() of the post depending on the number of the words of the post. I’ve coded a function that counts the post’s words, but I couldn’t implement the part I describe above.
Could anyone give me a clue or help?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Display the_content() or the_excerpt() conditionally’ is closed to new replies.