[resolved] display title or excerpt, then link to full content (4 posts)

  1. philco
    Posted 9 years ago #

    another newbie question, sorry, but one i can't seem to figure out or find the answer to...

    i'd like index.php to display only titles or excerpts, and then have a 'read more' link display the full post.

    if i alter
    - the_content(_('Read more')); to
    - the_excerpt(_('Read more'));

    i get [...] at the end the end of the excerpt, and clicking on the title brings up the post in the same format - excerpted. and with no 'read more' link.

    can anyone explain this concept to me, or if it's even doable? will i need to create a 'display post' subpage?

    thanks for your help.

  2. moshu
    Posted 9 years ago #

    will i need to create a 'display post' subpage?

    Almost :)
    You need a single.php template file - learn more here: http://codex.wordpresss.org/Template_Hierarchy

    and next time don't ask theme/display related questions without a link and/or mentioning the active theme!

  3. jamespoling
    Posted 9 years ago #

    Can't you just use the "split post with more tag" button?

  4. philco
    Posted 9 years ago #

    my apologies, consider me told. the theme is "fspring_widgets"

    i actually found an answer and added an old javascript trick to make back and forth easier...

    if (is_single()) {
    the_content(__('Read more'));
    echo "Back to Index<p>";
    } else {

    here's the link to the topic that gave me my answer...


Topic Closed

This topic has been closed to new replies.

About this Topic