">
style="background-image: url( );" style="background-image: url( );" >

'; } ?>
'; } if ($theme == "winter") { echo '
'; } // Start the loop. while (have_posts()) : the_post(); // Include the single post content template. bdp_get_template('single/' . $theme . '.php'); do_action('bd_single_design_format_function', $bdp_settings, $alter_class); $display_author = isset($bdp_settings['display_author_data']) ? $bdp_settings['display_author_data'] : 0; $txtAuthorTitle = isset($bdp_settings['txtAuthorTitle']) ? $bdp_settings['txtAuthorTitle'] : '[author]'; $display_author_biography = $bdp_settings['display_author_biography']; if ($display_author == 1 && $theme == "brite") { ?>
ID); if ($categories) { $category_ids = array(); foreach ($categories as $individual_category) $category_ids[] = $individual_category->term_id; $args = array( 'category__in' => $category_ids, 'post__not_in' => array($post->ID), 'posts_per_page' => $post_perpage, // Number of related posts that will be displayed. 'caller_get_posts' => 1, 'orderby' => $orderby, 'order' => $order ); } } elseif ($related_post_by == "tag") { global $post; $tags = wp_get_post_tags($post->ID); if ($tags) { $tag_ids = array(); foreach ($tags as $individual_tag) $tag_ids[] = $individual_tag->term_id; $args = array( 'tag__in' => $tag_ids, 'post__not_in' => array($post->ID), 'posts_per_page' => $post_perpage, // Number of related posts to display. 'orderby' => $orderby, 'order' => $order ); } } $my_query = new wp_query($args); if ($my_query->have_posts()) { ?>
'; } ?>
'; } do_action('bdp_after_single_page'); else : // If no content, include the "No posts found" template. get_template_part('content', 'none'); endif; ?>