OceanWP Ocean Hooks 2.1.7
OceanWP Ocean Hooks makes it easy to insert custom content across the platform without editing a child theme. This WordPress plugin lets you add code, shortcodes, or PHP snippets and display them on pages, posts, taxonomies, or by user role, boosting flexibility and personalization. Perfect for seamless design tweaks and faster site customization.
Description
OceanWP Ocean Hooks is a WordPress plugin that helps you insert custom content across your OceanWP-powered site without editing a child theme. It’s designed for developers and site builders who need more control than standard page settings provide. With Ocean Hooks, you can add code, shortcodes, or PHP snippets and place them where they matter most. Instead of making template edits, you can target the output to specific pages, posts, taxonomies, or even limit it by user role. The result is easier customization, cleaner maintenance, and more personalized user experiences within your OceanWP theme and layout setup (including Elementor-driven designs).
Main Features
- Custom code insertion — Add your own code snippets to control what appears on the site.
- Shortcode support — Use existing shortcodes so you can reuse content and components.
- PHP snippet support — Run PHP code where needed to implement dynamic changes.
- Target pages and posts — Display your content on the specific page or post type you choose.
- Target taxonomies — Show snippets on taxonomy archives and related listing pages.
- Role-based display — Show or hide custom content based on a selected user role.
- No child theme edits — Apply changes throughout OceanWP without touching template files.
Benefits
- Faster customization — Build and test changes directly through the plugin workflow.
- Cleaner theme maintenance — Avoid template edits that can complicate updates.
- More relevant UX — Tailor content by page/post context and by user role.
- Higher engagement opportunities — Insert shortcodes and dynamic snippets where visitors are most likely to respond.
- Better scalability — Roll out repeated content blocks across multiple areas without duplicating templates.
Who is it suitable for?
- WooCommerce and non-commerce sites running OceanWP that need targeted content placement
- Site owners customizing posts, pages, and taxonomy archives without theme file edits
- Web designers using Elementor who want reusable snippets across layouts
- Developers adding dynamic PHP or shortcode-driven components across the site
- Agencies managing multiple client sites that require clean, repeatable changes