WordPress';
}
add_shortcode('wp-link', 'thmfooter_wp_link');
function thmfooter_theme_link() {
$themelink = 'Buddymatic Theme Framework';
return apply_filters('thematic_theme_link',$themelink);
}
add_shortcode('theme-link', 'thmfooter_theme_link');
function thmfooter_login_link() {
if ( ! is_user_logged_in() )
$link = '' . __('Login','thematic') . '';
else
$link = '' . __('Logout','thematic') . '';
return apply_filters('loginout', $link);
}
add_shortcode('loginout-link', 'thmfooter_login_link');
function thmfooter_blog_title() {
return '' . get_bloginfo('name') . '';
}
add_shortcode('blog-title', 'thmfooter_blog_title');
function thmfooter_year() {
return '' . date('Y') . '';
}
add_shortcode('the-year', 'thmfooter_year');
// Providing information about Thematic
function theme_name() {
return THEMENAME;
}
add_shortcode('theme-name', 'theme_name');
function theme_author() {
return THEMEAUTHOR;
}
add_shortcode('theme-author', 'theme_author');
function theme_uri() {
return THEMEURI;
}
add_shortcode('theme-uri', 'theme_uri');
function theme_version() {
return THEMATICVERSION;
}
add_shortcode('theme-version', 'theme_version');
// Providing information about the child theme
function child_name() {
return TEMPLATENAME;
}
add_shortcode('child-name', 'child_name');
function child_author() {
return TEMPLATEAUTHOR;
}
add_shortcode('child-author', 'child_author');
function child_uri() {
return TEMPLATEURI;
}
add_shortcode('child-uri', 'child_uri');
function child_version() {
return TEMPLATEVERSION;
}
add_shortcode('child-version', 'child_version');
?>