'; if ($boxedornot == 'fullwidth') {?>
'; echo ''; echo ''; if ( is_category() ) { echo ""; echo single_cat_title(); echo ""; } elseif ( is_single() ) { echo ''; the_title(); echo ''; } elseif ( is_search() ) { echo ''; echo __('Search Results for ','charity-review'); echo ''; echo get_search_query(); echo''; } elseif ( is_404() ) { echo ''; echo __('404 - Page not found ','charity-review'); echo ''; } elseif ( is_day() ) { echo ''; echo __('Archive for ','charity-review'); echo the_time('F jS, Y'); echo''; } elseif ( is_tag() ) { echo ''; single_tag_title(); echo''; } elseif ( is_author() ) { echo ' '; echo __('Author Archive ','charity-review'); the_author(); echo''; } elseif ( has_post_format() ) { echo ''; echo get_post_format(); echo''; } elseif ( is_page() ) { if( $post->post_parent ){ $anc = get_post_ancestors( $post->ID ); $title = esc_attr( get_the_title() ); foreach ( $anc as $ancestor ) { $output = ''. esc_attr( get_the_title( $ancestor ) ) .' '; } echo $output; echo ' '.$title .''; } else { echo ' '.esc_attr( get_the_title() ) .''; } } } elseif ( is_month() ) { echo 'Archive for '; get_the_date('F, Y'); echo''; } elseif ( is_year() ) { echo 'Archive for '; get_the_date('Y'); echo''; } elseif ( isset($_GET['paged'] ) && !empty( $_GET['paged'] ) ) { echo 'Blog Archives '; echo''; } if ($boxedornot == 'fullwidth') {?>
'; }