Search Results for hook element

71 results found

Block Element – Hook

Hook type is the Gutenberg version of Hook Element. It allows you to insert your Block Element content to any hook inside GeneratePress. This is great for things like author boxes, CTAs, top bars, footer bars etc. There is no limit to the number of things you can build and hook into your website. Editor […]

Moving Hooks & Page Headers to Elements

In the videos below, we go over migrating your old Hooks and Page Headers to the new Elements module in GP Premium 1.7. This first video was made by Mike Oliver of Zephyr Studio. It’s about 45 minutes long, and goes over migrating Page Headers to Page Heros. This next video is much shorter, but […]

generate_hook_element_display

The generate_hook_element_display allows us to bypass the Display Rules, so we can enable or disable an Element under our own conditions. For example, if we want to assign a specific hook to Author Tom only: Another useful example is to set the hook to display on the parent page and all the child pages automatically: You […]

Hooks Element Overview

Starting in GP Premium 1.7, the Hook element replaces the GP Hooks module. This element allows you to insert content into any available hook on your website. There’s a list of available GP and GP Premium hooks, and there’s a custom hook option that allows you to define your own hook name if it doesn’t […]

Block Element – Archive Navigation

This block type will insert your archive navigation with a custom archive navigation you’ve created. Editor Width The editor width allows you to set the width of the editor for this block element. You can set the editor width to match the actual content width to help visualize the final design. Templates There are some […]

generate_element_display

The generate_element_display allows us to bypass the Display Rules, so we can enable or disable an Element under our own conditions. This filter replaces the previous generate_header_element_display, generate_hook_element_display and generate_layout_element_display. Display an Element to a Specific Author archive For example, if we want to assign a specific element to Author Tom’s author archive only: You need […]

Block Element – Archive Navigation

Starting in GP Premium 2.0, you can create an archive navigation in the Block Element module with the help of Dynamic Blocks and Dynamic Data. You can access it by creating a new block element, then select archive navigation under the Element type dropdown menu: Settings

Block Element – Post Navigation

Starting in GP Premium 2.0, you can create a post navigation in the Block Element module with the help of Dynamic Blocks and Dynamic Data. You can access it by creating a new block element, then select post navigation under the Element type dropdown menu: Settings GenerateBlocks Container Settings

Block Element – Page Hero

Starting in GP Premium 2.0, you can create a page hero in the Block Element module with the help of Dynamic Blocks and Dynamic Data. You can access it by creating a new block element, then select Page Hero under the Element type dropdown menu: Settings GenerateBlocks Container Settings Examples

Block Element Overview

Block Elements are available as of GP Premium 1.11.0. Block Elements allow you to use the WordPress block editor to create hooks, site headers, site footers, sidebars, page hero, content template etc. Creating a Block Element First, make sure the Elements module is activated in Appearance > GeneratePress. Now, go to Appearance > Elements and […]