{"id":220196,"date":"2025-01-27T13:00:30","date_gmt":"2025-01-27T13:00:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wueen\/"},"modified":"2025-01-27T13:02:30","modified_gmt":"2025-01-27T13:02:30","slug":"wueen","status":"closed","type":"plugin","link":"https:\/\/hat.wordpress.org\/plugins\/wueen\/","author":17009515,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2.0","stable_tag":"0.2.0","tested":"6.7.5","requires":"4.8","requires_php":"5.6","requires_plugins":null,"header_name":"Wueen","header_author":"HerMinal","header_description":"Use post content anywhere with a shortcode. Variables in the wueen-blocket post type allow dynamic content changes via shortcode attributes.","assets_banners_color":"34242f","last_updated":"2025-01-27 13:02:30","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/elatel.ir","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/wueen\/","header_author_uri":"https:\/\/herminal.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":596,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.2.0":{"tag":"0.2.0","author":"nabeghe","date":"2025-01-27 13:02:30"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3229555,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3229555,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3229555,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3229555,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3229555,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3229555,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3229555,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3229555,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Wueen Blocket Post Type","2":"Wueen Blocket Variable","3":"Wueen Blocket Shortcode","4":"Wueen Blocket Usage","5":"Wueen Blocket Result"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[13231,86,2008,237509,80],"plugin_category":[43],"plugin_contributors":[237510],"plugin_business_model":[],"class_list":["post-220196","plugin","type-plugin","status-closed","hentry","plugin_tags-content-block","plugin_tags-post","plugin_tags-post-type","plugin_tags-shared-content","plugin_tags-shortcode","plugin_category-customization","plugin_contributors-nabeghe","plugin_committers-nabeghe"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wueen_34242f.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wueen\/assets\/screenshot-1.png?rev=3229555","caption":"Wueen Blocket Post Type"},{"src":"https:\/\/ps.w.org\/wueen\/assets\/screenshot-2.png?rev=3229555","caption":"Wueen Blocket Variable"},{"src":"https:\/\/ps.w.org\/wueen\/assets\/screenshot-3.png?rev=3229555","caption":"Wueen Blocket Shortcode"},{"src":"https:\/\/ps.w.org\/wueen\/assets\/screenshot-4.png?rev=3229555","caption":"Wueen Blocket Usage"}],"raw_content":"<!--section=description-->\n<p>Sometimes, you need to use the same content across multiple posts as shared content. This shared content can save time, but the usual method of copying and pasting isn\u2019t ideal. Here\u2019s why:\n\u2013 Editing is a hassle. If the content is copied across several posts, making updates becomes time-consuming and frustrating.\n\u2013 Post size gets bloated. If the shared content is lengthy and used in multiple posts, it can unnecessarily increase your database size.<\/p>\n\n<p>That\u2019s where the Wueen plugin steps in to save the day!\nWith a simple shortcode and the <code>wueen-blocket<\/code> custom post type, you can streamline this process. Here\u2019s how it works:\n1- Create your shared content as a wueen-blocket post.\n2- Use the shortcode, which includes the content\u2019s unique ID, to insert it into any post, page, or widget.<\/p>\n\n<p>Now for the cool part: You can make your content dynamic with variables!\nAdd key-value pairs to your wueen-blocket post, and use them inside curly braces { } within the text. When the shortcode is used, these variables will automatically be replaced with their values. And here\u2019s the cherry on top: You can override these values directly in the shortcode to make the content even more adaptable!<\/p>\n\n<p>With Wueen, managing shared content has never been easier\u2014or more flexible. \ud83d\ude0a<\/p>\n\n<h4>Features<\/h4>\n\n<p>\u2013 <strong>Custom Post Type wueen-blocket:<\/strong> Easily create and manage shared content.\n\u2013 <strong>Variable Definition:<\/strong> Add key-value variables to your wueen-blocket posts and use them directly within the content.\n\u2013 <strong>Shortcode Support:<\/strong> Insert content from any wueen-blocket post anywhere using its unique ID (post ID).\n\u2013 <strong>Dynamic Variables:<\/strong> Override variables directly through the shortcode for added flexibility.\n\u2013 <strong>Nested Shared Content<\/strong>: The ability to use any shortcodes within contents.<\/p>\n\n<h3>Usage<\/h3>\n\n<ol>\n<li><p>Create a New Wueen Blocket\n\u2013 From the admin dashboard menu, navigate to <strong>Wueen Blockets<\/strong> and click on <strong>Add New Blocket<\/strong>.\n\u2013 Enter a title and your content. Note: The title is for organizational purposes only and won\u2019t appear on the front end.<\/p><\/li>\n<li><p>Define Variables (Optional)\n\u2013 If your content includes repetitive or dynamic values, you can define them using the Wueen Blocket Variables metabox.\n\u2013 Use lowercase letters for variable names and replace spaces with hyphens (<code>-<\/code>).\n\u2013 In your content, wrap the variable names in curly braces <code>{ }<\/code>.\nFor example, if your variable name is <code>version<\/code> include <code>{version}<\/code> in your content to dynamically replace it.<\/p><\/li>\n<li><p>Copy the Shortcode:\nYou\u2019ll find the shortcode under the Publish metabox. It looks like this:\n[wueen-blocket id=\"POST_ID\"][\/wueen-blocket]\nCopy and use the shortcode wherever needed.<\/p><\/li>\n<\/ol>\n\n<h4>Shortcode Structure<\/h4>\n\n<p>The id attribute is required, while additional attributes can customize functionality:\n\u2013 <strong>content-position:<\/strong> Accepts <code>after<\/code> or <code>before<\/code>. Default value is <code>after<\/code>. It determines whether the content inside the shortcode tags should appear before or after the content specified by the ID.\n\u2013 <strong>shortcode:<\/strong> Accepts <code>on<\/code> or <code>off<\/code>. Default value is <code>on<\/code>. It controls whether any shortcodes within the shared content are executed.\n\u2013 <strong>err-404:<\/strong> Specifies the error message if the ID is not found. Default: \"Wueen Blocket {id} not found\".\n\u2013 <strong>Custom attributes starting with v-:<\/strong> Override variable values. For example, <code>v-version<\/code> can set a new value for the <code>version<\/code> variable.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Go to <strong>Plugins<\/strong> &gt; <strong>Add New<\/strong>.<\/li>\n<li>Under Search, type <strong>Wueen<\/strong><\/li>\n<li>Find <strong>Wueen<\/strong> &amp; click <strong>Install Now<\/strong> to install it<\/li>\n<li>If successful, click <strong>Activate Plugin<\/strong> to activate it &amp; you are ready to go.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20the%20post%20status%20matter%3F\"><h3>Does the post status matter?<\/h3><\/dt>\n<dd><p>The content will only be displayed if the post is published, unless the <code>force-display<\/code> attribute is set to <code>on<\/code>.<\/p><\/dd>\n<dt id=\"is%20it%20possible%20to%20use%20the%20id%20of%20post%20types%20other%20than%20%60wueen-blocket%60%20in%20the%20shortcode%3F\"><h3>Is it possible to use the ID of post types other than `wueen-blocket` in the shortcode?<\/h3><\/dt>\n<dd><p>You can use the ID of any post type in the shortcode to display its content, but variables are only available in <code>wueen-blocket<\/code>.<\/p><\/dd>\n<dt id=\"does%20wueen%20have%20a%20settings%20page%3F\"><h3>Does Wueen have a settings page?<\/h3><\/dt>\n<dd><p>Currently, there is no need for a settings page.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.2.0<\/h4>\n\n<p>Initial release<\/p>","raw_excerpt":"Use post content anywhere with a shortcode. Variables in the wueen-blocket post type allow dynamic content changes via shortcode attributes.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/220196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=220196"}],"author":[{"embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nabeghe"}],"wp:attachment":[{"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=220196"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=220196"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=220196"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=220196"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=220196"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/hat.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=220196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}