From d64aca1b46ee0b1d3465b4584e32c72897165fd1 Mon Sep 17 00:00:00 2001 From: Andrew Misplon Date: Mon, 23 Feb 2026 15:56:09 +0000 Subject: [PATCH] Footer: Inline Attribution And Update Credit Copy --- parts/footer-vertical.php | 15 +++++++++++---- parts/footer.php | 12 +++++++++--- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/parts/footer-vertical.php b/parts/footer-vertical.php index 25bb313d..5ac38360 100644 --- a/parts/footer-vertical.php +++ b/parts/footer-vertical.php @@ -11,9 +11,14 @@ - ' . sprintf( __( 'Theme by %s', 'vantage' ), 'SiteOrigin' ) . '' + ); - if ( ! empty( $site_info_text ) ) { + if ( ! empty( $site_info_text ) || siteorigin_setting( 'general_privacy_policy_link' ) || ! empty( $theme_attribution ) ) { ?>
', '' ); } + + if ( ! empty( $theme_attribution ) ) { + echo wp_kses_post( $theme_attribution ); + } ?>
- ' . sprintf( __( 'A SiteOrigin Theme', 'vantage' ), 'https://siteorigin.com' ) . '' ); ?> - diff --git a/parts/footer.php b/parts/footer.php index c0ed92cf..37004049 100644 --- a/parts/footer.php +++ b/parts/footer.php @@ -13,7 +13,11 @@ ' . sprintf( __( 'Theme by %s', 'vantage' ), 'SiteOrigin' ) . '' + ); + if ( ! empty( $site_info_text ) || siteorigin_setting( 'general_privacy_policy_link' ) || ! empty( $theme_attribution ) ) { ?>
', '' ); } + + if ( ! empty( $theme_attribution ) ) { + echo wp_kses_post( $theme_attribution ); + } ?>
- ' . sprintf( __( 'A SiteOrigin Theme', 'vantage' ), 'https://siteorigin.com' ) . '' ); ?> -