Skip to content

Commit 32103b7

Browse files
Added footer credits filter
1 parent c25b376 commit 32103b7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/extras.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,12 @@ function bfg_viewport_value() {
9898
$link = '<li class="page-item">' . $link . '</li>';
9999
}
100100
return $link;
101+
} );
102+
103+
add_filter( 'genesis_footer_creds_text', function( $creds ) {
104+
if ( get_theme_mod( 'creds', false ) ) {
105+
$creds = get_theme_mod( 'creds' );
106+
}
107+
108+
return $creds;
101109
} );

0 commit comments

Comments
 (0)