# Kadence: Call-to-Action Band Above the Footer

> Adds a full-width call-to-action band above the footer on every page of the Kadence theme, with a heading and button you set at the top.

- Type: PHP
- Runs: Frontend only
- Category: [Page Builders & Themes](https://wpide.com/library/category/page-builders/)
- Tags: kadence, footer, cta
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/kadence-prefooter-cta/

## Code

```php
// CTA content and pages to skip.
$wpide_kadence_cta      = array( 'heading' => 'Ready to start your project?', 'button' => 'Get a quote', 'url' => '/contact/' );
$wpide_kadence_cta_skip = array();

add_action( 'kadence_before_footer', function () use ( $wpide_kadence_cta, $wpide_kadence_cta_skip ) {
    if ( $wpide_kadence_cta_skip && is_page( $wpide_kadence_cta_skip ) ) {
        return;
    }

    printf(
        '<section class="wpide-kadence-cta" style="padding:48px 20px;text-align:center;background:var(--global-palette1,#2b6cb0);color:#fff;"><h2 style="color:inherit;margin:0 0 16px;">%1$s</h2><a class="button" href="%2$s" style="background:#fff;color:#111;">%3$s</a></section>',
        esc_html( $wpide_kadence_cta['heading'] ),
        esc_url( $wpide_kadence_cta['url'] ),
        esc_html( $wpide_kadence_cta['button'] )
    );
} );
```

## Notes

Add page IDs to $wpide_kadence_cta_skip to hide the band on those pages (for example the contact page).

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Kadence: Call-to-Action Band Above the Footer" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
