Forums

[resolved] Excerpts, archives and the rest of the story (2 posts)

  1. willieb
    Member
    Posted 1 year ago #

    So, I figured out that using the super_loop, the_excerpt and some hand coding I can get the layout that I want. I put this

    This is a news post, should only be the content and of course

    The rest of the story...

    Check out the news archives

    into the Excerpt field on the post and ti works, but is there a generic way to do this? perhaps some block of code that will pull either the needed page_id or the cat_id depending on which you need? Somebody else will be maintaining the site and I'm not sure how tech savvy they are so I was thinking if I could just give him/her a basic template for the excerpt field, then they could run from there.

    Also, if I can use a default category archive page, can I customize it a bit so that it just uses the excerpts and not the full content?

    wb

  2. willieb
    Member
    Posted 1 year ago #

    oops, forgot to use the backticks on the code

    This is a news post, should only be the content and of course
    
    <a href="/?p=11">The rest of the story...</a>
    
    <a href="/blog/?cat=3">Check out the news archives</a>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.