When Trellis is the active theme, you can find these settings by logging into your WordPress Admin and navigating to Appearance → Mediavine Trellis → Hooks

For important scripts

Add custom HTML code to the <head> tag

Use this hooks section to add additional meta tags or scripts to the <head> section of your site. Anything added to this field will be served site-wide.

A good use case for this setting would be to add your Google Site verification HTML meta tag, or a Pinterest domain verification HTML tag.

❗ A bad use case for this setting would be CTAs, Affiliate messaging, and pretty much anything that you want your user's to see.

For important in-post Messages

Add custom HTML code before the post content

Anything added here will be displayed just before the content on posts only. This content will not display on pages or article feeds.

A good use case for this hooks section would be Affiliate Disclaimers, CTAs, or anything else you might want to see at the top of all of your posts. This field supports HTML markup and shortcode.

The content placed in this Hooks section will appear after the post meta information and before the post content:

For supporting in-post information

Add custom HTML code after the post content

Anything added here will be displayed just after the content on posts only. This content will not display on pages or article feeds.

A good use case for this hooks section would be CTAs or anything else you might want to see at the bottom of all your posts.

This field supports HTML markup and shortcode.

The content placed in this Hooks section will appear after the comments:

For supporting scripts

Add custom HTML code to the end of the <body> tag

Use this hooks section for additional scripts that might be required by external services such as newsletters or email opt-in forms. Anything added here should not be needed at the time of the First Contentful Paint (FCP). In other words, this script area is not for important scripts such as your Facebook Pixel, Ad Script, or other scripts needed at the time that the page loads.

Anything added to this field will be served site-wide, just before the closing </body> tag of all posts and pages.

Did this answer your question?