{"id":867,"date":"2025-03-24T14:27:53","date_gmt":"2025-03-24T14:27:53","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/gd-post-title\/"},"modified":"2025-04-03T15:24:14","modified_gmt":"2025-04-03T14:24:14","slug":"gd-post-title","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-post-title\/","title":{"rendered":"GD > Post Title"},"content":{"rendered":"\n<div class=\"wp-block-blockstrap-blockstrap-widget-alert d-flex align-items-center fade show alert alert-success mb-3\" role=\"alert\"><span class=\"fas fa-check-circle me-2\"><\/span><span class=\"flex-grow-1\">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><\/span><\/div>\n\n\n\n<p>The <strong><em>Post Title&nbsp;<\/em><\/strong>widget outputs the filtered title of the post with a link.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Widget Options<\/h2>\n\n\n\n<div class=\"wp-block-blockstrap-blockstrap-widget-alert d-flex align-items-center fade show alert alert-info mb-3\" role=\"alert\"><span class=\"fas fa-info-circle me-2\"><\/span><span class=\"flex-grow-1\">Some settings for this widget are advanced settings, reveal them by clicking the button next to save.<\/span><\/div>\n\n\n\n<ul class=\"wp-block-list\"><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Example Output<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-9DHIJLA5pg.png\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Example Code<\/h2>\n\n\n<div class=\"card bs-component-example mb-3\">\n  <div class=\"card-header\"><ul class=\"nav nav-tabs mb-0 pb-0\" role=\"tablist\">\n  <li class=\"nav-item\" role=\"presentation\">\n    <button class=\"btn btn-translucent-primary active\" id=\"bs-tab-preview-1\" data-bs-toggle=\"pill\" data-bs-target=\"#tab-content-preview-1\" type=\"button\" role=\"tab\" aria-controls=\"tab-content-preview-1\" aria-selected=\"true\"><i class=\"far fa-eye\"><\/i> Preview<\/button>\n  <\/li>\n  <li class=\"nav-item\" role=\"presentation\">\n    <button class=\"btn btn-translucent-primary\" id=\"bs-tab-blockcode-1\" data-bs-toggle=\"pill\" data-bs-target=\"#tab-content-blockcode-1\" type=\"button\" role=\"tab\" aria-controls=\"tab-content-blockcode-1\" aria-selected=\"false\"><i class=\"fas fa-cubes\"><\/i> Block Code<\/button>\n  <\/li>\n  \n  <li class=\"nav-item\" role=\"presentation\">\n    <button class=\"btn btn-translucent-primary\" id=\"bs-tab-shortcode-1\" data-bs-toggle=\"pill\" data-bs-target=\"#tab-content-shortcode-1\" type=\"button\" role=\"tab\" aria-controls=\"tab-content-shortcode-1\" aria-selected=\"false\"><i class=\"fas fa-code\"><\/i> ShortCode<\/button>\n  <\/li><\/div><div class=\"card-body\"><\/ul>\n<div class=\"tab-content\" >\n  <div class=\"tab-pane fade show active\" id=\"tab-content-preview-1\" role=\"tabpanel\" aria-labelledby=\"bs-tab-preview-1\" tabindex=\"0\">\n<div class=\"wp-block-blockstrap-geodir-block-example mb-3 bg-image-fixed container language-javascript\">\n<div class=\"wp-block-geodirectory-geodir-widget-post-title\"><div class=\"geodir-post-title bsui sdel-43df21f3\" ><h2 class=\"geodir-entry-title  h5 \"><a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-post-title\/\" class=\"\" title=\"View: GD &gt; Post Title\">GD &gt; Post Title<\/a><\/h2><\/div><\/div>\n<\/div>\n<\/div>\n  <div class=\"tab-pane fade\" id=\"tab-content-blockcode-1\" role=\"tabpanel\" aria-labelledby=\"bs-tab-blockcode-1\" tabindex=\"0\"><pre><code class=\"language-javascript\">&lt;!-- wp:geodirectory\/geodir-widget-post-title {&quot;sd_shortcode&quot;:&quot;&#091;gd_post_title tag=&#039;h2&#039;  font_size_class=&#039;h5&#039;  overflow=&#039;&#039;  text_color=&#039;&#039;  mt=&#039;&#039;  mr=&#039;&#039;  mb=&#039;&#039;  ml=&#039;&#039;  pt=&#039;&#039;  pr=&#039;&#039;  pb=&#039;&#039;  pl=&#039;&#039;  text_align=&#039;&#039; &#093;&quot;} --&gt;\n&lt;div class=&quot;wp-block-geodirectory-geodir-widget-post-title&quot;&gt;&lt;\/div&gt;\n&lt;!-- \/wp:geodirectory\/geodir-widget-post-title --&gt;<\/code><\/pre><\/div>\n  <div class=\"tab-pane fade\" id=\"tab-content-shortcode-1\" role=\"tabpanel\" aria-labelledby=\"bs-tab-shortcode-1\" tabindex=\"0\"><pre><code class=\"language-javascript\">&#091;gd_post_title tag=&#039;h2&#039;  font_size_class=&#039;h5&#039;  overflow=&#039;&#039;  text_color=&#039;&#039;  mt=&#039;&#039;  mr=&#039;&#039;  mb=&#039;&#039;  ml=&#039;&#039;  pt=&#039;&#039;  pr=&#039;&#039;  pb=&#039;&#039;  pl=&#039;&#039;  text_align=&#039;&#039; &#093;\n\n<\/code><\/pre><\/div>\n<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>All Widgets come as Widgets, Shortcodes or Blocks. Learn more about our Super Duper Widgets The Post Title&nbsp;widget outputs the filtered title of the post with a link. Widget Options Some settings for this widget are advanced settings, reveal them by clicking the button next to save. Example Output Example Code Preview Block Code ShortCode [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[213,422],"class_list":["post-867","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\/867","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=867"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/867\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=867"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=867"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}