=== WP Smart Content === Contributors: vinodsebastian Tags: wp smart content, header scripts, footer scripts, tracking code, block editor Requires at least: 5.0 Tested up to: 6.8 Requires PHP: 7.0 Stable tag: 1.2.4 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html Inject scripts, styles, HTML, CSS, or tracking code into WordPress headers, footers, sidebars, and block hooks safely. == Description == **WP Smart Content** is the easiest way to inject scripts, styles, HTML, and tracking code into WordPress headers, footers, and block hooks — all without editing theme files. Whether you need to add Google Analytics, marketing tags, custom CSS, or JavaScript snippets, this plugin provides a safe, central dashboard to manage reusable content blocks. Each block can be named, stored in the WordPress database, and targeted to specific posts, pages, or applied globally across your site. With support for both **Classic Hooks** and the new **WordPress 6.8 Block Hooks**, WP Smart Content is future-proof, flexible, and designed for modern WordPress sites. Behind the scenes, WP Smart Content injects your HTML, JavaScript, or CSS styles into the selected WordPress hook — whether a classic theme hook or a Block Hook — ensuring your content appears exactly where you want it, without modifying template files. This approach keeps your site secure, SEO-friendly, and easy to maintain. ### ✨ Key Features - **Classic Hooks support**: Add content to 'wp_head', 'wp_footer', 'wp_print_styles', 'wp_print_scripts', 'wp_meta', and 'wp_print_footer_scripts'. - **Block Hooks support (WordPress 6.8+)**: Inject content anywhere in the theme using the block editor UI. - **Grouped dropdowns**: Clear separation between Classic Hooks and Block Hooks in the admin interface. - **Global targeting**: Apply blocks to all content types, not just posts or pages. - **Safe/Raw Mode toggle**: Admins can enable Raw Mode for advanced HTML/JS injection or restrict to Safe Mode for safety. - **Translation ready**: Includes updated '.pot' file with all strings for localization. - **Reviewer‑friendly architecture**: Modularized code, clear documentation, and compliance with WordPress coding standards. ### 💡 Use Cases - Add a script to the '' section without editing theme files. - Insert HTML into the '