• Hi,

    I tried modifying this php file according to I think what the codex instructs in order to get 120 word excerpts on archive pages (I use full posts on main page)

    modified archive.php in my active 2 col semiologic theme

    I changed this:

    require_once(TEMPLATEPATH . ‘/header.php’);

    the_posts();

    require_once(TEMPLATEPATH . ‘/footer.php’);

    —————-
    to this:

    require_once(TEMPLATEPATH . ‘/header.php’);

    the_excerpt();

    require_once(TEMPLATEPATH . ‘/footer.php’);

    Didn’t result in a visible change, have I made an error in accomplishing this?

    Any help is appreciated, Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • the_posts() is not a wordpress internal.

    it is a wrapper around the wordpress internals with all sorts of ifs, whens, whatifs and other conditionals that will display data when/where relevant.

    it is defined in a plugin because I don’t want to end up editing a complex file per template that I maintain each time I integrate a plugin.

    Thread Starter saus

    (@saus)

    Ok, I understand the reasoning, is there an option in the plugin options to make full posts for main page, and excerpts for archives?.. I only ask becuase I’m not fully up to speed yet on all the various settings in your excellent CMS

    there isn’t. that said, it doesn’t necessarily make any sense to use the excerpt feature, either: you can accomplish the same kind of thing and more by using buttons such as <!–more–> in the post editor.

    Thread Starter saus

    (@saus)

    Cool Denis,

    That was very clear (sorry – I really didn’t know how more functioned properly)

    I’m using that now for Main page,
    and I opted for titles only on an archives page using your CMS with ‘smartarchives by justin’ and php exec plugin.

    ok with results, your archive page on semiologic still looks nicer 10x nicer 🙁

    dare to compare lol…
    http://www.semiologic.com/archives/

    my archives
    http://hashmonean.com/archives/

    I got a lot compliments on my page so far, your CMS kicks ass. Thx for support.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Archive.php – show excerpts only?’ is closed to new replies.