Skip to content

Instantly share code, notes, and snippets.

@Roy-Oto
Created May 13, 2021 03:50
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/d89b006a6768c19c4c571192d363dfb7 to your computer and use it in GitHub Desktop.
Save Roy-Oto/d89b006a6768c19c4c571192d363dfb7 to your computer and use it in GitHub Desktop.
After 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