\r\n"; $output .= easel_copyright_info(); $output .= "- "; $output .= __('Powered by','easel') . " WordPress " . __('with','easel'). " Easel\r\n"; $output .= easel_hosted_on(); $output .= ""; $output .= "- "; $output .= "Subscribe: RSS\r\n"; $output .= "\r\n"; if (!easel_themeinfo('disable_scroll_to_top')) { $output .= ""; $output .= "- "; $output .= "".__('Back to Top ↑','easel').""; $output .="\r\n"; } $output .= "

\r\n"; echo apply_filters('easel_footer_text', $output); } } if (!function_exists('easel_hosted_on')) { function easel_hosted_on() { if (is_multisite()) { $current_site = get_current_site(); if (!isset($current_site->site_name)) { $site_name = ucfirst( $current_site->domain ); } else { $site_name = $current_site->site_name; } $output = "- "; $output .= __('Hosted on','easel') . ' '. $site_name. ' '; return apply_filters('easel_hosted_on', $output); } } } if (!function_exists('easel_copyright_info')) { function easel_copyright_info() { $copyright = __('©', 'easel'). easel_copyright_dates() . ' ' . apply_filters('easel_copyright_info_name', '' . get_bloginfo('name') . '') . ' '; return apply_filters('easel_copyright_info', $copyright); } } if (!function_exists('easel_copyright_dates')) { function easel_copyright_dates() { global $wpdb; $copyright_dates = $wpdb->get_results(" SELECT YEAR(min(post_date_gmt)) AS firstdate, YEAR(max(post_date_gmt)) AS lastdate FROM $wpdb->posts WHERE post_status = 'publish' "); $output = ''; if ($copyright_dates) { $copyright = $copyright_dates[0]->firstdate; if($copyright_dates[0]->firstdate != $copyright_dates[0]->lastdate) { $copyright .= '-' . $copyright_dates[0]->lastdate; } $output = $copyright; } return apply_filters('easel_copyright_dates', $output); } } // Example of how to do copyright information // add_filter('easel_copyright_info_name', 'easel_add_copyright_info_name'); /* function easel_add_copyright_info_name() { $output = 'Philip M. Hofer '; return $output; } */ ?>