Results 1 to 9 of 9

Thread: H1 Heading & Category Description Text

  1. #1
    Thread Starter
    gloyns's Avatar
    Join Date
    Apr 2012
    Location
    Australia
    Posts
    12
    Thanks
    0
    Thanked 5 Times in 1 Post

    H1 Heading & Category Description Text

    Hi guys,

    I wanted to add a relevant H1 header and also include a brief paragraph of text for each of my category pages. To be honest, this is just for SEO purposes to help improve the relevance of each category page and ensure that each page has some sort of content to avoid me having a tonne of 'thin content' pages.

    To do this, I edited archive-listing.php, lines 13-15 with the following.

    Code:
    <h1><?php echo $cat_name = single_cat_title('',false); ?> Listings</h1>
    
    <p><?php echo category_description( $category_id ); ?></p>
    The category text is pulled from the description text box found under each category in the WordPress Listings>Categories section.

    Example: Plumbers - Australian Website Directory

  2. The Following 5 Users Say Thank You to gloyns For This Useful Post:

    alexandernyquist (August 8th, 2012), lelaiskandar (June 13th, 2012), ridda (May 3rd, 2012), stephenodonn (May 8th, 2012), tinnud (May 5th, 2012)

  3. #2
    Rookie ridda's Avatar
    Join Date
    Apr 2012
    Location
    Australia
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #3
    Senior Member circlecity's Avatar
    Join Date
    Dec 2010
    Location
    United States
    Posts
    141
    Thanks
    15
    Thanked 14 Times in 13 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #4
    Thread Starter
    gloyns's Avatar
    Join Date
    Apr 2012
    Location
    Australia
    Posts
    12
    Thanks
    0
    Thanked 5 Times in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #5
    Senior Member zxen's Avatar
    Join Date
    Dec 2010
    Location
    Australia
    Posts
    112
    Thanks
    2
    Thanked 9 Times in 5 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #6
    Thread Starter
    gloyns's Avatar
    Join Date
    Apr 2012
    Location
    Australia
    Posts
    12
    Thanks
    0
    Thanked 5 Times in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #7
    Senior Member scorzaze's Avatar
    Join Date
    May 2012
    Location
    Virginia
    Posts
    122
    Thanks
    20
    Thanked 12 Times in 10 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #8
    Expired Customer lelaiskandar's Avatar
    Join Date
    Jun 2012
    Location
    Malaysia
    Posts
    44
    Thanks
    13
    Thanked 9 Times in 8 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. The Following 2 Users Say Thank You to lelaiskandar For This Useful Post:

    scorzaze (June 13th, 2012), tbase (June 13th, 2012)

  11. #9
    Senior Member scorzaze's Avatar
    Join Date
    May 2012
    Location
    Virginia
    Posts
    122
    Thanks
    20
    Thanked 12 Times in 10 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  12. The Following User Says Thank You to scorzaze For This Useful Post:

    lelaiskandar (June 14th, 2012)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Add Default Text to Description Field
    By kdubose in forum ClassiPress General Discussion
    Replies: 3
    Last Post: March 28th, 2012, 07:26 PM
  2. [SOLVED] how to put the text of the description of the list of ads in bold?
    By eberth in forum ClassiPress General Discussion
    Replies: 7
    Last Post: October 2nd, 2011, 08:45 AM
  3. [MOD NEEDED] Change Description heading to other text
    By johnhoefer in forum ClassiPress General Discussion
    Replies: 2
    Last Post: January 18th, 2011, 11:20 AM
  4. [SOLVED] PROBLEM : Description Text
    By riyadho in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: November 25th, 2010, 07:11 AM
  5. Heading description text
    By haggis82 in forum Report ClassiPress Bugs
    Replies: 4
    Last Post: August 11th, 2010, 01:11 AM