Tag Archives: php

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 [...]

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).

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 [...]