Ocean Hooks

Ocean Hooks

Add your custom content throughout various areas of OceanWP without using child theme.

Key Features

  • Add different content for the same hook location
  • Add shortcode
  • Add PHP code
  • Add content only for logged in/out users
  • Display your code on the page/post/taxonomy you want
  • Display your code on the user role you want

Screenshots

Changelog

Version 1.1.3
  • - Added: Codes for Freemius switch.
Version 1.1.2
  • - Tweak, Sanitize changed for the hook location so you will have no problem if you add custom hooks locations.
  • - Tweak: Now you can add a priority 0.
  • - Fixed: PHP code was not showing if nothing was added to the default editor.
Version 1.1.1
  • - Fixed: Conditional Logic and User Roles not saved when a hook is created with Elementor.
Version 1.1.0
  • - Added: PHP editor.
  • - Added: Logged In/out conditionals added.
  • - Tweak: Plugin rewrote, now to add a hook, you need to go on Theme Panel > My Library, create a new item, click the Hooks tab in OceanWP Settings and activate the item as a hook. This way, you can add more than one hook at the same place and most importantly, you can create your hook with your page builder.
Version 1.0.7
  • - Added: Polish translation, thanks to Fin Fafarafiel.
Version 1.0.6
  • - Added: Single product hooks.
Version 1.0.5
  • - Added: Before Page Entry hook.
  • - Added: After Page Entry hook.
Version 1.0.4
  • - Tweak: Show/Hide hooks in the admin bar removed in admin.
Version 1.0.3
  • - Added: Show Hooks button in the admin bar to allow you to display all the hooks in front end.
  • - Added: New Conditional Logic for WooComerce: Product Category, Product Tag and Single Product.
  • - Added: Spanish language, thank you to Angel Julian Mena.
  • - Deleted: Admin notice if OceanWP is not the theme used.
Version 1.0.2
  • - Fixed: Small issue with update.
Version 1.0.1
  • - Added: Conditional Logic, now you can display your code on the page or taxonomy you want.
  • - Added: User Roles, now you can display your code on the user roles you want.
  • - Added: New hooks: Before/After Blog Entry Title.
  • - Added: New hooks: Before/After Blog Entry Meta.
  • - Added: New hooks: Before/After Blog Entry Content.
  • - Added: New hooks: Before/After Blog Entry Read More.
  • - Added: New hooks: Before/After Single Post Title.
  • - Added: New hooks: Before/After Single Post Meta.
  • - Added: New hooks: Before/After Single Post Content.
  • - Added: New hooks: Before/After Single Post Author Bio.
  • - Added: New hooks: Before/After Single Post Next/Prev Link.
  • - Added: New hooks: Before/After Single Post Related Posts.
  • - Added: New hooks: Before/After Archive Product Item.
  • - Added: New hooks: Before/After Archive Product Image.
  • - Added: New hooks: Before/After Archive Product Categories.
  • - Added: New hooks: Before/After Archive Product Title.
  • - Added: New hooks: Before/After Archive Product Price & Rating.
  • - Added: New hooks: Before/After Archive Product Description.
  • - Added: New hooks: Before/After Archive Product Add To Cart.
  • - Fixed: Issue with the cookie.js script.
Version 1.0.0
  • Initial Release