{"id":2536,"date":"2026-10-20T08:34:14","date_gmt":"2026-10-20T07:34:14","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/category-title-and-description-on-category-pages\/"},"modified":"2026-10-20T08:41:01","modified_gmt":"2026-10-20T07:41:01","slug":"category-title-and-description-on-category-pages","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/category-title-and-description-on-category-pages\/","title":{"rendered":"How to show the category title and description on GeoDirectory category pages"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Every category page uses one archive template, so you build the header once and it fills in the current category on its own. You do not need a separate page or header for each category.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The category title<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Add the GD &gt; Page Title block or <code>&#091;gd_page_title&#093;<\/code> shortcode to your archive template. The template is the page set as <em>Archive page<\/em> at GeoDirectory &gt; Settings &gt; General &gt; Pages.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The text comes from GeoDirectory &gt; Settings &gt; General &gt; Titles &amp; Meta, in the <em>Category Title<\/em> setting. The default is <code>All %%category%% %%in_location_single%%<\/code>. Change it to <code>%%category%%<\/code> if you want only the category name. See <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/explore-settings\/settings-overview-for-general-titles-meta\/\">Settings Overview for General &gt; Titles &amp; Meta<\/a> for all the variables.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This page title still works when Yoast SEO, Rank Math or another SEO plugin is active. Those plugins take over the meta title and meta description in the browser tab and search results, but the heading on the page still comes from the GeoDirectory setting.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The category description and image<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Add the <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-category-description\/\">GD &gt; Category Description<\/a> block or <code>&#091;gd_category_description&#093;<\/code> to show the text from <em>Category Top Description<\/em> on each category. That field accepts HTML, so you can put an image or icon in it for each category.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Two headings on the page<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you see two titles, for example your own heading and one from the theme, your theme is printing its own archive title as well. Remove one of them: either drop the page title block from the template, or turn off the archive title in your theme settings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Shortcodes from GeoDirectory v1 do not work in v2. Every current element is available as a shortcode, a block and a widget, and the <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/shortcode-builder\/\">shortcode builder<\/a> lists them all.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every category page uses one archive template, so you build the header once and it fills in the current category on its own. You do not need a separate page or header for each category. The category title Add the GD &gt; Page Title block or &#091;gd_page_title&#093; shortcode to your archive template. The template is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[211,432],"class_list":["post-2536","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-tips-tricks-more","gd_placecategory-how-tos"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2536","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=2536"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2536\/revisions"}],"predecessor-version":[{"id":2714,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2536\/revisions\/2714"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2536"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2536"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}