WordPress plugin
Woody Pro
Woody Pro handles custom code and reusable content in the WordPress admin. Snippets are stored in the WordPress database, separate from theme documents. Enable or disable each snippet, pick automatic placement or shortcode insertion, and set conditions for when it runs.
Woody Pro handles custom code and reusable content in the WordPress admin. Snippets are stored in the WordPress database, separate from theme documents. Enable or disable each snippet, pick automatic placement or shortcode insertion, and set conditions for when it runs.
Snippet types and editor tools
PHP snippets can hold functions, hooks, classes, and global variables. Use JavaScript for analytics, integrations, or interactive features; CSS for custom styles; and HTML for markup. Text snippets hold reusable content, ad snippets hold ads or banners, and universal snippets combine PHP, HTML, CSS, and JavaScript.
The built-in editor includes syntax highlighting, line numbers, configurable indentation and tab size, optional line wrapping, automatic bracket and quote closing, and highlighting for matching variables and functions.
Choose how and where to add a snippet
Automatic placement puts a snippet into a selected website location. Options include the header or footer, before or after post or page content, around a specific paragraph, inside archives, categories, or taxonomy pages, and between posts on archive pages.
WooCommerce placements include before or after product lists, single products, or product summaries, as well as after a product title, price, or excerpt. These locations can hold tracking code, promotional banners, custom JavaScript, or trust notices.
Shortcodes place a snippet inside posts, pages, widgets, or page builders. Woody Pro lets you assign custom shortcode names, which can make repeated content or scripts easier to identify and reuse across sites.
Set when snippets execute
Standard conditions cover user role and registration date, page, post type or taxonomy, referrer, and cookie value. Woody Pro adds advanced 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 the context for displaying or running a snippet.
Organize, revise, and reuse snippets
Use tags, cloning, priorities, and import or export tools to organize snippets and manage their execution order. Woody Pro saves snippet revisions automatically so you can view earlier versions, compare changes, and restore a previous version. Its cloud-based templates let you save snippets and reuse them across multiple sites.
Set up and review your code
In the WordPress admin, create a snippet, choose its type and placement, define any conditions, then enable it when ready. Review custom PHP, JavaScript, CSS, and HTML before use. Unverified or outdated code may affect site security or stability.
