Results 1 to 6 of 6

Thread: Display Ad Category In Listing Without Hyperlink?

  1. #1
    Thread Starter
    jamesfrancis's Avatar
    Join Date
    Jan 2011
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Display Ad Category In Listing Without Hyperlink?

    Ok, so I'm looking to display the ad category of a post within the ad listing itself...

    More specifically, just outside <?php the_content(); ?> in the "single-ad_listing.php" file.

    So far, I've got this to work...

    PHP Code:
    <?php if (get_the_category()) the_category(', '); else echo get_the_term_list($post->ID'ad_cat'''', '''); ?>
    ... However, it shows up hyperlinked to the category.

    How do you get rid of this hyperlink, so it just displays the text?

    Thanks!
    - James.

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,006
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Thread Starter
    jamesfrancis's Avatar
    Join Date
    Jan 2011
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    jamesfrancis's Avatar
    Join Date
    Jan 2011
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Thread Starter
    jamesfrancis's Avatar
    Join Date
    Jan 2011
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    41,006
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [MOD NEEDED] Dont display listing and expires date
    By alinimmo in forum ClassiPress General Discussion
    Replies: 14
    Last Post: July 22nd, 2011, 05:41 AM
  2. featured listing image no display
    By drklss in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: January 21st, 2011, 12:36 PM
  3. Individual category ad listing periods/ ad packs ad listing period
    By michaeldante in forum ClassiPress General Discussion
    Replies: 5
    Last Post: December 17th, 2010, 07:47 PM
  4. Thumbnail Display on Listing Page
    By gomeetpete in forum Report ClassiPress Bugs
    Replies: 10
    Last Post: April 9th, 2010, 01:32 AM