the_title(); ?> </a></h2> <?php } ?> <div class="posted-on"><?php wpgrade_posted_on(); ?> / <div class="categories"><?php $categories = get_the_category(); $separator = ' / '; $output = ''; if ($categories) { foreach ($categories as $category) { $output .= '<a href="' . get_category_link($category->term_id) . '" title="' . esc_attr(sprintf(__("View all posts in %s", wpGrade_txtd), $category->name)) . '">' . $category->cat_name . '</a>' . $separator; } echo trim($output, $separator); } ?> </div> </div> </header><!-- .entry-header --> <?php if ($wpGrade_Options->get('blog_show_featured_image') && !is_single()) { echo '<a href="' . get_permalink() . '" title="' . esc_attr(sprintf(__('Read more about %s', wpGrade_txtd), the_title_attribute('echo=0'))) . '" rel="bookmark">'; wpgrade_get_thumbnail('blog-big', 'entry-featured-image'); echo '</a>'; }
get_header(); ?> <?php if (have_posts()) { while (have_posts()) { the_post(); global $post; // The user can choose to hide the wordpress title and put his own with visual editor $html_title = get_post_meta(get_the_ID(), '_senna_page_html_title', true); if (has_post_thumbnail($post->ID) || !empty($html_title)) { ?> <div class="wrapper page-header-wrapper"> <?php wpgrade_get_thumbnail('full', 'featured-image', true); if (!empty($html_title)) { ?> <div class="container"> <div class="row"> <section class="page-header span12 bigger-headings"> <?php echo apply_filters('the_content', $html_title); ?> </section> </div> </div> <?php } ?> </div>