{"id":669,"date":"2025-03-26T13:42:35","date_gmt":"2025-03-26T13:42:35","guid":{"rendered":"https:\/\/wpgetpaid.com\/documentation\/?post_type=gd_place&#038;p=669"},"modified":"2025-03-26T13:53:58","modified_gmt":"2025-03-26T13:53:58","slug":"what-makes-getpaid-widgets-special","status":"publish","type":"gd_place","link":"https:\/\/wpgetpaid.com\/documentation\/article\/explore-settings\/what-makes-getpaid-widgets-special\/","title":{"rendered":"What makes GetPaid Widgets Special?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">The Problem<\/h2>\n\n\n\n<p>In WordPress, developers have 3 different ways to output content;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Widgets<\/strong><\/li>\n\n\n\n<li><strong>Shortcodes<\/strong><\/li>\n\n\n\n<li><strong>Blocks<\/strong> (Gutenberg Editor)<\/li>\n<\/ul>\n\n\n\n<p><strong>The problem is that all 3 are created in different ways<\/strong>.&nbsp; As a result, creating a map &#8220;widget&#8221; that is able to be output by all 3 would require the creation and maintaining of 3 different code bases. This means <strong>3x more time to build, maintain and fix<\/strong> any issues as well as inconsistencies between the settings inputs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Our Super Duper Solution<\/h2>\n\n\n\n<p>Back before the Gutenberg editor was introduced and Blocks were a thing, we (and most devs) already disliked maintaining a shortcode and a widget that did the same thing. Therefore when blocks came into the scene we decided a new solution was needed and in early 2018 we created <strong>WP Super Duper.<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">WP Super Duper<\/h3>\n\n\n\n<p>WP Super Duper is a PHP Class that does several important things, the core idea is that you write your code once and it will;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Create a shortcode.<\/strong><\/li>\n\n\n\n<li><strong>Create a widget.<br><\/strong><\/li>\n\n\n\n<li><strong>Create a Block. <\/strong>(without any JS knowledge required)<\/li>\n\n\n\n<li><strong>Have the exact same settings inputs for all 3.<\/strong><\/li>\n\n\n\n<li><strong>Have the exact same output results no matter what you use, shortcode, widget or block.<\/strong><\/li>\n\n\n\n<li><strong>Adds a visual shortcode builder when using the classic editor.<\/strong><\/li>\n\n\n\n<li><strong>Provide&#8217;s compatibility with almost all page builders.<\/strong><\/li>\n\n\n\n<li><strong>Reduces the amount of PHP code used.<\/strong><\/li>\n\n\n\n<li><strong>Reduces the time needed to add new features.<\/strong><\/li>\n<\/ul>\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\">WP Super Duper is used in all our projects so users always have a consistent way to output content.<\/span><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Problem In WordPress, developers have 3 different ways to output content; The problem is that all 3 are created in different ways.&nbsp; As a result, creating a map &#8220;widget&#8221; that is able to be output by all 3 would require the creation and maintaining of 3 different code bases. This means 3x more time [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[214],"class_list":["post-669","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-explore-settings"],"_links":{"self":[{"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article\/669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/comments?post=669"}],"version-history":[{"count":0,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article\/669\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/media?parent=669"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=669"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgetpaid.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}