$content = apply_filters('the_content', $content);
if (get_query_var('paged')) {
    $paged = get_query_var('paged');
} elseif (get_query_var('page')) {
    $paged = get_query_var('page');
} else {
    $paged = 1;
}
$sidebar = get_post_meta($id, "qode_show-sidebar", true);
if (get_post_meta($id, "qode_page_background_color", true) != "") {
    $background_color = get_post_meta($id, "qode_page_background_color", true);
} else {
    $background_color = "";
}
if (isset($qode_options_proya['number_of_chars_small_image']) && $qode_options_proya['number_of_chars_small_image'] != "") {
    qode_set_blog_word_count($qode_options_proya['number_of_chars_small_image']);
}
$blog_content_position = "content_above_blog_list";
if (isset($qode_options_proya['blog_content_position'])) {
    $blog_content_position = $qode_options_proya['blog_content_position'];
}
$content_style_spacing = "";
if (get_post_meta($id, "qode_margin_after_title", true) != "") {
    if (get_post_meta($id, "qode_margin_after_title_mobile", true) == 'yes') {
        $content_style_spacing = "padding-top:" . esc_attr(get_post_meta($id, "qode_margin_after_title", true)) . "px !important";
    } else {
        $content_style_spacing = "padding-top:" . esc_attr(get_post_meta($id, "qode_margin_after_title", true)) . "px";
    }
}
?>
	<?php 
Example #2
0
$content = apply_filters('the_content', $content);
if (get_query_var('paged')) {
    $paged = get_query_var('paged');
} elseif (get_query_var('page')) {
    $paged = get_query_var('page');
} else {
    $paged = 1;
}
$sidebar = get_post_meta($id, "qode_show-sidebar", true);
if (get_post_meta($id, "qode_page_background_color", true) != "") {
    $background_color = get_post_meta($id, "qode_page_background_color", true);
} else {
    $background_color = "";
}
if ($qode_options_proya['number_of_chars_masonry'] != "") {
    qode_set_blog_word_count($qode_options_proya['number_of_chars_masonry']);
}
$blog_content_position = "content_above_blog_list";
if (isset($qode_options_proya['blog_content_position'])) {
    $blog_content_position = $qode_options_proya['blog_content_position'];
}
$category_filter = "no";
if (isset($qode_options_proya['blog_masonry_filter'])) {
    $category_filter = $qode_options_proya['blog_masonry_filter'];
}
$container_inner_class = "";
if ($category_filter == "yes") {
    $container_inner_class = " page_container_inner";
}
$content_style_spacing = "";
if (get_post_meta($id, "qode_margin_after_title", true) != "") {
Example #3
0
    $paged = get_query_var('page');
} else {
    $paged = 1;
}
$sidebar = get_post_meta($id, "qode_show-sidebar", true);
$blog_hide_comments = "";
if (isset($qode_options_theme13['blog_hide_comments'])) {
    $blog_hide_comments = $qode_options_theme13['blog_hide_comments'];
}
if (get_post_meta($id, "qode_page_background_color", true) != "") {
    $background_color = get_post_meta($id, "qode_page_background_color", true);
} else {
    $background_color = "";
}
if ($qode_options_theme13['number_of_chars_masonry']) {
    qode_set_blog_word_count($qode_options_theme13['number_of_chars_masonry']);
}
?>

	<?php 
if (get_post_meta($id, "qode_page_scroll_amount_for_sticky", true)) {
    ?>
		<script>
		var page_scroll_amount_for_sticky = <?php 
    echo get_post_meta($id, "qode_page_scroll_amount_for_sticky", true);
    ?>
;
		</script>
	<?php 
}
?>
Example #4
0
$sidebar = get_post_meta($id, "qode_show-sidebar", true);
if (get_post_meta($id, "qode_page_background_color", true) != "") {
    $background_color = get_post_meta($id, "qode_page_background_color", true);
} else {
    $background_color = "";
}
$content_style = "";
if (get_post_meta($id, "qode_content-top-padding", true) != "") {
    if (get_post_meta($id, "qode_content-top-padding-mobile", true) == "yes") {
        $content_style = "style='padding-top:" . get_post_meta($id, "qode_content-top-padding", true) . "px !important'";
    } else {
        $content_style = "style='padding-top:" . get_post_meta($id, "qode_content-top-padding", true) . "px'";
    }
}
if ($qode_options['number_of_chars_large_image'] != "") {
    qode_set_blog_word_count($qode_options['number_of_chars_large_image']);
}
?>
	<?php 
if (get_post_meta($id, "qode_page_scroll_amount_for_sticky", true)) {
    ?>
			<script>
			var page_scroll_amount_for_sticky = <?php 
    echo get_post_meta($id, "qode_page_scroll_amount_for_sticky", true);
    ?>
;
			</script>
		<?php 
}
?>
			<?php 
$post_number = esc_attr(get_post_meta($id, "qode_show-posts-per-page", true));
if (get_query_var('paged')) {
    $paged = get_query_var('paged');
} elseif (get_query_var('page')) {
    $paged = get_query_var('page');
} else {
    $paged = 1;
}
$sidebar = get_post_meta($id, "qode_show-sidebar", true);
if (get_post_meta($id, "qode_page_background_color", true) != "") {
    $background_color = 'background-color: ' . esc_attr(get_post_meta($id, "qode_page_background_color", true));
} else {
    $background_color = "";
}
if (isset($qode_options_proya['blog_vertical_loop_type_number_of_chars']) && $qode_options_proya['blog_vertical_loop_type_number_of_chars'] != "") {
    qode_set_blog_word_count(esc_attr($qode_options_proya['blog_vertical_loop_type_number_of_chars']));
}
$content_style_spacing = "";
if (get_post_meta($id, "qode_margin_after_title", true) != "") {
    if (get_post_meta($id, "qode_margin_after_title_mobile", true) == 'yes') {
        $content_style_spacing = "padding-top:" . esc_attr(get_post_meta($id, "qode_margin_after_title", true)) . "px !important";
    } else {
        $content_style_spacing = "padding-top:" . esc_attr(get_post_meta($id, "qode_margin_after_title", true)) . "px";
    }
}
if (get_post_meta($id, "qode_page_scroll_amount_for_sticky", true)) {
    ?>
    <script>
        var page_scroll_amount_for_sticky = <?php 
    echo esc_attr(get_post_meta($id, "qode_page_scroll_amount_for_sticky", true));
    ?>
Example #6
0
$sidebar = get_post_meta($id, "qode_show-sidebar", true);
if (get_post_meta($id, "qode_page_background_color", true) != "") {
    $background_color = get_post_meta($id, "qode_page_background_color", true);
} else {
    $background_color = "";
}
$content_style = "";
if (get_post_meta($id, "qode_content-top-padding", true) != "") {
    if (get_post_meta($id, "qode_content-top-padding-mobile", true) == "yes") {
        $content_style = "style='padding-top:" . get_post_meta($id, "qode_content-top-padding", true) . "px !important'";
    } else {
        $content_style = "style='padding-top:" . get_post_meta($id, "qode_content-top-padding", true) . "px'";
    }
}
if ($qode_options['number_of_chars_animated'] != "") {
    qode_set_blog_word_count($qode_options['number_of_chars_animated']);
}
if (get_post_meta($id, "qode_page_scroll_amount_for_sticky", true)) {
    ?>
    <script>
        var page_scroll_amount_for_sticky = <?php 
    echo get_post_meta($id, "qode_page_scroll_amount_for_sticky", true);
    ?>
;
    </script>
<?php 
}
get_template_part('title');
?>

<?php 
Example #7
0
$sidebar = get_post_meta($id, "qode_show-sidebar", true);
if (get_post_meta($id, "qode_page_background_color", true) != "") {
    $background_color = get_post_meta($id, "qode_page_background_color", true);
} else {
    $background_color = "";
}
$content_style = "";
if (get_post_meta($id, "qode_content-top-padding", true) != "") {
    if (get_post_meta($id, "qode_content-top-padding-mobile", true) == "yes") {
        $content_style = "style='padding-top:" . get_post_meta($id, "qode_content-top-padding", true) . "px !important'";
    } else {
        $content_style = "style='padding-top:" . get_post_meta($id, "qode_content-top-padding", true) . "px'";
    }
}
if ($qode_options['number_of_chars_chequered'] != "") {
    qode_set_blog_word_count($qode_options['number_of_chars_chequered']);
}
if (get_post_meta($id, "qode_page_scroll_amount_for_sticky", true)) {
    ?>
    <script>
        var page_scroll_amount_for_sticky = <?php 
    echo get_post_meta($id, "qode_page_scroll_amount_for_sticky", true);
    ?>
;
    </script>
<?php 
}
get_template_part('title');
?>

<?php