Creating a Footer
Salient's built-in footer is a widget area: you pick a column count in Theme Options > Footer and fill the columns with widgets. That is quick, but it limits you to what widgets can do.
A global section removes that limit. You build the footer with the same rows, columns and elements you use everywhere else, then attach it to the footer location, and it renders site wide. No widgets involved, and the layout is as free as any other page you build.
Reach for this when the footer needs:
- A layout widgets cannot produce, like an offset grid or a full width call to action
- Page builder elements, such as a form, a carousel or a map
- Its own background image, gradient or color transition
- A parallax reveal as the visitor reaches the end of the page
Building the footer
- Create the global section: Go to Global Sections in the admin sidebar and add a new one. Give it a name you will recognize in the list, such as "Site footer".
- Build the layout: Use the page builder exactly as you would on a page. A row with three or four columns is the usual starting point for a footer, but nothing constrains you to that.
- Set the display location: In the sidebar metabox, add a display location and choose Footer. See Locations and Conditions for what the other locations do.
- Add a display condition: Add at least one condition, such as Entire Site. A location with no condition renders nowhere, which is the most common reason a new footer does not appear.
- Publish: Load any page on the site to check it.
With a global section attached to the footer location, switch Main Footer Area off in Theme Options > Footer so the widget footer does not render above your own. The copyright bar is controlled separately in the same tab.
The three footer locations
| Location | What it does |
|---|---|
| Footer | Renders in place of the usual footer widget area. This is the one to use for a standard replacement. |
| Footer Parallax | The footer sits behind the page content and is revealed as the visitor scrolls to the bottom. |
| After Footer | Renders below the footer, leaving the existing footer in place. Useful for a bar you want under everything else. |
Reusing the footer elsewhere
Because a global section is a normal WordPress post type, the footer you build can be exported and imported into another site, and edited in one place for every page that shows it. To drop the same content into a single page rather than site wide, use the Global Section page builder element.