Results 1 to 2 of 2

Thread: Display "tags" column rather than "posted" column?

  1. #1
    Thread Starter
    Amateur
    Not a Verified Customer
    deeve007's Avatar
    Join Date
    May 2009
    Posts
    19
    Thanks
    0
    Thanked 1 Time in 1 Post

    Display "tags" column rather than "posted" column?

    Hey guys,

    I'm wanting to have a column displaying the tags rather than the posted date, as is default.

    I know it's the line of code below that needs to change, but don't really know enough PHP/MySQL to know how to code it myself, so any help appreciated.

    <span class="date"><?php echo classi_time($post->post_date); ?></span>

  2. #2
    Veteran pointandstare's Avatar
    Join Date
    Apr 2009
    Location
    London, England
    Posts
    311
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: Display "tags" column rather than "posted" column?

    So you want to swap the date info with the tag info?

    If so swap the line you have
    Code:
    <span class="date"><?php echo classi_time($post->post_date); ?></span>
    with

    Code:
    <span class="date"><?php _e('Tags','cp'); ?>: <?php the_tags( '', ', ', ''); ?></span>
    You might find it best to copy/ paste the date class and rename it but generally that's the line you need.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)