WordPress Theme Update: Drive

Posted by rich

This is just a short note to explain that I have updated an old wordpress theme I worked on a few years ago called Drive. It is now a fully-fledged two column theme, widget ready, right sidebar, with a transparent background on both content and sidebar.

It is a simple theme though, not a really complex one, but could be modified to have a different background if you wanted to work with it (you’d need to alter the content/sidebar backgrounds too). Visit the theme release page for the download link: , now at release version 1.1.0

Tags: , , ,

Be the first to add a comment to this post.

Jun 23, 2009

 

Premium WordPress Theme Release: Natural G ...

Posted by rich

After several week of development my latest wordpress theme, Natural Green, is available. This has been something of a test platform for various bits and pieces that I’ve wanted to combine into a single theme for a while.

It is a theme that makes extensive use of jquery; for example making the post section collapsible, and the menu sections along the bottom of the screen. To take a look at the screenshots, see the theme release page: Natural Green WordPress Theme. To see the theme in action see my personal blog.

It has a large backend section for choosing what menu options you want, i.e., menu, categories, archives and so on, what bits you want collapsible, whether they should start collapsed etc.,

This has been fully tested and built on WordPress 2.7, but as it coincided with the release of WordPress 2.8 I tested it on that too and it’s fine.

Tags: , , ,

Be the first to add a comment to this post.

Jun 14, 2009

 

OpenAir WordPress Theme Update

Posted by rich

The OpenAir WordPress Theme has been updated so that now instead of just being a two column theme (with left or right sidebar as you wish) it is a two or three column theme.

So now you can choose a two column layout with left or right sidebar, or a three column layout with two left sidebars and content, two right sidebars and content or sidebars on either side of the content.

Aside from the layout addition, there are a couple of small alterations. The keywords have been altered for SEO purposes, adding the tags as keywords rather than having a set of pre-determined keywords. The wp_generator is removed from the header.

Take a look at the theme release page () for the download.

Tags: , , , , ,

Be the first to add a comment to this post.

Jun 6, 2009

 

BBPress Theme Release: Ikon

Posted by rich

The current theme of this site is the , a multi column theme that is highly configurable and quite easy on the eyes. At the same time as I had been constructing it, I also wanted to properly integrate the forums, and so thet BBPress theme was also created alongside it.

Unlike the WordPress Theme, the BBPress Theme is not a ‘premium’ content theme, and is offered for free. It is a three column theme but because of the slight limitations of BBPress, doesn’t have an admin backend and so can’t be configured as easily or widely as the WordPress Theme.

Nevertheless it’s a nice solid theme and is easy to use. The normal procedures apply when downloading and installing it. Try for yourself and grab it from the release page: .

Tags: ,

Be the first to add a comment to this post.

Jun 1, 2009

 

Display Comments on Index Page Post in Wor ...

Posted by rich

This is actually a useful bit of code if you want to do a little bit of manipulation on the index page of your wordpress blog. Rather than the ‘x comments, click here to see them’ link, you could choose to display the last one or two comments in excerpt format.

Here is how you do it:

<div class=”post-recent-comment”>
<?php
 $comment_array = array_reverse(get_approved_comments($wp_query->post->ID));
 $count = 1;
?>

<?php if ($comment_array) { ?>
 <span class=”comment”><?php comments_number(’No comment’,'1 comment’,'% comments’); ?></span> - Latest by:
  <ul class=”commentlist”>
 <?php foreach($comment_array as $comment){ ?>
  <?php if ($count++ <= 2) { ?>
   <li>&lt?php comment_author_link(); ?><br /><?php comment_excerpt(); ?></li>
  <?php } ?>
 <?php } ?>
  </ul>
<?php } else { ?>
 <span class="comment">No comments so far</span>
<?php } ?>
</div>

Tags: , ,

There are 2 comments on this post.


May 17, 2009

 
 

News Print v2.0 Updated

Posted by rich

The , which has been developed for over a year now, has recently been updated.

news_print_options

It used to have a separate php file for configuration values. I have moved all of these into the functions.php file so they show up in the WordPress administrative backend in the News Print Options as you can see from the image.

In the options page there is a visual representation of the display of the featured posts, and the columns (two or three) with the sidebar. This helps the blogger get the right display and layout, suited to their desires.

There are options to select how the posts should appear in the column, what categories should be assigned to the columns, how many posts per column, whether the blog should have a ‘featured’ post, or a featured post icon.

Tags: , ,

Be the first to add a comment to this post.

May 14, 2009

 

Plugin Release: Display User’s Posts

Posted by rich

Stemming from a recent project I have created a plugin (my first!) that lets you use a pulldown menu to select a user (from the authors on the blog) to show just their posts. This is a fairly simple straightforward plugin, I’m not boasting it’s complex or anything.

It does however, reset itself when the new author page is opened up so the dropdown menu is selected on that user rather than using the default selected item.

Anyway, I created a proper page for it - - where you can also download the plugin from.

Tags: ,

Be the first to add a comment to this post.

May 13, 2009

 

Appropriate User Permissions & Viewin ...

Posted by rich

An occasion occurred today where I had to edit the administration backend to make sure that of the users in a blog, only those who could actually edit a post could see that post.

Usually users who are logged in can see all the posts in a long list. I can see the wisdom of that, then doing the checks when publishing (or not). In this case however, the client wanted it so that the user could only see posts they could edit.

Fairly straightforward to achieve. Open up wp-admin/includes/template.php, line 1284, is this:

_post_row($post, $comment_pending_count[$post->ID], $mode);

Change it to this:

if (current_user_can(’edit_post’, $post->ID))
 _post_row($post, $comment_pending_count[$post->ID], $mode);

Straightforward!

Tags: ,

Be the first to add a comment to this post.

May 10, 2009

 

FireFox3: Min-Width vs Width, PC vs Mac

Posted by rich

I had a strange issue come to light tonight when working on a client’s site.

The FireFox3 I was working with doesn’t usually have problems so I’m happy coding and testing with it then testing later on in other browsers. But apparently this one page had issues with FireFox3 on a Mac. The checkboxes were floating off to the left, completely unacceptable.

Hours passed trying to fix this issue and only coming back to it later and using trusty FireBug did I find the problem.

The checkbox in question had a width set to 20px, and on the PC FF3 it looked fine as I was positioning it absolutely. But with a Mac it was far to the left. The FireBug showed me it was inheriting a property from higher up the chain - min-width set to 160px. The PC was ignoring this and using the width, the Mac was following the min-width over the width.

Resetting the min-width for this new unordered list checkbox fixed it, allowing the positioning to be reset and let the page display as designed under both OS’s with FF3. Strange bug, and it took a while to find.

So I might dig around and find the appropriate forum somewhere and report this. Anyone got any ideas where that is?

Tags: , , , , ,

Be the first to add a comment to this post.

May 8, 2009