• Hi there,

    I’m trying to build a single.php page where the chosen Post is shown as full Post with excerpt, image and full text between (vertically) previous and next posts which shall show only the excerpt title and image but no content text. The user should be able to see those kind of ‘teasers’ for the other articles and click on the ‘more’ link. The fully opened article should then reduce itself to the excerpt like the others, while the chosen one opens up like spoilers.

    To do so, I have to be able to somehow spoiler the content below the excerpt and put it into a separate div which i can fade in. But I googled hard and I couldn’t find a way to get a post content without the excerpt.

    Is there a function or a hack which could help me?

    Thankyou

    Cheers
    Riggi

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Riggi

    (@riggi)

    Is there no way to do this?

    Hi There, I am doing the exact same thing.

    Managed to pull it off using php substr function where you can put some characters of your content in one div and the rest in the other.

    echo substr(the_content(),0,500)

    However I would think there is a wordpress way of showing the content without the excerpt.

    Hope Someone post it here!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Show Post Content without Excerpt’ is closed to new replies.