Support » Fixing WordPress » Creating a group of article excerpts on a page

  • I want to post articles on a page, but not the whole article. I want the articles to be displayed as excerpts, just a few lines summing up the article. After clicking on an excerpt, I want the whole article to open in another window. I really don’t want to have to create a new page for each article to appear in. Is that possible? Any help would be appreciated. Thanks.
    juniorkyle@hotmail.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yes. In your index.php, you need to reference the_excerpt instead of the_content.

    http://codex.wordpress.org/Tag_Templates#Excerpts_vs._Full_Posts

    that will take care of the first part.

    The rest is already the default behaviour of wordpress. When a user clicks on an excerpt they go to a page with the full story.

    Thread Starter juniorkyle

    (@juniorkyle)

    That worked, but not what I needed. That’s creating excerpts for every page using that template. My bad, I don’t think I explained exactly what I meant. I have a page, not my homepage, so they’re not post’s, where I want to load 4-5 articles. I need some way, using html shortcodes or changing the template files, to show excerpts of each article on that PAGE. And when you go over each excerpt w the cursor, it will hilight like a link and you can click on it and open the full article in another window. Is THAT possible. SORRY about the mixup.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Creating a group of article excerpts on a page’ is closed to new replies.