function anaglyph_get_post_additional_title() { global $anaglyph_config, $prefix; $add_title = get_post_meta(get_the_ID(), $prefix . 'image_title_text', true); $add_img = get_post_meta(get_the_ID(), $prefix . 'image_title_img', true); $def_img = esc_url(get_template_directory_uri() . '/includes/theme/assets/bgs/title-background.jpg'); ?> <!-- Page Title --> <section id="page-title"> <?php if (trim($add_title) != '') { ?> <div class="title"> <h1 class="reset-margin"><?php echo $add_title; ?> </h1> </div> <?php } ?> <?php if (!empty($add_img)) { echo '<img src="' . esc_url($add_img) . '" class="parallax-bg" alt="">'; } else { anaglyph_custom_image('simple-post'); } ?> </section> <!-- end Page Title --> <?php }
* * Used to display archive-type pages for posts in a tag. * * @package WordPress * @subpackage Anaglyph_Theme * @since Anaglyph Theme 1.0 */ get_header(); ?> <section id="page-title"> <div class="title"> <h1 class="reset-margin"><?php printf(__('Tag Archives: %s', 'anaglyph-lite'), single_tag_title('', false)); ?> </h1> </div> <?php anaglyph_custom_image('tag-image'); ?> </section><!-- .archive-header --> <?php anaglyph_add_breadcrumbs(); ?> <?php anaglyph_default_page_content(); ?> <?php get_footer();
?> </section> <!-- end Page Title --> <?php anaglyph_add_breadcrumbs(); ?> <section id="not-found" class="block" role="main"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="section-content"> <div class="center"> <div class="featured-404"> <?php anaglyph_custom_image('404-image'); ?> </div> </div> <?php if (!empty($anaglyph_config['404-text'])) { echo '<div class="entry-content">'; echo '<p>' . $anaglyph_config['404-text'] . '</p>'; echo '</div>'; } ?> <?php get_search_form(); ?> </div>
/** * The template for displaying Search Results pages * @package WordPress * @subpackage Anaglyph_Theme * @since Anaglyph Theme 1.0 */ get_header(); ?> <!-- Page Title --> <section id="page-title"> <div class="title"> <h1 class="reset-margin"><?php printf(__('Search Results for: %s', 'anaglyph-lite'), get_search_query()); ?> </h1> </div> <?php anaglyph_custom_image('search-image'); ?> </section> <!-- end Page Title --> <?php anaglyph_add_breadcrumbs(); ?> <?php anaglyph_default_page_content(); ?> <?php get_footer();
/** * The template for displaying Author archive pages * @package WordPress * @subpackage Anaglyph_Theme * @since Anaglyph Theme 1.0 */ get_header(); ?> <!-- Page Title --> <section id="page-title"> <div class="title"> <h1 class="reset-margin"><?php printf(__('All posts by %s', 'anaglyph-lite'), get_the_author()); ?> </h1> </div> <?php anaglyph_custom_image('author-image'); ?> </section> <!-- end Page Title --> <?php anaglyph_add_breadcrumbs(); ?> <?php anaglyph_default_page_content(); ?> <?php get_footer();
/** * The template for displaying Category pages * @package WordPress * @subpackage Anaglyph_Theme * @since Anaglyph Theme 1.0 */ get_header(); ?> <!-- Page Title --> <section id="page-title"> <div class="title"> <h1 class="reset-margin"><?php printf(__('Category: %s', 'anaglyph-lite'), single_cat_title('', false)); ?> </h1> </div> <?php anaglyph_custom_image('category-image'); ?> </section> <!-- end Page Title --> <?php anaglyph_add_breadcrumbs(); ?> <?php anaglyph_default_page_content(); ?> <?php get_footer();