Add category, tag and time data to your WordPress post template
Find out how to add your post’s categories, tags and the time your post went live to your WordPress template.
Adding categories, tags and the time a post was posted is all useful stuff to know. Here’s how it’s done…
<?php the_tags('<div class="tags">Tags: ', ', ', '</div>'); ?>
Returns: Tags: Apples, Pears, Bananas (if you have Apples, Pears and Bananas as tags!!!)
<?php the_category(', '); ?>
Returns: Tags: Fruit, Vegetables, Meat
<?php the_time('jS M Y'); ?>
Returns: 1st Mar 2014
More information and how to extend these further can be found at WordPress: the_tags, the_category, the_time and PHP Date
-
Moving from iPhone to Android whilst using a Mac
A useful guide on what to do and how to keep things in sync between devices.
-
HTML email signature in Apple Mail
Step by step guide on how to add an HTML signature to Apple Mail.
-
Secure your WordPress Blog
A guide to securing your WordPress website.
-
HTML email signature in Gmail
How to add a HTML signature in Gmail, without any text-decoration for links
-
Remove p tags from category description
By default Wordpress adds paragraph tags to category descriptions. Find out how to stop this.
-
DIV align bottom right (or left!)
Find out how to align a DIV to the bottom left or right.
-
Website Dimensions and Designing for the Web
What browser size should you design your website. Find out more.
-
Root Path and Configuration of your Website using php
Display the root path and configuration of your website by uploading a php file to your website.
-
HTML email signature in Zoho Mail
How to add a HTML signature in Zoho Mail. A very easy and stable solution.
-
FREE EU Cookie Law Script
If you haven’t already implemented the changes then we’ve put together a little bit of code to help you.
-
Remove the shadow from Mac Screen Grabs
How to remove the shadow from Apple Screengrabs.
-
10 Useful Sites for Web Developers
Some useful websites for web developers.