Forums

Only show summary (4 posts)

  1. Headshot
    Member
    Posted 3 years ago #

    Hi ;)

    I'm trying to figure out, how to display everything before the

    <!--more-->

    on single.php, what i have so far:

    <div class="entry">
           // Only Display Everything INFRONT of the more tag!
    </div>

    Now some other code comes after this and then i show everything except everything infront of the more tag like this:

    <div class="full-entry">
    <?php the_content('more_link_text', strip_teaser, 'more_file'); ?>
    <div>

    So, showing only everything after the more tag works, but how to show only everything before the more tag. (without using the excerpt field)

    Hope somebody can help me with this ;)

    Thanks

    Kind Regards,

    Headshot

  2. Headshot
    Member
    Posted 3 years ago #

    bump

  3. Headshot
    Member
    Posted 3 years ago #

    bump, anyone :(

  4. scooly
    Member
    Posted 3 years ago #

    I have the same question:

    How to display text before <!-more--> only on single.php?

Topic Closed

This topic has been closed to new replies.

About this Topic