If you want to remove the podPress footer from your theme, you have a couple options. First, the simplest is to check under Podpress > General Settings, and the last checkbox has to do with Credit. Simply uncheck it to remove it from your footer (unless you want everyone to know who/what made everything so bad [as they say in their admin section]).
If you have Thesis, you can add this to your custom functions.php file:
[php]function remove_podpress_footer () {
remove_action('wp_footer','podPress_wp_footer');
}
add_action('wp_footer','remove_podpress_footer', 9);[/php]
Placing the 9 (or even an 8) ensures that this code runs before that of Podpress’s code since the default is 10 (thanks to Henrik Melin and his post).
However, if you are not using Thesis/Genesis, must do this inside the plugin, besides buying one of these frameworks, you want to open the plugins editor to edit podpress/podpress.php and find the code that looks like this:
[php] function podPress_wp_footer() {
GLOBAL $podPress, $podPress_inAdmin;
if(!$podPress_inAdmin) {
if(!$podPress->settings['compatibilityChecks']['themeTested']) {
$podPress->settings['compatibilityChecks']['themeTested'] = true;
podPress_update_option('podPress_config', $podPress->settings);
}
}
if(!$podPress_inAdmin) {
if(!$podPress->settings['compatibilityChecks']['wp_footer']) {
$podPress->settings['compatibilityChecks']['wp_footer'] = true;
podPress_update_option('podPress_config', $podPress->settings);
} else {
$podPress->settings['compatibilityChecks']['wp_footer'] = true;
}
}
if($podPress->settings['enableFooter']) {
$diplay = 'block';
} else {
$diplay = 'none';
}
echo '<div id="podPress_footer" style="display: '.$diplay.'; text-align: center;"><cite>'.__('Podcast Powered by ', 'podpress').'<a href="http://www.mightyseek.com/podpress/" title="podPress, '.__('the dream plugin for podcasting with WordPress', 'podpress').'"><strong>podPress (v'.PODPRESS_VERSION.')</strong></a></cite></div>';
}[/php]
And you want to comment out this section by adding /* at the beginning and */ at the end, so that:
[php]/* function podPress_wp_footer() {
GLOBAL $podPress, $podPress_inAdmin;
if(!$podPress_inAdmin) {
if(!$podPress->settings['compatibilityChecks']['themeTested']) {
$podPress->settings['compatibilityChecks']['themeTested'] = true;
podPress_update_option('podPress_config', $podPress->settings);
}
}
if(!$podPress_inAdmin) {
if(!$podPress->settings['compatibilityChecks']['wp_footer']) {
$podPress->settings['compatibilityChecks']['wp_footer'] = true;
podPress_update_option('podPress_config', $podPress->settings);
} else {
$podPress->settings['compatibilityChecks']['wp_footer'] = true;
}
}
if($podPress->settings['enableFooter']) {
$diplay = 'block';
} else {
$diplay = 'none';
}
echo '<div id="podPress_footer" style="display: '.$diplay.'; text-align: center;"><cite>'.__('Podcast Powered by ', 'podpress').'<a href="http://www.mightyseek.com/podpress/" title="podPress, '.__('the dream plugin for podcasting with WordPress', 'podpress').'"><strong>podPress (v'.PODPRESS_VERSION.')</strong></a></cite></div>';
}*/[/php]
Then you want to find the following code
[php]add_action('wp_footer', 'podPress_wp_footer');[/php]
and comment it out so that:
[php]/*add_action('wp_footer', 'podPress_wp_footer');*/[/php]