/** * Displays a link to the child theme URI. * * @since 0.9.0 * @access public * @return void */ function omega_child_theme_link() { echo omega_get_child_theme_link(); }
/** * Shortcode to display a link to the child theme's page. * * @since 0.6.0 * @access public * @uses get_theme_data() Gets theme (child theme) information. * @return string */ function omega_child_link_shortcode() { return omega_get_child_theme_link(); }
/** * default footer insert filter */ function omega_default_footer_insert($settings) { /* If there is a child theme active, use [child-link] shortcode to the $footer_insert. */ if (!is_child_theme()) { return '<p class="copyright">' . __('Copyright © ', 'omega') . date_i18n('Y') . ' ' . get_bloginfo('name') . '.</p>' . "\n\n" . '<p class="credit">' . omega_get_theme_name() . __(' WordPress Theme by ', 'omega') . omega_get_author_uri() . '</p>'; } else { return '<p class="copyright">' . __('Copyright © ', 'omega') . date_i18n('Y') . ' ' . get_bloginfo('name') . '.</p>' . "\n\n" . '<p class="credit">' . omega_get_child_theme_link() . __(' WordPress Theme by ', 'omega') . omega_get_author_uri() . '</p>'; } }