• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Add Unique Message Box After Header

This code enables you to add a unique message after the header on all single posts and pages with a default for all non single pages like achives.

The box spans the full width of the screen and includes a colored background.

Video Demo

Here’s an example:

message-box-after-header

You can add the content on the single post or page edit screen using custom fields like this:

custom-field-content

If you also want to add unique content after the header on archive pages, you can install the ACF plugin which adds a meta box to archives rather than hard code a unqiue message for each type of archive.

Here’s the code for members:

Register for full access

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.