Activate "more" capability (5 posts)

  1. kjetilgf
    Posted 8 years ago #

    I'd like to activate the normal "more" capability in a wp installation I'm setting up.
    Thing is, in the theme I use (Remix), only the posts' title show up in the blog page, while I need also an excerpt from (eg the first part of) each post to appear.
    I guess there's a code line to be inserted in the template. Hope its that simple. Still, I need to know exactly how to do it.
    Thanks a lot for any tips,

    PS I've searched the codex and found a bit about using the more tag, but I guess I'm too much of a newbee to understand it very well.
    Also: I have found a More tag in the index.php file, and this should make it work - I'd believe. In the templates' files I have not found it.

  2. moshu
    Posted 8 years ago #

    Contact the theme author or re-write the index.php of that theme.

  3. kjetilgf
    Posted 8 years ago #

    Had tried that before posting, without getting enough details.
    But - the solution lies within the index.php, and not in some template file or the like - right?
    (If so, maye I can figure it out using the info on the codex page. Just need to know where to search.)

    Even better:
    The index.php contains this line:
    <?php the_content('Read more...'); ?>
    Is this the part to modify?

  4. moshu
    Posted 8 years ago #

    You don't need to modify anything. Just click the "more" button when writing the post - it will insert the break where your cursor is.

    You need to know more about The_Loop because by briefly looking at your site that index must have more than one Loop in it.

  5. kjetilgf
    Posted 8 years ago #

    Quite right
    I had to get the Loop into the template.
    This pulls the posts' content into the page, but only (of course) the part above the --more--
    Just as you said.
    So - thanks

    PS - no double Loop found in any template, moshu. Forget looking after it now; I've changed a lot on the site

Topic Closed

This topic has been closed to new replies.

About this Topic