WordPress Clearline Theme – Display Tags not Categories
| 19-Jan-2012 | Posted by Sonia Hamilton under Clearline, PHP, Wordpress |
The WordPress Clearline theme displays categories not tags for posts, and doesn’t have a way of modifying it’s behaviour through the settings area. This is easily fixed with a one line code change:
Edit the file /var/www/wp-content/themes/clear-line/functions.php, and at approximately line 340 replace:
<?php the_category(', '); ?>
with this:
<?php the_tags('', ', '); ?>
The path to the functions.php file may be slightly different on your server; you can quickly locate it using find:
find / -type f -name functions.php 2> /dev/null
More Balintawak Videos
| 17-Jan-2012 | Balintawak, MartialArts |
I’ve added some more Balintawak Arnis videos to my Youtube page. They are edits of my training in the Philippines. Some warmup drills: And Groups 1, 2, and 3 of the Balintawak “Grouped Training System”: more…
Migrating from Palm to Android
| 17-Jan-2012 | Android, Google, PalmPilot |
My venerable Palm Treo 550 is showing it’s age (as is the company), so I’ve been looking for a new phone platform to migrate to for a few years. And since I’m now working for Google, Android is the obvious choice (dog-fooding and all that).… more…
First Day at Google – Floating Fish
| 12-Jan-2012 |
My first day at Google – a fish floated through the kitchen… more…
Balintawak Arnis Cebu
| 16-Nov-2011 | Balintawak, MartialArts |
I’m in Cebu, the Philippines at the moment, learning Balintawak Arnis (stick fighting). A little video of my training – I’m still very much a beginner… more…
ssh – DISPLAY is not set – Failed to allocate internet-domain X11 display socket
| 06-Nov-2011 | Linux, Ssh, Ubuntu |
A little ssh error I came across while trying to work remotely on an Ubuntu machine. ssh X Display Forwarding wasn’t working, and I was getting an error: DISPLAY is not set Digging through /var/log/auth.log, I also noticed this error: Failed to allocate internet-domain X11… more…
reload mutt configuration
| 20-Oct-2011 | Linux, mutt |
To reload your mutt configuration (for example after editing muttrc): :source /path/to/muttrc For example: :source /home/sonia/.muttrc more…
Recent Comments