Results 1 to 2 of 2

Thread: How to display the category of the ad w/o it being a link?

  1. #1
    Thread Starter
    Senior Member herb_'s Avatar
    Join Date
    May 2009
    Posts
    230
    Thanks
    0
    Thanked 6 Times in 6 Posts

    How to display the category of the ad w/o it being a link?

    Hi, anyone know how to display the Category name along with each ad on index pages, without it being a link?

    I found this in index-standard.php

    Code:
    <p class="bot4px dotted"><?php _e('Category','cp') ?>: <?php the_category(', ') ?> | <?php _e('Listed','cp') ?>: <?php echo cp_ad_posted($post->post_date); ?>
    the_category is what makes the category shown as a link. I would like to display the category name along each ad but have it not be clickable

  2. #2
    Thread Starter
    Senior Member herb_'s Avatar
    Join Date
    May 2009
    Posts
    230
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: How to display the category of the ad w/o it being a link?

    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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