Skip to content
Skip to content

Hook Content

Hook Content is a powerful feature that lets you add code to your site seamlessly—no need to modify theme template files. With Hook Content, you can insert various types of code, including text content, shortcodes, HTML, JavaScript, and embed code like Google Ads. Additionally, you can control exactly where this content appears by setting display conditions to apply the hook site-wide or limit it to specific pages.

Adding a Hook Content

  • To add a Hook Content, go to Themify > Settings > Hook Content, click "Add item" link
  • Select the hook location where you want to insert content and then enter the content (the content can be text, HTML tags, Javascript code, embed code, and shortcodes)

    screenshot

  • If you want the hook content to be on a specific page(s), click "Edit/Add Conditions" which will open a popup for you to select the display conditions.

    screenshot

Disabling Hook Content Feature

If you want to remove a content hook, you can just click the delete button on each item. However, if you want to disable the Hook Content feature completely, it can be done as well.

To remove the Hook Content tab from the Themify panel, create a child theme's functions.php if it does not exist and paste in this code:


<?php

remove_filter( 'themify_theme_config_setup', array( $GLOBALS['themify_hooks'], 'config_setup' ), 12 );

NEW: Themify has been redesigned. Please comment your feedback.