<?php global $avia_config; /* * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory. */ get_header(); echo avia_title(array('title' => avia_which_archive())); do_action('ava_after_main_title'); ?> <div class='container_wrap container_wrap_first main_color <?php avia_layout_class('main'); ?> '> <div class='container'> <main class='template-page template-portfolio content <?php avia_layout_class('content'); ?> units' <?php avia_markup_helper(array('context' => 'content', 'post_type' => 'portfolio')); ?> > <div class="entry-content-wrapper clearfix"> <div class="category-term-description"> <?php echo term_description();
function avia_woocommerce_before_main_content() { global $avia_config; if (!isset($avia_config['shop_overview_column'])) { $avia_config['shop_overview_column'] = "auto"; } $id = get_option('woocommerce_shop_page_id'); $layout = get_post_meta($id, 'layout', true); if (!empty($layout)) { $avia_config['layout']['current'] = $avia_config['layout'][$layout]; $avia_config['layout']['current']['main'] = $layout; } $avia_config['layout'] = apply_filters('avia_layout_filter', $avia_config['layout'], $id); $title_args = array(); if (is_woocommerce()) { $t_link = ""; if (is_shop()) { $title = get_option('woocommerce_shop_page_title'); } $shop_id = woocommerce_get_page_id('shop'); if ($shop_id && $shop_id != -1) { if (empty($title)) { $title = get_the_title($shop_id); } $t_link = get_permalink($shop_id); } if (!$title) { $title = __("Shop", 'avia_framework'); } if (is_product_category() || is_product_tag()) { global $wp_query; $tax = $wp_query->get_queried_object(); $title = $tax->name; $t_link = ''; } $title_args = array('title' => $title, 'link' => $t_link); } if (get_post_meta(get_the_ID(), 'header', true) != 'no') { echo avia_title($title_args); } echo "<div class='container_wrap container_wrap_first main_color " . avia_layout_class('main', false) . " template-shop shop_columns_" . $avia_config['shop_overview_column'] . "'>"; echo "<div class='container'>"; if (!is_singular()) { $avia_config['overview'] = true; } }
<?php global $avia_config; /* * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory. */ get_header(); if (get_post_meta(get_the_ID(), 'header', true) != 'no') { echo avia_title(); } ?> <div class='container_wrap main_color <?php avia_layout_class('main'); ?> '> <div class='container'> <div class='template-page template-portfolio content <?php avia_layout_class('content'); ?> units'> <?php /* Run the loop to output the posts. * If you want to overload this in a child theme then include a file * called loop-page.php and that will be used instead. */ $avia_config['size'] = avia_layout_class('main', false) == 'entry_without_sidebar' ? '' : 'entry_with_sidebar'; get_template_part('includes/loop', 'portfolio-single');
if (!is_singular()) { $title = __('Forums', "avia_framework"); } if (function_exists('bbp_is_single_user_edit') && (bbp_is_single_user_edit() || bbp_is_single_user())) { $user_info = get_userdata(bbp_get_displayed_user_id()); $title = __("Profile for User:"******"avia_framework") . " " . $user_info->display_name; if (bbp_is_single_user_edit()) { $title = __("Edit profile for User:"******"avia_framework") . " " . $user_info->display_name; } } $args = array(); if (!empty($title)) { $args['title'] = $title; } if (get_post_meta(get_the_ID(), 'header', true) != 'no') { echo avia_title($args); } ?> <div class='container_wrap main_color <?php avia_layout_class('main'); ?> '> <div class='container'> <div class='template-page content <?php avia_layout_class('content'); ?> units'>
/* * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory. */ get_header(); $title = __('Blog - Latest News', 'avia_framework'); //default blog title $t_link = home_url('/'); $t_sub = ""; if (avia_get_option('frontpage') && ($new = avia_get_option('blogpage'))) { $title = get_the_title($new); //if the blog is attached to a page use this title $t_link = get_permalink($new); $t_sub = avia_post_meta($new, 'subtitle'); } if (get_post_meta(get_the_ID(), 'header', true) != 'no') { echo avia_title(array('heading' => 'strong', 'title' => $title, 'link' => $t_link, 'subtitle' => $t_sub)); } ?> <div class='container_wrap container_wrap_first main_color <?php avia_layout_class('main'); ?> '> <div class='container template-blog template-single-blog '> <main class='content units <?php avia_layout_class('content'); ?> <?php echo avia_blog_class_string();
/* * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory. */ get_header(); ?> <!-- ####### MAIN CONTAINER ####### --> <div class='container_wrap <?php echo $avia_config['layout']; ?> ' id='main'> <div class='container'> <?php echo avia_title(false, false, __('Error 404', 'avia_framework')); ?> <div class='template-page content'> <div class="entry entry-content" id='search-fail'> <?php get_template_part('includes/error404'); ?> </div> <!--end content--> </div> <?php
<?php global $avia_config; /* * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory. */ get_header(); // allows to customize the layout do_action('ava_search_after_get_header'); $results = avia_which_archive(); echo avia_title(array('title' => $results)); do_action('ava_after_main_title'); ?> <div class='container_wrap container_wrap_first main_color <?php avia_layout_class('main'); ?> '> <div class='container'> <main class='content template-search <?php avia_layout_class('content'); ?> units' <?php avia_markup_helper(array('context' => 'content')); ?> > <div class='page-heading-container clearfix'> <section class="search_form_field">
function avia_woocommerce_before_main_content() { global $avia_config; if (!isset($avia_config['shop_overview_column'])) { $avia_config['shop_overview_column'] = "auto"; } if ($new = avia_post_meta(get_option('woocommerce_shop_page_id'), 'layout')) { //split up result $results = explode(' : ', $new); foreach ($results as $result) { $result = explode('|', $result); $avia_config[$result[0]] = $result[1]; } $avia_config['layout'] = apply_filters('avia_layout_filter', $avia_config['layout']); } $title_args = array(); if (is_woocommerce()) { $t_link = ""; if (is_shop()) { $title = get_option('woocommerce_shop_page_title'); } $shop_id = woocommerce_get_page_id('shop'); if ($shop_id && $shop_id != -1) { if (empty($title)) { $title = get_the_title($shop_id); } $t_link = get_permalink($shop_id); } if (!$title) { $title = __("Shop", 'avia_framework'); } if (is_product_category() || is_product_tag()) { global $wp_query; $tax = $wp_query->get_queried_object(); $title = $tax->name; $t_link = ''; } $title_args = array('title' => $title, 'link' => $t_link); } if (get_post_meta(get_the_ID(), 'header', true) != 'no') { echo avia_title($title_args); } echo "<div class='container_wrap main_color " . avia_layout_class('main', false) . " template-shop shop_columns_" . $avia_config['shop_overview_column'] . "'>"; echo "<div class='container'>"; if (!is_singular()) { $avia_config['overview'] = true; } }
/* * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory. */ get_header(); ?> <!-- ####### MAIN CONTAINER ####### --> <div class='container_wrap <?php echo $avia_config['layout']; ?> ' id='main'> <div class='container'> <?php avia_title(); ?> <div class='template-blog template-single-blog content'> <?php /* Run the loop to output the posts. * If you want to overload this in a child theme then include a file * called loop-index.php and that will be used instead. * */ get_template_part('includes/loop', 'index'); //show related posts based on tags if there are any get_template_part('includes/related-posts'); //wordpress function that loads the comments template "comments.php" comments_template('/includes/comments.php'); ?>
<?php global $avia_config, $more; /* * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory. */ get_header(); $description = is_tag() ? tag_description() : category_description(); echo avia_title(array('title' => avia_which_archive(), 'subtitle' => $description, 'link' => false)); $author_id = get_query_var('author'); $name = apply_filters('avf_author_name', get_the_author_meta('display_name', $author_id), $author_id); $heading_s = __("Entries by", 'avia_framework') . " " . $name; do_action('ava_after_main_title'); ?> <div id="page_slider_title_content" class="av-layout-grid-container entry-content-wrapper main_color av-flex-cells avia-builder-el-0 el_before_av_codeblock avia-builder-el-first container_wrap sidebar_left"> <div class="flex_cell no_margin av_one_fourth avia-builder-el-1 el_before_av_cell_three_fourth avia-builder-el-first av-zero-padding " style="vertical-align:top; padding:0px; "> <div class="flex_cell_inner"> <div id="page-slider-title"> <?php echo do_shortcode('[pageslidertitle]'); ?> </div> </div> </div> <div class="flex_cell no_margin av_three_fourth avia-builder-el-3 el_after_av_cell_one_fourth avia-builder-el-last av-zero-padding " style="vertical-align:top; padding:0px; "> <div class="flex_cell_inner"> <section class="avia_codeblock_section avia_code_block_1" itemscope="itemscope" itemtype="https://schema.org/CreativeWork"> <div class="avia_codeblock " itemprop="text"> <?php echo do_shortcode('[rev_slider alias="page_slider"]');
/** * page title & breadcrumb functions. * * @since 1.0.0 * @package GeoDirectory * @global object $wp WordPress object. * @param string $page The page type. * @param string $class The class of the HTML element. */ function enfold_detail_title($page, $class) { //echo '###'.$page; global $wp; if (isset($wp->query_vars['page_id']) && $wp->query_vars['page_id'] == geodir_location_page_id() && !isset($_GET['geodir_signup'])) { add_action('avia_breadcrumbs_trail', 'enfold_detail_breadcrum', 8, 2); echo avia_title(); } elseif ($page == 'details-page') { add_action('avia_breadcrumbs_trail', 'enfold_detail_breadcrum', 8, 2); echo avia_title(); } elseif ($page == 'listings-page' || $page == 'search-page') { add_action('avia_breadcrumbs_trail', 'enfold_detail_breadcrum', 8, 2); ob_start(); // Start buffering; geodir_action_listings_title(); $gd_title = ob_get_clean(); $title_p = explode('">', $gd_title); $title = str_replace('</h1></header>', "", $title_p[2]); //print_r($title_p); echo avia_title(array('title' => $title)); } elseif ($page == 'author-page') { add_action('avia_breadcrumbs_trail', 'enfold_detail_breadcrum', 8, 2); ob_start(); // Start buffering; geodir_action_author_page_title(); $gd_title = ob_get_clean(); $gd_title = str_replace('<h1>', "", $gd_title); $gd_title = str_replace('</h1>', "", $gd_title); echo avia_title(array('title' => $gd_title)); } elseif ($page == 'add-listing-page') { add_action('avia_breadcrumbs_trail', 'enfold_detail_breadcrum', 8, 2); echo avia_title(); } elseif ($page == 'add-listing-page') { add_action('avia_breadcrumbs_trail', 'enfold_detail_breadcrum', 8, 2); echo avia_title(); } }
<?php global $avia_config; /* * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory. */ get_header(); echo avia_title(array('title' => __('Error 404 - page not found', 'avia_framework'))); ?> <div class='container_wrap main_color <?php avia_layout_class('main'); ?> '> <div class='container'> <div class='template-page content <?php avia_layout_class('content'); ?> units'> <div class="entry entry-content clearfix" id='search-fail'> <?php get_template_part('includes/error404'); ?> </div> <!--end content-->
/* * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory. */ get_header(); $title = __('Blog - Latest News', 'avia_framework'); //default blog title $t_link = home_url('/'); $t_sub = ""; if (avia_get_option('frontpage') && ($new = avia_get_option('blogpage'))) { $title = get_the_title($new); //if the blog is attached to a page use this title $t_link = get_permalink($new); $t_sub = avia_post_meta($new, 'subtitle'); } if (get_post_meta(get_the_ID(), 'header', true) != 'no') { echo avia_title(array('title' => $title, 'link' => $t_link, 'subtitle' => $t_sub)); } ?> <div class='container_wrap main_color <?php avia_layout_class('main'); ?> '> <div class='container template-blog template-single-blog '> <div class='content units <?php avia_layout_class('content'); ?> '>
* get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory. */ get_header(); ?> <!-- ####### MAIN CONTAINER ####### --> <div class='container_wrap <?php echo $avia_config['layout']; ?> ' id='main'> <div class='container'> <?php echo avia_title(false, false, avia_which_archive()); ?> <div class='template-blog content'> <?php /* Run the loop to output the posts. * If you want to overload this in a child theme then include a file * called loop-index.php and that will be used instead. */ $more = 0; get_template_part('includes/loop', 'index'); ?> <!--end content--> </div>