Last active
December 20, 2015 07:09
-
-
Save Jonnyauk/6090829 to your computer and use it in GitHub Desktop.
Wonderflux has lots of filters for you to manipulate the output. Here's how to change the footer and comment credit - NOTE: You are free to do this, there is no requirement to give Wonderflux credit (although it would be appreciated - at-least tell your WordPress buddies!)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Just a simple text string that appears near the footer as a HTML comment (view source) | |
function my_wfx_filter_code_credit() { | |
return 'Designed and coded by Wonderflux. Powered by WordPress and the Wonderflux theme framework.'; | |
} | |
add_filter( 'wflux_comment_code_credit', 'my_wfx_filter_code_credit' ); | |
// Replace the footer credit with your own text | |
function my_wfx_filter_footer_credit() { | |
return '<p class="meta">All content ©' . date('Y') . ' My Company | Website design & coding by <a href="http://www.wondeflux.com" class="footer-credit-logo" title="Website design and coding by Wonderflux">Wonderflux</a></p>'; | |
} | |
add_filter( 'wflux_footer_credit', 'my_wfx_filter_footer_credit' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment