Manage -> Add Pheedo
Author: Daisy Olsen
Version: 1.0
Author URI: http://daisyolsen.com/
*/
/*
Based on 'sig2feed' by Brendan Borlase - http://www.smackfoo.com/
*/
// Setup defaults if options do not exist
add_option('pheedo_data', ''); // Default Signature data
add_option('pheedo_sfeed', FALSE); // Disable Add Pheedo by default
function pheedo_add_option_pages() {
if (function_exists('add_options_page')) {
add_management_page('Configure Add Pheedo', 'Add Pheedo', 8, __FILE__, 'pheedo_options_page');
}
}
function pheedo_trim_sig($sig) {
return trim($sig, "*");
}
function pheedo_options_page() {
if (isset($_POST['info_update'])) { ?>
Add Pheedo will add the necessary code, once it's been entered below, to the main RSS feed(s), You can also enter HTML or Text to provide a custom tag-line, or direct readers back to your blog.
To enable the Ads/signature in all feed items enable the check box in the options section of this page. Alternatively, if you wish to add post-by-post control, disable the checkbox below and insert
<!-- pheedo --> in any post you wish to trigger
Pheedo or your signature on.
To check for new versions or to view more information on my work, please visit the official Add Pheedo plugin page.
If you found the Add Pheedo plugin useful, please consider making a donation to support it's development. Thank you!