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

Blog Archives

Fluid Width Site Tips

Fluid Width Site Tips
16 Apr 2009

Design & Coding Fluid width sites give the visitor control over how wide your site appears to them (within the limits set) and allows you to make more use of larger screen resolutions. A fixed width site designed to fit for an 800px wide resolution looks very thin on a 1600px wide resolution. A fluid width allows you to specify a minimum and maximum width to display the site in, so that you can prevent the site going too thin and breaking and also make use of ...

Continue reading
Posted by 8

Set Up WordPress as a CMS

Set Up WordPress as a CMS
12 Apr 2009

WordPress If you’re used to how WordPress works, then using it as a CMS (Content Management System) to power a standard website is an excellent idea. It’s lightweight and easy to use, has fantastic support from the WordPress community and is easily extendable with the various CMS style plugins available. If you also want a news or continual archive style section for information (eg. news, announcements, events etc) then you can still utilise ...

Continue reading
Posted by 9

Creating a Drop Down Menu

Creating a Drop Down Menu
09 Apr 2009

CSS Horizontal navigation is quite popular however it becomes restrictive once you’ve got too many pages to list. Once you reach this point then you either need to convert to using a vertical navigation, or start using drop down menus. Drop downs used to rely on JavaScript however all modern browsers can now manage drop down menus with just CSS (IE7+, Firefox, Opera, Safari; note, JavaScript is still required for IE6 and below). The HTML ...

Continue reading
Posted by 6

Plugin Administration Menus

Plugin Administration Menus
05 Apr 2009

WordPress Coding & Design When creating your own plugins you’ll often want to add one or more admin pages to allow users to configure options and add content, depending on what your plugin does. A couple of weeks ago I explained how to add an Options Page, this week I’ll run through how to add pages to other sections. Creating a Submenu Page The syntax of using these predefined functions is the same as using the options page function. To remind ourselves, ...

Continue reading
Posted by 1

CSS Image Replacement

CSS Image Replacement
02 Apr 2009

Design & Coding The available fonts to a web designer is quite restrictive for making headings and menus look sleek and stylish whilst still maintaining usability and accessibility. We don’t all have the same fonts available, yet that shouldn’t stop us from using our favourite fonts. A lot of designers/developers will simply create the text they want and save it as an image, then place it on the page where they want it eg. a Logo, using an image ...

Continue reading
Posted by 6

Creating a WordPress Plugin III

Creating a WordPress Plugin III
29 Mar 2009

WordPress Coding & Design This is the final part on the subject of creating a WordPress plugin (read part 1 and part 2). We’ll be modifying our original function, that outputs social bookmark links after each post, so that it works with our new options page. So first we need to modify our display function. At present it just echos out the markup, however we need it to do the following Put the markup into a variable Check which option is set If you should attach the ...

Continue reading
Posted by 6

Explaining CSS Selectors Part III

Explaining CSS Selectors Part III
26 Mar 2009

CSS This is the final part in this 3 part series (see Part I and Part II), and we’re on to Pseudo-element selectors. :first-line The :first-line pseudo-element allows you to target the first line of a given target, which must be either a block level element, inline-block, table cell or caption. So, for example, if you wanted to make the first line of a paragraph red then you could use [sourcecode language="css"]p:first-line { color: red ...

Continue reading
Posted by 0

Creating a WordPress Plugin II

Creating a WordPress Plugin II
22 Mar 2009

WordPress Coding & Design Last week I explained how to take a function and turn it into a plugin for your WordPress site. The plugin was fairly basic, just a function that created a list of social bookmarks. To use it you would just make a call to the function within your template file. However, we can go one better and give the user an option of either controlling where the bookmarks are displayed (as it currently is), or for those less confident in editing their ...

Continue reading
Posted by 3

Explaining CSS Selectors Part II

Explaining CSS Selectors Part II
19 Mar 2009

CSS See last weeks post for part one of Explaining CSS Selectors. Attribute Selectors Attribute selectors allow you to target a group of items on a page by matching a particular attribute. This opens up a whole new method of selecting your targets. Unfortunately attribute selectors are not supported in IE6 (which is why they’re not very commonly used), and IE7′s support is a bit buggy at times, however with IE8 out today, hopefully ...

Continue reading
Posted by 2

Creating a WordPress Plugin

Creating a WordPress Plugin
15 Mar 2009

WordPress Coding & Design Over the past couple of months we’ve started to look at creating functions and using actions and filters in our functions.php theme file to help manipulate the content output by WordPress. If you create something and feel it’s worthy of releasing for others to use then rather than just posting the code up for others to copy, it’s usually better to write a plugin. To start a plugin file off you use a PHP comment to contain the ...

Continue reading
Posted by 8