Subscribe RSS

sonia hamilton

linux, bjj, balintawak arnis
  • Home
  • About
  • Contact
  • Privacy Policy

WordPress Clearline Theme – Display Tags not Categories

19-Jan-2012 Posted by Sonia Hamilton under Clearline, PHP, Wordpress
No Comments

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


                Pearson Education (InformIT)

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 Google

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…

Next Page »
Tag Cloud
Apt Audio BJJ Cheatsheets comment Cron employment Exercises Expect film Firefox Git Gnome Gnu Screen High Availability humour Iptables Linux Lisp MartialArts MSSQL2000 MSSQL2005 MySQL Networking Oracle OSX PalmPilot Perl Procmail Python Rsync Ruby Ruby on Rails Sed Shell Slug Solaris Spanish SQL Ssh Subversion Ubuntu Vim Windows Wireless
Recent Posts
  • WordPress Clearline Theme – Display Tags not Categories
  • More Balintawak Videos
  • Migrating from Palm to Android
  • First Day at Google – Floating Fish
  • Balintawak Arnis Cebu
  • ssh – DISPLAY is not set – Failed to allocate internet-domain X11 display socket
  • reload mutt configuration
  • RFC 1178 and server naming
Recent Comments
  • Sonia Hamilton on Setting up Gitweb on your Ubuntu workstation
  • Sonia Hamilton on Setting up Gitweb on your Ubuntu workstation
  • Sonia Hamilton on Perl – my, use vars, our, local, use strict
  • Sonia Hamilton on Perl – my, use vars, our, local, use strict
  • Sonia Hamilton on Backup multiple MySQL databases into separate files
  • Sonia Hamilton on Backup multiple MySQL databases into separate files
  • Sonia Hamilton on Backup multiple MySQL databases into separate files


    Log in