WordPress.org

Ready to get started?Download WordPress

Forums

Title For Category (2 posts)

  1. sendmassage
    Member
    Posted 4 years ago #

    Hi WordPress Fans,

    I am submitting my question here as i did a lot of search anywhere but i didn't find solution for my issue. detail of which is given below.

    When we create "Category" in WordPress 2.8 there are 3 tables

    1. Category Name
    2. Category Slug
    3. Category Description

    I need your help to make explained Titles for categories.
    for example

    Category Name: New Category

    and when we browse this category, title will be "New category". i just want to add an explained title/ detailed title.

    i did install "All in One SEO" plugin as well as "SEO Title TAG" but they don't support me in this matter.

    Please help me to solve this issue for better SEO results.

    Thanks in advance for reply

  2. nouveller
    Member
    Posted 4 years ago #

    You could use an if statement to check what the category is, then print your category description.

    This could go on your archive.php page

    <?php 
    
    	if(is_category('New category')) {
    
    		echo "Your Description";
    
    	}
    
    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic