• Hi There,

    I was wondering how i can only show the teaser of a post on the single.php file.

    I have been searching the forums, and the documentation, but can’t find anything.

    My setup is like this:

    <div id="teaser">
       //Show Teaser Here
    </div>
    
    <div id="info">
       //Just some content here
    </div>
    
    <div id="content">
       //Full article without teaser (allready found solution for this)
    </div>

    If anybody knows how to solve my problem, please let me know.

    Thanks for everybody who reads this post.

    Kind Regards,

    Headshot

Viewing 1 replies (of 1 total)
  • Create Custom Fields for #teaser and #info content. For every post you make, add the custom field for #teaser and another one for #info.
    The Codex is your friend. Check out Custom Fields page for different solutions including plugins.
    Good luck.

Viewing 1 replies (of 1 total)
  • The topic ‘Displaying only the Teaser on single.php’ is closed to new replies.