Skip to content

Instantly share code, notes, and snippets.

@Roy-Oto
Created May 13, 2021 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Roy-Oto/439e725be79a38cb1f686476749085e6 to your computer and use it in GitHub Desktop.
Save Roy-Oto/439e725be79a38cb1f686476749085e6 to your computer and use it in GitHub Desktop.
Before hiding the footer credit in BusinessPress (template-tags.php)
<div class="site-credit">
<?php printf( wp_kses( __( 'Powered by <a href="%1$s">%2$s</a>', 'businesspress' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( __( 'https://wordpress.org/', 'businesspress' ) ), 'WordPress' ); ?>
<span class="site-credit-sep"> | </span>
<?php printf( wp_kses( __( 'Theme by <a href="%1$s">%2$s</a>', 'businesspress' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( __( 'https://businesspress.jp/', 'businesspress' ) ), 'BusinessPress' ); ?>
</div><!-- .site-credit -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment