Esempio n. 1
0
 * Displays the main body of the theme
 *
 * @package Omega
 * @subpackage Frontend
 * @since 0.1
 *
 * @copyright (c) 2014 Oxygenna.com
 * @license http://wiki.envato.com/support/legal-terms/licensing-terms/
 * @version 1.7.3
 */
// get the author name
if (get_query_var('author_name')) {
    $author = get_user_by('slug', get_query_var('author_name'));
} else {
    $author = get_userdata(get_query_var('author'));
}
get_header();
oxy_blog_header(get_the_author_meta('display_name', $author->ID), null);
// if masonry option set then use masonry option for name otherwise use blog style
$name = oxy_get_option('blog_masonry') === 'no-masonry' ? oxy_get_option('blog_style') : oxy_get_option('blog_masonry');
?>
<section class="section <?php 
echo oxy_get_option('blog_swatch');
?>
">
    <?php 
get_template_part('partials/blog/list', $name);
?>
</section>
<?php 
get_footer();
Esempio n. 2
0
<?php

/**
 * Displays the main body of the theme
 *
 * @package Omega
 * @subpackage Frontend
 * @since 0.1
 *
 * @copyright (c) 2014 Oxygenna.com
 * @license http://wiki.envato.com/support/legal-terms/licensing-terms/
 * @version 1.7.3
 */
get_header();
oxy_blog_header();
?>
<section class="section <?php 
echo oxy_get_option('blog_swatch');
?>
">
    <?php 
get_template_part('partials/blog/list', oxy_get_option('blog_style'));
?>
</section>
<?php 
get_footer();
Esempio n. 3
0
<?php

/**
 * Displays the main body of the theme
 *
 * @package Omega
 * @subpackage Frontend
 * @since 0.1
 *
 * @copyright (c) 2014 Oxygenna.com
 * @license http://wiki.envato.com/support/legal-terms/licensing-terms/
 * @version 1.7.3
 */
get_header();
oxy_blog_header(single_cat_title('', false), category_description());
// if masonry option set then use masonry option for name otherwise use blog style
$name = oxy_get_option('blog_masonry') === 'no-masonry' ? oxy_get_option('blog_style') : oxy_get_option('blog_masonry');
?>
<section class="section <?php 
echo oxy_get_option('blog_swatch');
?>
">
    <?php 
get_template_part('partials/blog/list', $name);
?>
</section>
<?php 
get_footer();
Esempio n. 4
0
<?php

/**
 * Displays the main body of the theme
 *
 * @package Omega
 * @subpackage Frontend
 * @since 0.1
 *
 * @copyright (c) 2014 Oxygenna.com
 * @license http://wiki.envato.com/support/legal-terms/licensing-terms/
 * @version 1.7.3
 */
get_header();
oxy_blog_header(__('Results for', 'omega-td'), get_search_query());
?>
<section class="section <?php 
echo oxy_get_option('blog_swatch');
?>
">
    <?php 
get_template_part('partials/blog/list', oxy_get_option('blog_style'));
?>
</section>
<?php 
get_footer();
Esempio n. 5
0
<?php

/**
 * Displays the main body of the theme
 *
 * @package Omega
 * @subpackage Frontend
 * @since 0.1
 *
 * @copyright (c) 2014 Oxygenna.com
 * @license http://wiki.envato.com/support/legal-terms/licensing-terms/
 * @version 1.7.3
 */
get_header();
$title = single_tag_title('', false);
$subtitle = __('All posts tagged', 'omega-td') . ' ' . single_tag_title('', false);
oxy_blog_header($title, $subtitle);
// if masonry option set then use masonry option for name otherwise use blog style
$name = oxy_get_option('blog_masonry') === 'no-masonry' ? oxy_get_option('blog_style') : oxy_get_option('blog_masonry');
?>

<section class="section <?php 
echo oxy_get_option('blog_swatch');
?>
">
    <?php 
get_template_part('partials/blog/list', $name);
?>
</section>
<?php 
get_footer();
Esempio n. 6
0
<?php

/**
 * Displays the main body of the theme
 *
 * @package Lambda
 * @subpackage Frontend
 * @since 0.1
 *
 * @copyright (c) 2015 Oxygenna.com
 * @license http://wiki.envato.com/support/legal-terms/licensing-terms/
 * @version 1.17.0
 */
$name = oxy_get_option('blog_masonry') === 'no-masonry' ? oxy_get_option('blog_style') : oxy_get_option('blog_masonry');
$title = null;
$subtitle = null;
get_header();
if (is_day()) {
    $title = get_the_date('j M Y');
} elseif (is_month()) {
    $title = get_the_date('F Y');
} elseif (is_year()) {
    $title = get_the_date('Y');
}
oxy_blog_header($title);
get_template_part('partials/blog/list/' . $name);
get_footer();
Esempio n. 7
0
<?php

/**
 * Displays the main body of the theme
 *
 * @package Lambda
 * @subpackage Frontend
 * @since 0.1
 *
 * @copyright (c) 2015 Oxygenna.com
 * @license http://wiki.envato.com/support/legal-terms/licensing-terms/
 * @version 1.17.0
 */
get_header();
oxy_blog_header(__('Results for:', 'lambda-td') . ' ' . get_search_query());
get_template_part('partials/blog/list/' . oxy_get_option('blog_style'));
get_footer();
Esempio n. 8
0
<?php

/**
 * Displays the main body of the theme
 *
 * @package Lambda
 * @subpackage Frontend
 * @since 0.1
 *
 * @copyright (c) 2015 Oxygenna.com
 * @license http://wiki.envato.com/support/legal-terms/licensing-terms/
 * @version 1.17.0
 */
get_header();
oxy_blog_header(single_cat_title('', false));
// if masonry option set then use masonry option for name otherwise use blog style
$name = oxy_get_option('blog_masonry') === 'no-masonry' ? oxy_get_option('blog_style') : oxy_get_option('blog_masonry');
get_template_part('partials/blog/list/' . $name);
get_footer();