Category Archives: advanced

Using custom fields in Wordpress

(This is really a PS to the previous post)
The following code can be placed anywhere in your php to call data entered in the custom field section of your post/page editing area. For example you could place it within your ‘head’ tags to include keywords for SEO.
The function name I’ve called ‘customfunction’ (can be anything [...]

Creating individual custom style sheets for different posts or pages

You may wish to create a different look for an individual post or page. This could be as simple as using a different background image called with a CSS class (use the post/page name or ID number as the class definition.
You may want to do something slightly more drastic that involves an entirely new stylesheet. [...]

Placing dynamic post excerpts onto a static page template

If you require a page (home or otherwise) that contains editable content plus a dynamic list of excerpts of new posts then read on (wordpress).

Placing a custom graphic in Facebook sidebar

If you’ve just read my last post this will all seem very familiar. Best to just ignore it and move on…

Placing an Add Photo button on to a Facebook page

If you require a page (home or otherwise) that contains editable content plus a dynamic list of excerpts of new posts then read on (wordpress).

Placing a specific sidebar on a particular page

Placing specific sidebars where you want will enable you to turn a simple blog into a CMS style site such as gekko surf where I’ve put a shopping cart widget on some pages (but not all) and a further 4 sidebars in the footer giving me a really flexible content framework.
This assumes you already have [...]

Including dynamic content in Wordpress

A recent problem found some interesting solutions - I wanted to show a feature on posts of a certain category only.
The feature was the excellent ratings widget from gdragon - the problem was that from their dashboard it was either all or nothing regarding which posts showed the widget.
So I included the following code in [...]

Calendar style date for wordpress

For a loverly calendar style date for your posts please steal the following code…

First you need to place some code into your index.php file just after the start of the loop ie just after
<?php while ( have_posts() ) : the_post() ?>
as follows…

<div class="date_cal">
<div class="day"><?php the_time ('D'); ?></div>
<div class="date"><?php the_time ('j'); ?></div>
<div class="month"><?php the_time ('M'); [...]

choosing a template for a building a wordpress theme

This depends on how far you want to go…
…if you just want to change the header graphic, and maybe the colour scheme you will find that K2 is fantastic in that respect (also take a look at Thematic). However if you want to completely butcher the layout - for example change sidebar configuration and maybe [...]

adding contact forms to wordpress

I’ve sifted through many contact form plugins for wordpress. Luckily you don’t have to go through the nightmare of trying them all out as I have done it for you!
The best, most customisable I’ve found is available at delicious days (great recipes there too - in case you get peckish during installation). A huge menu [...]