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' );
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.
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.