/**
 * Shortcode to display a link to author url.
 *
 * @since 0.9.0
 * @access public
 * @uses get_theme_data() Gets theme (parent theme) information.
 * @return string
 */
function omega_author_uri_shortcode()
{
    return omega_get_author_uri();
}
Exemple #2
0
/**
 * 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 &#169; ', '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 &#169; ', '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>';
    }
}