Skip to content
Feast Design Co.
  • Get the Feast Plugin
  • DocumentationExpand
    • Feast Plugin
    • Feast+
  • Open a Support Ticket
New to Feast? Start Here
Login/Account
Feast Design Co.

We recommend all sites migrate to our Kadence Themes.

Getting Started

4
  • Migrating to Feast
  • Staging Site
  • Kadence Tutorials
  • Sign Up For The Newsletter

Setup

14
  • Install Feast Plugin
  • Install Kadence
  • How to clear your cache
  • Favicon
  • Enable Recommended Settings
  • Enable Feast Layouts
  • Disable Trackbacks
  • Complete Site Info
  • Update Author Bio
  • Optimize Images
  • Clear Inactive Widgets
  • Review Tools
  • Plugin Audit
  • Clear Cache ‼️

Plugin Settings

23
  • 728px
  • Full width page
  • Subscribe button
  • Modern Search
  • Recipe Key
  • Widen recipe card on mobile
  • FAQ Toggle
  • AI Buttons
  • Feast Plugin Features and Benefits
  • Social Icons
  • Post Template
  • Table of Contents
  • Post IDs
  • Google Trusted Source
  • Edit Leave a Reply
  • Disable Trackbacks
  • Modern Previous + Next
  • Posts per page
  • Breadcrumbs
  • Productivity
  • Smooth scrolling
  • Image unlink
  • Replace recipe card Jump To buttons
  • BETA

Block Editor 101

5
  • Block options
  • Block Editor
  • Block themes
  • Patterns
  • Why we don't support block-level styling

Blocks & Patterns

16
  • Buttons
  • Featured Comment
  • Post Template
  • Numbered Lists
  • Table of Contents
  • Full Width Banner
  • Featured Recipe Pattern
  • Why we don't support block-level styling
  • Process Shots
  • Inline Heading Group Block
  • Step Instructions
  • Advanced "Jump To" Links
  • Reader Review
  • Feast Patterns
  • Displaying Post Blocks (FSRI)
  • Displaying Category Blocks (FSCI)
  • Scheduled Categories

Page Templates

3
  • Custom 404
  • How to use Categories
  • Shop page

Customize

10
  • Kadence Spacing
  • Customizer
  • Customizations
  • Reset Kadence Color Palette
  • Customization Referrals
  • Why we don't support block-level styling
  • Per Page CSS
  • Why you shouldn't make customizations
  • Custom CSS
  • Customization Support

Images

11
  • Post Images
  • Favicon
  • Webp
  • Default Image Size
  • Modern post image sizes
  • How thumbnails work
  • Modern Thumbnails (Featured Images)
  • Troubleshooting Featured Images
  • Displaying Post Blocks (FSRI)
  • Process Shots
  • Image Alt Tags
  • Why do my images look different in edit post and live?

Logo & Fonts

7
  • Retina Quality Logo
  • Flush Local Fonts Cache
  • Create your logo
  • Edit Body Font Size
  • Favicon
  • Fonts
  • Logo

Menu

1
  • Kadence Menu Background Image

Categories

3
  • Why Isn't the Category Description Appearing?
  • Displaying Category Blocks (FSCI)
  • How to use Categories

Recipes

7
  • Reviews
  • Recipe Key
  • Ingredients
  • Displaying Category Blocks (FSCI)
  • Displaying Post Blocks (FSRI)
  • Featured Recipe Pattern
  • All Recipes

Feast+

35
  • Setting Up Prebuilt Pages
  • What is Feast+?
  • Feast+ Setup
  • Design Kits
  • Feast+ Fonts
  • Feast+ FAQ
  • Feast+ Showcase
  • Feast+ Patterns
    • As seen in
    • Top Banner
    • Custom list styling
    • Numbered Lists
    • Full Width Banner
    • Feast+ Footer
    • Feast+ Call to Action
    • Icon Tip Boxes
    • As Seen In
    • Reader Review
  • Feast+ Pre-Built Pages
    • Setting Up Prebuilt Pages
    • Feast+ Homepage
    • Feast+ Index
    • Feast+ Category Pages
    • Social Landing Page (Link In Bio)
  • Feast+ Features
    • Full-Width Post Header
    • Custom List Styling
    • Colored Numbered Lists
    • Top 10 List Styling
    • Step Instructions
    • Heading Styling
    • Top of Site CTA Banner
    • Custom Background Pattern
  • Design Kits
    • Feast+ Design Kits (Members)
    • Feast+ Design Kit Library
    • Feast+ Design Kit Instructions
  • Branding & Design
    • Feast Fonts
    • Feast+ Branding & Design

Speed & SEO

25
  • Image Alt Tags
  • Speculative Loading
  • Google Trusted Source
  • Should I remove content?
  • 301 Redirects, Links, Canonical and Pagespeed
  • Image file size vs. pagespeed
  • Duplicate Content
  • Lazyloading comments
  • CLS
  • Blocking Time
  • Linking
  • SEO
  • Skip lazy loading first post image
  • Horizontal scrolling
  • Smooth scrolling
  • fetchPriority
  • Redis Object Cache
  • Pagination
  • Pingbacks
  • INP (Interaction to Next Paint)
  • Animations
  • Indexed
  • Google Discover
  • CDNs
  • Site Speed

Social Sharing

3
  • Social Icons
  • Tiktok
  • Social

Blogging Resources

19
  • Food Blog Sitelinks
  • Photography
  • Understanding "penalties"
  • Web Stories
  • Linking
  • Posts vs. Pages
  • AI Content
  • Food Blog Page Structure
  • Food Blog Site Structure
  • Comments
  • Internal links
  • Analytics
  • Pagespeed
  • SEO for Food Bloggers
  • Modern guidelines for page headings
  • How to Write a Recipe Post
  • Recipe Page Guidelines for Food Bloggers
  • Image Optimization
  • Recipe Update Checklist

Legal Resources

6
  • Legal Resources
  • DMCA and Copyright Infringement
  • Copyrights
  • Accessibility
  • Blog insurance
  • Private Label Rights (PLR)

Integrations

11
  • Ecommerce
  • Ingredients
  • Google Trusted Source
  • Contact Forms
  • Hosting
  • Translation
  • Minification
  • WP Recipe Maker
    • Reviews
    • QR Code
    • Ingredients
  • WP Rocket
    • Minification

Troubleshooting

15
  • Block Editor errors
  • Block Editor Unresponsive
  • Why do my images look different in edit post and live?
  • Why Isn't the Category Description Appearing?
  • Troubleshoot Plugin Conflicts
  • How to clear your cache
  • Flush Local Fonts Cache
  • How to update your theme
  • Feast Plugin FAQ
  • W3 HTML Validation
  • Sorry, this file type is not permitted for security reasons.
  • Troubleshooting Featured Images
  • Either "name" or "item. name" should be specified (in "itemListElement")
  • This block contains unexpected or invalid content
  • Incompatible Archive
  • Clear Cache ‼️
  • Cloudflare Speed Brain

Comments

1
  • Featured Comment
  • Comment Subscribe

Developer Resources

6
  • Multisite
  • Feast Plugin Deprecated
  • W3 HTML Validation
  • Feast Plugin: Disable Theme Google Fonts
  • Rethinking the Thumbnails
  • Design

Genesis Setup (Legacy)

13
  • Edit Post Info
  • Modern Navigation
  • Layout
  • Modern Index
  • Feast Plugin Setup
  • Modern Homepage Setup
  • Modern Menu for Desktop
  • Modern Mobile Menu
  • Sidebar
  • Modern 404
  • Modern Recipe Index
  • Modern Categories
  • Modern Footer
View Categories
  • Home
  • Documentation
  • Advanced
  • Hooks

Hooks

0:00 / 6:44
  • View as Markdown Open this page as plain Markdown (opens in a new tab)
  • Export PDF Download this page as a PDF
  • Open in ChatGPT Ask questions about this page (opens in a new tab)
  • Open in Claude Ask questions about this page (opens in a new tab)
  • Open in Google AI Studio Ask questions about this page (Google account required) (opens in a new tab)

The Feast Hooks allows you to add content at key locations in a theme, similar to Reusable Blocks.

The difference between hooks and Reusable Blocks is that the hooks can be automatically inserted on different parts of the site, without manually adding it to the content.

While this can be used to automatically insert blocks before/after the content, we don't recommend it, because the content section should be unique and specific to each post.

Jump to:
  • Purpose
  • Making it live
  • Device visibility
  • Include category
  • Exclude category
  • Include post
  • Exclude post
  • Priority
  • Common hooks
  • Before Recipe Card and After Recipe Card
  • Issues
  • Support
  • ?show_hooks
  • Frameworks
  • WPML
  • Polylang
  • Title
  • Author Bio
  • Multiple authors

Purpose

This is intended to make it possible to automatically insert content specific to certain posts, only on certain posts.

Making it live

Like the Feast Layouts, the Feast Hooks will not be visible on the site until you set the hook to Published.

This means that you can work on it as needed, and even remove it from displaying, by setting it to Draft.

Device visibility

Unless there's a very compelling reason, content should be displayed on all devices.

Remember that 80% of pageviews are mobile and all content should be designed primarily for mobile devices.

Include category

If specified, the hook will only run on posts within this category, and nowhere else. This is an optional setting and if left blank, will display everywhere.

  • if nothing is selected (default), all categories are included
  • if something is selected (blue highlight), only that category is included
  • use cntrl + click to select multiple categories
  • use cntrl + click to unselect a selected category

You may use either Include category or Exclude Category, but not at the same time.

Exclude category

If specified, the hook will run on all posts, except posts assigned to this category. This is an optional setting and if left blank, will display everywhere.

  • if nothing is selected (default), no categories are excluded
  • if something is selected (blue highlight), only that category is excluded
  • use cntrl + click to select multiple categories
  • use cntrl + click to unselect a selected category

You may use either Include category or Exclude Category, but not at the same time.

Include post

If specified, the hook will only run on these posts, and nowhere else. This is an optional setting and if left blank, will display everywhere.

You may use either Include post or Exclude post, but not at the same time.

Generally speaking, creating a hook for only specific posts is a waste of time and you should simply insert whatever you're trying to insert, into the body of the post itself.

Exclude post

If specified, the hook will run on all posts, except the posts specified. This is an optional setting and if left blank, will display everywhere.

You may use either Include post or Exclude post, but not at the same time.

Priority

The default priority on hooks is 10.

Setting a priority lower than 10 will display content above actions registered on 10.

Setting a priority higher than 10 will display content below actions registered on 10.

Common hooks

Below are the hooks used for the current setup:

  • After Header: Menu
  • Before Loop: Breadcrumbs
  • Loop: content
  • Entry header: Title, Post Info
  • Comments: Comments
  • After Content: Sidebar
  • Footer: Footer

Before Recipe Card and After Recipe Card

These hook locations display content directly above or directly below the recipe card, on every post that has one. This makes it possible to add something next to the recipe card across all of your recipe posts, without manually adding it to each post.

  • Before Recipe Card: directly above the recipe card
  • After Recipe Card: directly below the recipe card

They're available on Genesis, Kadence and Trellis, and work with WP Recipe Maker, Tasty Recipes and Create by Mediavine recipe cards, whether the card was added in the block editor or the classic editor.

IMPORTANT! These hook locations require Feast Plugin 15.9.1 or higher, and you must clear your cache after publishing the hook.

A common use case is adding a button directly under the recipe card, such as a Google preferred source button, or a newsletter sign up.

Instructions:

  • Hook Location: After Recipe Card
  • Priority: 10
  • Device Visibility: All

A few things to be aware of:

  • posts without a recipe card won't display the hook
  • if a post has more than one recipe card, the hook displays with each recipe card
  • Include and Exclude settings work the same as any other hook, so you can limit it to certain categories or posts

Issues

There are several issues to be aware of that can negatively impact a site:

  • caching - content that only shows up on certain pages may be susceptible to incomplete caching
  • pagespeed - adding DOM nodes to already-bloated pages will negatively impact pagespeed
  • CLS - content added above the fold may cause significant CLS if not coded properly
  • headings - proper site heading structure should be followed, and awareness of context and accessibility guidelines are required
  • formatting - improperly closing HTML tags can lead to a broken webpage layout

This requires custom support from a knowledgeable developer to properly accommodate.

Support

We're unable to provide support for issues relating to the hooks as part of the Feast Plugin, because of how complex and time consuming this would be. The majority of sites should not have any need for this.

Hooks are a developer-level feature that require in-depth knowledge of WordPress, coding, and the framework. These are here primarily for the convenience of experienced developers who are already familiar with the WordPress hook system.

?show_hooks

You can append the ?show_hooks query to any page, to see available hook locations.

Frameworks

You can find references to specific framework hooks at:

  • Theme Hooks Alliance
  • Genesis Visual Hook Guide

WPML

In WPML, you need to enable translations on the custom post types for Feast Hooks.

Polylang

In Polylang, you'll also need to enable translations on the custom post types for Feast Hooks.

Title

The title of the hook is not used anywhere (only the content of the hook), so it should be named something that you find descriptive.

Author Bio

Our first general use case for this is the author bio, allowing you to display an author bio including an image, in place of the normal post info.

IMPORTANT! You must clear your cache after doing this.

See the tutorial video here, and written instructions below:

Instructions:

  • Hook Location: Entry Header
  • Priority: 13
  • Device Visibility: All

You can find our prebuilt block under Block Editor > [+] > Patterns > Feast Posts Patterns > Hook Author Bio

You can also enter a line-break anywhere in the shortcode area, to break up the flow of the text.

This is a Media+Text block with the Post Info Author (100px) block style, and there's a Post Info Author (50px) depending on your preference, designed specifically for this purpose:

We recommend uploading a new 100x100px headshot.

Finally, make sure you hide the original post info by using the Hide Post Info for Author Bio Hook setting (only works on Foodie Pro 5) in the Feast Plugin:

Lastly, make sure to clear your cache so that the styling gets refreshed.

Note: the Feast Hooks does not allow 1-date logic. You'll either want to simply remove the published date entirely, or migrate to Kadence.

Multiple authors

There currently isn't a way to enable displaying a hook (eg. the author bio) for different authors.

Was this helpful?

  • Happy
  • Sad

Products

  • Feast Plugin
  • Feast+
  • Feast+ White Glove
  • Feast+ Style Refresh
  • Done-for-you Services
  • Demo trial
  • Themes
  • Theme Install Service
  • Classic Themes
  • Lattice Plugin
  • Travel
  • Logo creation

Help

  • Kadence tutorials
  • Kadence Install
  • Documentation & Tutorials
  • Feast+ Members
  • Discounts & Coupons
  • Trellis 2.0
  • Trellis
  • Trellis Migration
  • Compatibility
  • Support
  • Legal resources
  • Genesis vs. Kadence
  • Changelog
  • How to start a blog course

Company

  • Privacy Policy
  • Refund Policy
  • Terms & Conditions
  • Why Feast
  • Principles & Best Practices
  • Affiliates
  • Contact
  • Opinion Disclaimer
  • AI Policy

Copyright ©  2026 · Feast Design Co. Results not typical or guaranteed. Our themes and plugins are just a small part of the overall effort involved in running a food blog. Nothing on this website shall constitute legal or financial advice, always consult a local lawyer and accountant. Accessing this website and all transactions herein are under the laws and jurisdiction of Toronto, Ontario, Canada. All pricing is USD.

  • Get the Feast Plugin
  • Documentation
    • Feast Plugin
    • Feast+
  • Open a Support Ticket
Facebook X Instagram
Search