ID, 'blogtory_single_post_style', true ); if(empty($single_post_style)){ $single_post_style = blogtory_get_option('single_post_style'); } $classes[] = 'be-'.esc_attr($single_post_style); } return $classes; } add_filter( 'body_class', 'blogtory_body_classes' ); /** * Add a pingback url auto-discovery header for single posts, pages, or attachments. */ function blogtory_pingback_header() { if ( is_singular() && pings_open() ) { echo ''; } } add_action( 'wp_head', 'blogtory_pingback_header' );