WordPress.org

Ready to get started?Download WordPress

Forums

zBench
Most recent post at top of homepage (2 posts)

  1. amydoth
    Member
    Posted 2 years ago #

    Is there a quick code change to allow for the most recent post to be listed first?

    http://wordpress.org/extend/themes/zbench/

  2. Andrew Tegenkamp
    Member
    Posted 2 years ago #

    Admin >> Appearance >> Widgets should let you put in whatever widgets you want to override the default.

    Otherwise, zBench uses Recent Posts on single posts and Random on lists of posts (archive, index, etc) and you can change that in sidebar.php. Just look at lines 32-56 and you can delete [code]<?php if ( is_singular() ) { ?>[/code] on line 32 and delete [code]<?php } else { ?>[/code] on line 44 and [code]<?php } ?>[/code] on line 56. Then it will have Recent and Random on all pages and you can delete the block for random (everything inside that div class=widget code)

    Does that help?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags