{"id":771,"date":"2025-03-24T14:27:38","date_gmt":"2025-03-24T14:27:38","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/gd-single-tabs\/"},"modified":"2025-04-03T15:23:59","modified_gmt":"2025-04-03T14:23:59","slug":"gd-single-tabs","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-single-tabs\/","title":{"rendered":"GD > Single Tabs"},"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<p>\n\t The <strong><em>Single Tabs<\/em><\/strong>&nbsp;widget outputs the content of the tabs from the tabs builder. You can build the content of the tabs under each CPT.<strong> Places &gt; Settings &gt; Tabs.<\/strong><\/p>\n<section class=\"alert alert-info\">This widget is used <strong>exclusively<\/strong> on the single <strong>details page template<\/strong>.<\/section>\n<h2>Widget Options<\/h2>\n<section class=\"alert alert-info\">\n\tAll settings for this widget are advanced settings, reveal them by clicking the button next to save.<\/section>\n<ul>\n<li> <strong>Show as list<\/strong> &#8211; This will show the output as a title headed list instead of<\/li>\n<li>\n<ul>\n<li><strong>Default<\/strong> &#8211; Tabbed items.<\/li>\n<li><strong>Head only<\/strong> &#8211; This will output only the tab headings (allowing you to separate the headings from the content)<\/li>\n<li><strong>Body only<\/strong>&nbsp;&#8211; This will output only the tab body content&nbsp;(allowing you to separate the headings from the content)<\/li>\n<li>JSON array &#8211; <strong>This is a developer option<\/strong> that can give theme developers exact control over output.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>Example Output<\/h2>\n<p>\n\tDefault Tabbed output:<\/p>\n<p>\n\t<img width=\"633\" height=\"379\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-0KeSYFkjrT.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-0KeSYFkjrT.png 633w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-0KeSYFkjrT-300x180.png 300w\" sizes=\"auto, (max-width: 633px) 100vw, 633px\" \/><\/p>\n<p>\n\tOutput as a list:<\/p>\n<p>\n\t<img width=\"244\" height=\"1024\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-wxEEoztoQ3-244x1024.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-wxEEoztoQ3-244x1024.png 244w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-wxEEoztoQ3-366x1536.png 366w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-wxEEoztoQ3-488x2048.png 488w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-wxEEoztoQ3.png 630w\" sizes=\"auto, (max-width: 244px) 100vw, 244px\" \/><\/p>\n<p> <em style=\"background-color: initial;\"> <br \/>\n\t<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>All Widgets come as Widgets, Shortcodes or Blocks. Learn more about our Super Duper Widgets. The Single Tabs&nbsp;widget outputs the content of the tabs from the tabs builder. You can build the content of the tabs under each CPT. Places &gt; Settings &gt; Tabs. This widget is used exclusively on the single details page template. [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[422,213],"class_list":["post-771","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-core-widgets","gd_placecategory-extensions-features"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/771","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=771"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/771\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=771"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=771"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}