@@ -422,29 +422,34 @@ function sitecare_get_credit_link() {
422422 return apply_filters ( 'sitecare_credit_link ' , $ link );
423423}
424424
425+ add_action ( 'tha_footer_top ' , 'sitecare_theme_info ' );
425426/**
426- * outputs a formatted link to the theme landing page .
427+ * Outputs formatted theme information .
427428 *
428429 * @since 0.1.0
429430 * @access public
430- * @return void
431+ * @return string
431432 */
432- function sitecare_theme_link () {
433- echo sitecare_get_theme_link ();
433+ function sitecare_theme_info () {
434+ echo sitecare_get_theme_info ();
434435}
435436
436437/**
437- * Returns a formatted link to the theme landing page .
438+ * Returns formatted theme information .
438439 *
439440 * @since 0.1.0
440441 * @access public
441442 * @return string
442443 */
443- function sitecare_get_theme_link () {
444- $ link = sprintf ( '<a class="theme-link" href="%s"title="%s">%s</a> ' ,
445- html_entity_decode ( 'http://www.wpsitecare.com/compass/ ' ),
446- __ ( 'The Most Advanced WordPress Starter Theme Ever Created ' , 'sitecare-library ' ),
447- html_entity_decode ( 'Compass ' )
444+ function sitecare_get_theme_info () {
445+ $ info = '<div class="credit"> ' ;
446+ $ info .= sprintf (
447+ // Translators: 1 is current year, 2 is site name/link, 3 is the theme author name/link.
448+ __ ( 'Copyright © %1$s %2$s. Free WordPress Theme by %3$s ' , 'alpha ' ),
449+ date_i18n ( 'Y ' ),
450+ hybrid_get_site_link (),
451+ sitecare_get_credit_link ()
448452 );
449- return apply_filters ( 'sitecare_theme_link ' , $ link );
453+ $ info .= '</div> ' ;
454+ return apply_filters ( 'sitecare_theme_info ' , $ info );
450455}
0 commit comments