WordPress plugin

Woody Pro

Woody Pro gives you one place in the WordPress admin to create and manage snippets without editing theme files. Use PHP for functions, hooks, classes, and global variables; JavaScript for analytics or interactive capabilities; CSS for custom styles; and HTML for markup. Text, ad, and universal snippets support reusable content, banners, or combinations of PHP, HTML, CSS, and JavaScript.

Woody Pro

Manage code and content in WordPress

Woody Pro gives you one place in the WordPress admin to create and manage snippets without editing theme files. Use PHP for functions, hooks, classes, and global variables; JavaScript for analytics or interactive capabilities; CSS for custom styles; and HTML for markup. Text, ad, and universal snippets support reusable content, banners, or combinations of PHP, HTML, CSS, and JavaScript.

Choose where snippets appear

Insert code in the website header or footer, before or after post and page content, around a selected paragraph, or between posts on archive pages. WooCommerce placements include product lists, individual products, product summaries, and positions after a product title, price, or excerpt. These locations can support tracking, promotional banners, custom scripts, and trust notices.

Set conditions for when they run

Woody supports conditions for visitor role, registration date, page, post type or taxonomy, referrer, and cookie value. Pro adds conditions for device type, browser, operating system, JavaScript availability, ad blocker detection, user country, visit depth, time of day, and total visits. Combine conditions with AND and OR logic to control when a snippet is displayed or executed.

Reuse snippets across your website

Add snippets to posts, pages, widgets, and page builders with shortcodes, or use automatic placement rules. Pro lets you pick custom shortcode names that are readable and portable across websites. Reusable text and scripts can then be placed in several locations.

Organize and revise your code

Use tags, cloning, priorities, and import or export tools to manage snippets and their execution order. Enable or disable snippets as needed. Pro saves revisions so you can view earlier versions, compare changes, and restore a previous version. Cloud-based templates let you save snippets and reuse them across multiple websites.

Work in the built-in editor

The editor delivers syntax highlighting, line numbers, configurable indentation and tab size, optional line wrapping, automatic bracket and quote closing, and highlighting for matching variables and functions.

To get started, create a snippet in the WordPress admin, choose its type and placement, set any conditions, then enable it when ready. Review custom code before use; unverified or outdated PHP, JavaScript, CSS, or HTML may affect site security or stability.