WP Residence Help WP Residence Help

  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API
Home / Technical how to | Custom Code Required / How to Display Category Descriptions

How to Display Category Descriptions

6838 views 0

The theme uses the taxonomy description in page source for SEO reasons, however, you don’t see it visible on the category page as we allow users to add a different kind of content in such pages. Here is the code of a page with the category description showing (search engines read this value and index your details accordingly, so no worries about SEO being affected)

How to add Description text

Head over to Properties » Categories page. If you are creating a new category, then you can simply enter category name and description here and then click on ‘Add new category’ button.

If you want to add description to an existing category, then you need to click on the ‘Edit’ link below that category.

This will take you to category edit screen where you can add description for your category.

Don’t forget to click on the ‘Update’ button to save your changes.

Repeat the process to add descriptions to all your categories. You can use the same method to add descriptions for tags as well.

Display Category Description on Category Page

This code must be added to php with an editor tool

http://www.wpbeginner.com/wp-tutorials/how-to-display-category-descriptions-in-wordpress/

Add the code in standard taxonomy category like this

File to modify: templates\properties_list_templates\taxonomy_page_normal_map_core.php, after the title

Result

To style further, use this css class and add / edit the styling details you wish.

.taxonomy-description{
float: left;
line-height: 1.6em;
margin-bottom: 15px;
}

Add the text in Half Map category design

File to modify: templates\properties_list_templates\taxonomy_page_half_map_core.php, after the title

To style further, use this css class and add / edit the styling details you wish.

.taxonomy-description {
width: 100%;
float: left;
padding: 10px 30px;
}

Help article about how to add custom CSS

Technical how to | Custom Code Required

Related Articles

  • Technical: Change the Schedule Tour Email Text and the Form Default Message
  • Property list filter customization
  • Technical – How to Change the Minimum Image Dimensions for Property Uploads in WPResidence
  • Introduction to WPResidence Header Customization

Help Categories

  • 18Agent, Agency & Developers
  • 5Blog Posts & Blog Lists
  • 38Elementor Shortcodes Built-In
  • 45FAQ
  • 15Footer
  • 5Getting Started
  • 37Header
  • 2IDX & MLSImport
  • 6Installation & Setup
  • 23Installation FAQ
  • 23Maps & Location Settings
  • 21Multi-Language Third Party Plugins
  • 6Other Third party Plugins
  • 19Pages
  • 4Payments & Monetization
  • 20Property Lists, Categories & Archive
  • 36Property Pages & Layouts
  • 31Search & Filtering
  • 162Technical how to | Custom Code Required
  • 8Technical: Actions and filters
  • 6Technical: Child Theme
  • 86Theme Options & Global Settings
  • 6Translations & Languages
  • 16WPBakery Shortcodes
  • 51WPResidence / WPEstate CRM
  • 50WPResidence 5.0 Documentation
  • 8WPResidence Elementor Studio
  • 50WPResidence Translate Plugin

Join Us On

Powered by WP Estate - All Rights Reserved
  • WPRESIDENCE
  • Video Tutorials
  • Client Support
  • API