PureNews

PureNews is an amazingly sleek and powerful news theme with unlimited color variations.

View full feature list Check out the live demo Buy this theme today

Latest news in WordPress Coding & Design

Create a Breadcrumb Trail

Create a Breadcrumb Trail
22 Feb 2009

WordPress Coding & Design Adding a breadcrumb trail to your WordPress site is fairly easy to do. Yes, before anyone mentions it, there are plugins out there to do this for you, but you won’t learn from those unless you actually open them up and change things. So for those of you who actually want to learn how you can easily extend the functionality of WordPress (or for those who just want to copy the final code..!) read on This week I’m going to explain how ...

Continue reading
Posted by 18

Adding a login box to your site

Adding a login box to your site
15 Feb 2009

WordPress Coding & Design If you’re running a multi-author site, or perhaps you allow people to register on your site, then adding the login box into your site would be a nice addition rather than just redirecting people to the standard login page. You could just copy the form off the wp-login.php page, however it’s not very well marked up, plus you will probably want to fit it into a smaller area on the front end of your site, maybe in your sidebar or at the ...

Continue reading
Posted by 7

Using Sticky Posts

Using Sticky Posts
08 Feb 2009

WordPress Coding & Design A new feature with 2.7 is the sticky posts. You can write a post and set it to be sticky, and it’ll stay at the top of your front page until you unstick it. If you’ve also used the new post_class() tag, then you’ll easily be able to target the post and style it differently to the other posts on the page as you get a specific class of ‘sticky’. However, you can go one step further and enhance the post further by ...

Continue reading
Posted by 5

Remove the Category Base from your Permalinks

Remove the Category Base from your Permalinks
01 Feb 2009

WordPress Coding & Design There’s one question that a lot of people have asked over time about using WordPress, but there’s not really a clear cut answer. How can you remove the Category Base from your WordPress permalinks? This may not be a major concern for a standard blog site, but it may be of use to some, and I think it’s definitely more use to those using WordPress as a CMS. My method so far works for a permalink structure of ...

Continue reading
Posted by 9

Use WordPress Functions Externally

Use WordPress Functions Externally
25 Jan 2009

WordPress Coding & Design There may be a time when you’ve added WordPress on to an already existing site, to perhaps power the news section or to just provide a blog or multiple blogs for people. If the site is small then it’s usually easier to just convert the existing pages into static pages, and use the CMS functionality of WordPress to power the whole site. However, that may not always be the case, especially with large websites. Just because your site is ...

Continue reading
Posted by 6

Hidden Content for Registered Users

Hidden Content for Registered Users
18 Jan 2009

WordPress Coding & Design It can be quite useful to be able to add in links or information that you want either yourself, as an administrator, or your registered users to see, on the front end of your website. The default template comes with user login/logout link, usually under the Meta Information section, but most people prefer to remove this as they don’t want login links to the general public. However, once you’ve logged in, why not give yourself a ...

Continue reading
Posted by 1

Improve your Recent Posts

Improve your Recent Posts
11 Jan 2009

WordPress Coding & Design A lot of themes these days comes with the Recent Posts code added already. It’s a basic list, usually just set to display the last 5 or 10 posts. A nice list but are you making the most of it? Remove the current Post A recent posts list comes into its own when the user is on a single post page. It allows them to see the most recent posts you’ve written on the site. However, if the page they’re on happens to be on that list then ...

Continue reading
Posted by 21

Using a Functions file

Using a Functions file
04 Jan 2009

WordPress Coding & Design You may have used a theme in the past, or are currently using one, that has a functions.php file in it. The Theme Functions file was introduced around the time that widgets came on the WordPress scene, usually containing just the code to register the dynamic/widgetised sidebars, however they’re useful for so much more. If you don’t already have a functions file then just create a blank file in your theme directory called ...

Continue reading
Posted by 14

Keep an Up-To-Date Copyright Notice on Your WordPress Blog

Keep an Up-To-Date Copyright Notice on Your WordPress Blog
02 Jan 2009

WordPress Coding & Design This is the time of year when bloggers go scrambling through their code, updating the copyrights on all their pages to something like this: Copyright © 2009 Example Blog, Inc. And unless they completely rewrote their website on January 1, this is wrong. Some use a more all inclusive notice: Copyright © 2001-2009 Example Blog, Inc. As common as this is, it’s not particularly accurate. The range may be true for the entire blog, but ...

Continue reading
Posted by 9

Static Page Navigation

Static Page Navigation
28 Dec 2008

WordPress Coding & Design A new template tag was introduced for WordPress 2.7 to provide different functionality for generating your page navigation. For earlier versions, and still for WordPress 2.7, we have wp_list_pages(), however for 2.7 we now have wp_page_menu(). This function simplifies some of the aspects of generating a list of static pages. The parameters that it takes in are: sort_column Sorts the pages into the specified order. Values can be post_title, ...

Continue reading
Posted by 11