{"id":827,"date":"2025-03-24T14:27:47","date_gmt":"2025-03-24T14:27:47","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/compare-listings-basics\/"},"modified":"2025-04-03T15:24:08","modified_gmt":"2025-04-03T14:24:08","slug":"compare-listings-basics","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/compare-listings\/compare-listings-basics\/","title":{"rendered":"Compare Listings Basics"},"content":{"rendered":"<section class=\"alert alert-info\">\n<p> Use the <a href=\"https:\/\/wpgeodirectory.com\/docs-v2\/addons\/compare-listings\/\">Compare Listings<\/a> addon to let your users view listings side by side and compare vital information.<\/section>\n<h2>Installation<\/h2>\n<p> <a href=\"\/category\/47-installing-extensions\">Installation instructions can be found here.<\/a><\/p>\n<h2>Compare listings template<\/h2>\n<ol>\n<li>A new page will be available at&nbsp;<em style=\"background-color: initial;\"><strong>GD &gt; Settings &gt; General tab &gt; Pages sub-tab &gt; Comparisons Page Settings<\/strong><\/em>: <img width=\"835\" height=\"354\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-pg45sVAUvx.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-pg45sVAUvx.png 835w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-pg45sVAUvx-300x127.png 300w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-pg45sVAUvx-768x326.png 768w\" sizes=\"auto, (max-width: 835px) 100vw, 835px\" \/><\/li>\n<li>The <strong>Compare Listings page<\/strong> is the page that your visitors will see after they select listings to compare.<\/li>\n<li>It uses the&nbsp;<strong>[gd_compare_list]<\/strong>&nbsp;shortcode or the&nbsp;<strong>GD &gt; Compare List<\/strong>&nbsp;block.<\/li>\n<\/ol>\n<h2>Compare Button<\/h2>\n<ol>\n<li>You can add the&nbsp;<strong>Compare Button<\/strong>&nbsp;to your Detail page and the GD Archive Item template.<\/li>\n<li>Use the&nbsp;<strong>[gd_compare_button]<\/strong>&nbsp;shortcode or the&nbsp;<strong>GD &gt; Compare Button<\/strong>&nbsp;block or widget.<\/li>\n<\/ol>\n<h2>Selecting custom fields to compare<\/h2>\n<ol>\n<li>To select which custom fields will be added to the comparison table on the&nbsp;<strong>Compare List<\/strong>&nbsp;page, you need to select&nbsp;<strong>Comparison Page<\/strong>&nbsp;in the&nbsp;<strong>Show in extra output location<\/strong>&nbsp;settings for each custom field:<br \/> <img width=\"256\" height=\"142\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-Rysz9YSFy3.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/> <\/li>\n<\/ol>\n<h2>Preset Compare listings pages<\/h2>\n<ol>\n<li>You can also create your own <strong>preset pages<\/strong> by adding the post IDs of your listings to the <strong>[gd_compare_list]<\/strong> shortcode, for example:<br \/> \n<pre>&#91;gd_compare_list items=\"1596,1594,1592,1590,1588\"&#93;\n\t<\/pre>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Use the Compare Listings addon to let your users view listings side by side and compare vital information. Installation Installation instructions can be found here. Compare listings template A new page will be available at&nbsp;GD &gt; Settings &gt; General tab &gt; Pages sub-tab &gt; Comparisons Page Settings: The Compare Listings page is the page that [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[658],"article\/categories":[213,420],"class_list":["post-827","gd_place","type-gd_place","status-publish","hentry","gd_place_tags-comparison","gd_placecategory-extensions-features","gd_placecategory-compare-listings"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/827","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"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=827"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/827\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=827"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=827"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}