{"id":335529,"date":"2026-07-05T13:35:11","date_gmt":"2026-07-05T13:35:11","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/postguard-toolkit\/"},"modified":"2026-07-05T13:34:36","modified_gmt":"2026-07-05T13:34:36","slug":"dmvaldez-clean-post-toolkit","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/dmvaldez-clean-post-toolkit\/","author":23511624,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.0","stable_tag":"1.2.0","tested":"7.0","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"DMValdez Clean Post Toolkit","header_author":"Donald Valdez","header_description":"Protects standard WordPress posts from page builder bloat by disabling Elementor on posts and providing native, lightweight shortcode tools (Buttons & Accordions) for the Classic Editor.","assets_banners_color":"","last_updated":"2026-07-05 13:34:36","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/dmvaldez-clean-post-toolkit\/","header_author_uri":"https:\/\/donaldvaldez.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":37,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.2.0":{"tag":"1.2.0","author":"donaldmvaldez","date":"2026-07-05 13:34:36"}},"upgrade_notice":{"1.2.0":"<p>Plugin renamed to DMValdez Clean Post Toolkit \u2014 shortcodes, options, and existing content are unaffected.<\/p>","1.1.0":"<p>Adds custom button colors\/borders\/alignment and multi-item accordion groups \u2014 no breaking changes, existing <code>[postguard_btn]<\/code> and <code>[postguard_accordion]<\/code> content keeps working unchanged.<\/p>"},"ratings":[],"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":3596787,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3596787,"resolution":"1","location":"assets","locale":"","width":1101,"height":551},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3596787,"resolution":"2","location":"assets","locale":"","width":641,"height":762},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3596787,"resolution":"3","location":"assets","locale":"","width":930,"height":856},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3596787,"resolution":"4","location":"assets","locale":"","width":1205,"height":832},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3596787,"resolution":"5","location":"assets","locale":"","width":601,"height":90}},"screenshots":{"1":"The DMValdez Clean Post Toolkit icon in the Classic Editor toolbar.","2":"The \"Insert Button\" dialog \u2014 style, radius, padding, alignment, and color options.","3":"The \"Insert Accordion\" dialog \u2014 a 3x3 grid for up to 9 FAQ pairs plus shared styling.","4":"A button and an accordion rendered on the published frontend.","5":"The dismissible review-request notice on the Dashboard."}},"plugin_section":[],"plugin_tags":[1741,485,155767,270202,357],"plugin_category":[43],"plugin_contributors":[267285],"plugin_business_model":[],"class_list":["post-335529","plugin","type-plugin","status-publish","hentry","plugin_tags-accordion","plugin_tags-button","plugin_tags-classic-editor","plugin_tags-elementor-disable","plugin_tags-shortcodes","plugin_category-customization","plugin_contributors-donaldmvaldez","plugin_committers-donaldmvaldez"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/dmvaldez-clean-post-toolkit\/assets\/icon.svg?rev=3596787","icon":"https:\/\/ps.w.org\/dmvaldez-clean-post-toolkit\/assets\/icon.svg?rev=3596787","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/dmvaldez-clean-post-toolkit\/assets\/screenshot-1.png?rev=3596787","caption":"The DMValdez Clean Post Toolkit icon in the Classic Editor toolbar."},{"src":"https:\/\/ps.w.org\/dmvaldez-clean-post-toolkit\/assets\/screenshot-2.png?rev=3596787","caption":"The \"Insert Button\" dialog \u2014 style, radius, padding, alignment, and color options."},{"src":"https:\/\/ps.w.org\/dmvaldez-clean-post-toolkit\/assets\/screenshot-3.png?rev=3596787","caption":"The \"Insert Accordion\" dialog \u2014 a 3x3 grid for up to 9 FAQ pairs plus shared styling."},{"src":"https:\/\/ps.w.org\/dmvaldez-clean-post-toolkit\/assets\/screenshot-4.png?rev=3596787","caption":"A button and an accordion rendered on the published frontend."},{"src":"https:\/\/ps.w.org\/dmvaldez-clean-post-toolkit\/assets\/screenshot-5.png?rev=3596787","caption":"The dismissible review-request notice on the Dashboard."}],"raw_content":"<!--section=description-->\n<p><strong>DMValdez Clean Post Toolkit<\/strong> solves the classic battle between clean site architecture and editor convenience.<\/p>\n\n<p>When editors use heavy page builders like Elementor on standard blog posts, it creates \"div soup,\" slows down page loads, and makes future theme migrations a nightmare. This plugin programmatically disables Elementor on the standard <code>post<\/code> post type and shows a friendly one-time modal explaining why \u2014 then hands editors a lightweight Classic Editor toolbar so they never have to reach for a page builder just to add a button or an FAQ.<\/p>\n\n<p>Everything the toolbar inserts renders as clean, semantic HTML5 \u2014 no page-builder markup, no extra database bloat, and styling ships as a single small CSS file shared by the frontend, the block editor, and the Classic Editor's own WYSIWYG iframe.<\/p>\n\n<h4>What's included<\/h4>\n\n<p><strong>The Enforcer<\/strong> \u2014 removes Elementor support from the <code>post<\/code> post type only (Pages and custom post types are untouched), and shows a one-time educational modal on <code>post-new.php<\/code> explaining the policy.<\/p>\n\n<p><strong>Buttons \u2014 <code>[postguard_btn]<\/code><\/strong> \u2014 a theme-styled button that inherits your active theme's Elementor button classes, so it looks native even with Elementor disabled. Inserted via a toolbar dialog with a live color-picker popup; every option is optional and defaults to your theme's normal look:<\/p>\n\n<ul>\n<li><code>text<\/code>, <code>link<\/code> \u2014 button label and URL.<\/li>\n<li><code>style<\/code> \u2014 <code>default<\/code> (inherits theme), <code>primary<\/code>, or <code>outline<\/code>.<\/li>\n<li><code>radius<\/code> \u2014 <code>square<\/code>, <code>md<\/code> (rounded), or <code>pill<\/code>.<\/li>\n<li><code>padding<\/code> \u2014 <code>sm<\/code>, <code>md<\/code>, or <code>lg<\/code>; or <code>padding_custom<\/code> (px) to override with an exact value.<\/li>\n<li><code>align<\/code> \u2014 <code>left<\/code>, <code>center<\/code>, <code>right<\/code>, or <code>full<\/code> (full width).<\/li>\n<li><code>bg_color<\/code>, <code>text_color<\/code>, <code>hover_bg_color<\/code>, <code>hover_text_color<\/code> \u2014 hex colors, independent hover state.<\/li>\n<li><code>border_color<\/code>, <code>border_width<\/code> \u2014 add or override a border on any style.<\/li>\n<\/ul>\n\n<p><strong>Accordions \u2014 <code>[postguard_accordion_group]<\/code> \/ <code>[postguard_accordion_item]<\/code><\/strong> \u2014 pure HTML5 <code>&lt;details&gt;<\/code>\/<code>&lt;summary&gt;<\/code> accordions, zero JavaScript on the frontend. The toolbar's \"Insert Accordion\" dialog builds a full FAQ block in one pass \u2014 a 3-column grid for up to 9 question\/answer pairs, plus shared styling options:<\/p>\n\n<ul>\n<li><code>question_tag<\/code> \u2014 render each question as <code>h2<\/code>, <code>h3<\/code>, <code>h4<\/code>, or plain text (semantically valid \u2014 a heading is allowed as the sole child of <code>&lt;summary&gt;<\/code>).<\/li>\n<li><code>default_state<\/code> \u2014 <code>none<\/code> (all collapsed), <code>first<\/code> (first item open), or <code>all<\/code> (all open) on page load; any individual item can also force itself open with <code>open=\"yes\"<\/code>.<\/li>\n<li><code>item_spacing<\/code>, <code>row_padding<\/code> \u2014 px values controlling the gap between cards and internal padding.<\/li>\n<li><code>bg_color<\/code>, <code>title_color<\/code>, <code>content_color<\/code>, <code>hover_bg_color<\/code>, <code>hover_title_color<\/code> \u2014 hex colors, cascading to every item in the group automatically.<\/li>\n<\/ul>\n\n<p>The legacy single-item shortcode <code>[postguard_accordion title=\"...\"]answer[\/postguard_accordion]<\/code> still works standalone for hand-written content.<\/p>\n\n<p><strong>Toolbar helpers<\/strong> \u2014 a \"Pick a Color\" popup gives editors a real color picker with a copyable hex readout for any of the fields above, and a \"Request a feature\" link in both dialogs points straight to the support forum.<\/p>\n\n<h4>Requirements<\/h4>\n\n<p>The Classic Editor (either natively, or via the Classic Editor plugin) is required to see the toolbar button \u2014 the toolkit hooks into TinyMCE's <code>mce_buttons<\/code>\/<code>mce_external_plugins<\/code> filters. Shortcodes themselves render correctly regardless of which editor inserted them.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>dmvaldez-clean-post-toolkit<\/code> directory to your <code>\/wp-content\/plugins\/<\/code> directory, or install the zip directly through the 'Plugins' \u2192 'Add New' screen.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Open a new Post \u2014 Elementor is now disabled for posts, and the toolbar icon appears in the Classic Editor toolbar.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20disable%20elementor%20on%20pages%3F\"><h3>Does this disable Elementor on Pages?<\/h3><\/dt>\n<dd><p>No, this plugin specifically targets the <code>post<\/code> post type to protect your blog structure. Elementor will still function normally on Pages and custom post types.<\/p><\/dd>\n<dt id=\"i%20don%27t%20see%20the%20toolbar%20icon\"><h3>I don't see the toolbar icon<\/h3><\/dt>\n<dd><p>Make sure you're using the Classic Editor (or the Classic Editor plugin with Gutenberg installed) and that \"Rich editing\" is enabled under your WordPress profile settings \u2014 the toolkit only registers its TinyMCE button when both are true.<\/p><\/dd>\n<dt id=\"can%20i%20use%20the%20button%2Faccordion%20shortcodes%20outside%20the%20toolbar%3F\"><h3>Can I use the button\/accordion shortcodes outside the toolbar?<\/h3><\/dt>\n<dd><p>Yes \u2014 every attribute documented above can be typed directly into any shortcode, in the Classic Editor's Text mode, in a Custom HTML block, or in a template via <code>do_shortcode()<\/code>.<\/p><\/dd>\n<dt id=\"what%27s%20the%20%22leave%20a%20review%22%20banner%3F\"><h3>What's the \"Leave a review\" banner?<\/h3><\/dt>\n<dd><p>A small, dismissible reminder shown on the Dashboard and Plugins screens after you've used the plugin for a while. Click the \u00d7 to dismiss it permanently \u2014 it won't reappear.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Renamed to DMValdez Clean Post Toolkit (previously PostGuard Toolkit) for the WordPress.org submission.<\/li>\n<li>Enqueue admin styles via <code>wp_add_inline_style()<\/code> instead of inline <code>&lt;style&gt;<\/code> tags.<\/li>\n<li>Added an explicit output-escaping pass on the accordion group shortcode's nested content.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Buttons: custom background\/text colors with independent hover states, border color\/width, alignment (including full width), and custom pixel padding.<\/li>\n<li>Accordions: new <code>[postguard_accordion_group]<\/code> \/ <code>[postguard_accordion_item]<\/code> shortcodes for multi-item FAQ blocks, with default open-state control, custom spacing, and cascading color options.<\/li>\n<li>Toolbar: redesigned \"Insert Accordion\" dialog (fixed 3x3 grid, 9 Q&amp;A pairs) and a shared \"Pick a Color\" helper popup for both dialogs.<\/li>\n<li>Added a dismissible \"leave a review\" admin notice on the Dashboard and Plugins screens.<\/li>\n<li>Fixed a CSS asset filename mismatch that could prevent button\/accordion styles from loading.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release. Includes Elementor lockout, modal warning, and Classic Editor toolkit (Buttons and HTML5 Accordions).<\/li>\n<\/ul>","raw_excerpt":"Keep standard blog posts clean and fast: block Elementor on posts, then give editors native buttons and accordions instead.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/335529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=335529"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/donaldmvaldez"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=335529"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=335529"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=335529"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=335529"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=335529"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=335529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}