Grid Focus Demo

Icon

Demo site for WordPress themes developed and released by Derek Punsalan – 5ThirtyOne

Support author name(s) in Grid Focus

To answer Naren’s request for a multi authored site using Grid Focus. This change will need to be made in two files: index.php & single.php.

Immediately below the title tags:

<h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title() ?></a></h2>

Add the following:

<p class="articleAuthor">By: <?php the_author(); ?></p>

Tweak the look in the stylesheet using the class .articleAuthor {}. More information concerning the_author() can be found in the WordPress Codex.

Add support for 2.7 "sticky" posts

In order to make use of the new sticky post feature found in WordPress 2.7, you’ll need to modify your index.php, page.php, and single.php to make use of the new post_class() function.

Previous themes would use the following within the loop to identify posts:

<div id="post-<?php the_ID(); ?>" class="post">

Adding support for sticky posts requires dynamic classes using this function:

<?php post_class(); ?>

If there is a specific class that you would like the function to include, you can add it as a parameter: post_class(‘customClass’).

Sorry for not including this feature out of the box by default. These releases are meant to be backwards compatible for WP 2.6 users as well.

Welcome

This is the demo site for 5thirtyone.com. As existing themes are re-released, updated versions of code will be made available for demo.