Change Category Sort Order

It is strange that there is no option to reverse the display order of the posts on the category page, when we select a category the list is the same as a blog, in descending order newest to oldest.

That is great for a news or magazine website, but what if we wanted to display a series of our posts in ascending order, for a tutorail with the oldest part one first?

Continue reading

Changing Background at Night

We have been looking at changing the body background on a theme based on hour, day, month, or season, in this example we will find out how to change the background in the evening.

We are using a Twenty Ten child theme to do this, so what do we need, we are using two horizontal repeat .png images 1087 wide * 1120 high, one for day and one for the night, if we whanted a different set of images, for any of the other methods we would change the quantities, names and code values to suit.

Continue reading

WordPress Meet up Group in London

I have tried one or two meet up groups in London, the first one I found myself in Kings Cross in a smallish room above a bar, it was well attended and the people were very chatty and made me feel at home, all the talk was marketing based and I had a few discussions on different subjects, it was good to see some of the entrepreneurial flair and niche markets being looked at.

HiRes

I had a couple of chats about the Internet my website, the traffic numbers, and how could I make any money from it, but it came down to suggestions like writing an eBook, charging for downloads or pay per view posts where you start with a primer, and the visitor pays to read more.

This was not what I had in mind when I created Digital Raindrops, the original concept was for little digital blocks (droplets) of helpful code, a programming resource website that would be easy to manage and benefit the visitors.

The second was a small group of developers, these had a range of beginner to advanced, there were no real WordPress users, some small chat about different CMS systems and a few boasts of how much one could earn from website development, an exchange of business cards, many of these were Moo cards and they sit on a shelf above my computer, these meeting have left me feeling indifferent to meet up groups, they are in the evening and require leaving work sharp to get into town.

I am still a member of the Meet up website and received an email today about a new group just for WordPress and it is in London, United Kingdom, I joined the group and will be attending meetings, the groups owner rather summed it up quite nicely.

As a freelancer, I spend a lot of time isolated in my little development world. Although the internet is a fantastic tool for connecting with others, there’s no doubting the value of face to face contact.

I am hoping that others will join the group and share ideas, talk about projects, and it might be a good place for people interested in WordPress to come along, it would be nice to meet any Local visitors to this website, get some face to face feedback, network a little and have a beer.

Artisteer Home Menu Image

A question was asked on creating a home image instead of a text link in the menu, using Artisteer Version 3 RC, this should not be hard to do so lets have a look at how we can achieve this.

We will use two new images the height of our menu and 60px wide, this will be different on different themes, we may want an home image a couple of chevrons [>>] or a clickable small logo image, but when we design our menu we must consider this.

Twenty Ten Tweaked Theme?

I am a regular visitor to the WordPress forum and there are a lot of questions about editing the WordPress Twenty Ten theme, it looks like a lot of privateers or novice developers are editing the core theme files.

Should it be handshakes all around, and a pat on the back as that has solved the problem, or has it just caused a bigger problem for later?

Continue reading

Twenty Ten Sidebar Menu Styling

WordPress 3 and the default twenty ten theme are a great base for a stand alone website, easy to work with and with a little knowledge you can make your website theme quite unique.

The default WordPress theme has a sidebar menu but this is hard to style, we tried a lot of different ways to style the menu, in conclusion we have taken the menu above the sidebars into a template part.

Continue reading

Add RSS Icons to Twenty Ten

This post is inspired by a post in the WordPress support themes forum, the question was about there being no RSS icon on the twenty ten theme.

There are two RSS feeds you can offer from your website, posts and comments, so this tutorial will deal with both, another consideration was to open the link in a new tab.

Continue reading

Twenty Ten Alternate Sidebar

The Twenty Ten default theme comes with Primary and Secondary right sidebars, but they are stacked one above the other, you might be wondering why.

At a guess I would say it gives someone new to WordPress the ability to add widgets to the secondary sidebar without losing the built in widgets on the primary sidebar, we are going to use the secondary sidebar for a template page.

Continue reading

Pagenavi Footer Menu and Credits

The tenth and last in this series of tutorials is adding three footer elements, page navigation using ‘wp pagenavi’, a third menu bottom of the footer, and a little editable template part to give us credit for creating the theme.

If we follow the steps in this tutorial we will be able to add numeric page navigation to our WordPress theme, a footer menu bar and credit text after the footer.

We will need to do the following steps, add conditional code to display the ‘wp pagenavi’, add a new menu location and the footer credit text, we will do this with template parts and styling in the style.css.

Continue reading

Main Page

The ninth in this series of tutorials is adding a main template page that will display selected posts by category, using the page and category slugs, order the posts acending and add a custom post header.

If we follow the steps in this tutorial we will be able to add our new template page to our WordPress theme, with conditional posts based on the category and page slug ordered asc and a nice post header section.

We will need to do the following steps, create the template page, and add styles, code to return the posts from WordPress and the post header from the options page using the WordPress call get_option().

Continue reading