Exercise: Creating and using alternative footer file

Hire a WordPress Expert on Codeable
Updated On: June 23rd, 2020 0 Comments

Everything that applies to get_header() function also applies to the get_footer() function. 

Just like get_header() function, we can also instruct the get_footer() function to look for a different footer file by passing the file name as a parameter, for example:

get_footer( 'with-cta-only' );
Pin

And, here is an exercise for you. Create an alternative footer and use it inside the Announcement template. 

Here is the design. Photoshop file is included inside the exercise files.

Pin

Tip: Create a separate dynamic sidebar just for this alternative footer design.

Anyway, that’s all it takes to implement a different header or footer design for a particular page.

Leave a Reply

Your email address will not be published. Required fields are marked *