{"id":800,"date":"2025-03-24T14:27:43","date_gmt":"2025-03-24T14:27:43","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/gd-loop-paging\/"},"modified":"2025-04-03T15:24:03","modified_gmt":"2025-04-03T14:24:03","slug":"gd-loop-paging","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-loop-paging\/","title":{"rendered":"GD > Loop Paging"},"content":{"rendered":"<section class=\"alert alert-success dashed\">\n\t All Widgets come as Widgets, Shortcodes or Blocks. Learn more about our <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/what-makes-geodirectory-widgets-special\/\">Super Duper Widgets<\/a>.<\/section>\n<section class=\"alert alert-danger\">\n\t This is a <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/what-is-a-template-widget\/\"> template widget<\/a> and should only ever be used on the <strong>GD Archive template<\/strong> page.<\/section>\n<p>\n\t The <strong><em>Loop Paging<\/em><\/strong> widget is used to shows the pagination links if the current query has multiple pages of results.&nbsp;It is used almost exclusively on the&nbsp;<strong>GD Archive page template <\/strong>usually before or after the GD &gt; Loop widget.<\/p>\n<h2>Widget Options<\/h2>\n<ul>\n<li><strong>Show Advanced pagination<\/strong> &#8211; This will output specific information about the number of listings either before or after the pagination. E.g:&nbsp;<em>Showing Places 1-5 of 30<\/em><\/li>\n<\/ul>\n<h2>Template Page Example<\/h2>\n<p>\n\t As a shortcode<\/p>\n<p><img width=\"341\" height=\"185\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-1bnNsO8eLi.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-1bnNsO8eLi.png 341w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-1bnNsO8eLi-300x163.png 300w\" sizes=\"auto, (max-width: 341px) 100vw, 341px\" \/><\/p>\n<p>Example Output<\/p>\n<p><img width=\"615\" height=\"416\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-6tfA75MsRq.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-6tfA75MsRq.png 615w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-6tfA75MsRq-300x203.png 300w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>All Widgets come as Widgets, Shortcodes or Blocks. Learn more about our Super Duper Widgets. This is a template widget and should only ever be used on the GD Archive template page. The Loop Paging widget is used to shows the pagination links if the current query has multiple pages of results.&nbsp;It is used almost [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[213,422],"class_list":["post-800","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-extensions-features","gd_placecategory-core-widgets"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/800","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=800"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/800\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=800"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=800"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}