// class
$blog_classes = array();
$section_class = array();
$current_id = get_queried_object_id();
// class | layout
if ($_GET && key_exists('mfn-b', $_GET)) {
$blog_layout = esc_html($_GET['mfn-b']); // demo
} else {
$blog_layout = mfn_opts_get('blog-layout', 'classic');
}
$blog_classes[] = $blog_layout;
// layout | masonry tiles
if ($blog_layout == 'masonry tiles') {
$blog_layout = 'masonry';
}
// class | columns
if ($_GET && key_exists('mfn-bc', $_GET)) {
$blog_classes[] = 'col-'. esc_html($_GET['mfn-bc']); // demo
} else {
$blog_classes[] = 'col-'. mfn_opts_get('blog-columns', 3);
}
// full width
if ($_GET && key_exists('mfn-bfw', $_GET)) {
$section_class[] = 'full-width'; // demo
}
if (mfn_opts_get('blog-full-width') && ($blog_layout == 'masonry')) {
$section_class[] = 'full-width';
}
$section_class = implode(' ', $section_class);
// isotope
if ($_GET && key_exists('mfn-iso', $_GET)) {
$isotope = true;
} elseif (mfn_opts_get('blog-isotope')) {
$isotope = true;
} else {
$isotope = false;
}
if ($isotope || ($blog_layout == 'masonry')) {
$blog_classes[] = 'isotope';
}
// load more
$load_more = mfn_opts_get('blog-load-more');
// translate
$translate['filter'] = mfn_opts_get('translate') ? mfn_opts_get('translate-filter', 'Filter by') : __('Filter by', 'betheme');
$translate['tags'] = mfn_opts_get('translate') ? mfn_opts_get('translate-tags', 'Tags') : __('Tags', 'betheme');
$translate['authors'] = mfn_opts_get('translate') ? mfn_opts_get('translate-authors', 'Authors') : __('Authors', 'betheme');
$translate['all'] = mfn_opts_get('translate') ? mfn_opts_get('translate-all', 'Show all') : __('Show all', 'betheme');
$translate['categories'] = mfn_opts_get('translate') ? mfn_opts_get('translate-categories', 'Categories') : __('Categories', 'betheme');
$translate['item-all'] = mfn_opts_get('translate') ? mfn_opts_get('translate-item-all', 'All') : __('All', 'betheme');
?>
08/12/2023
Published by admin on 08/12/2023 Can Bakuchiol and Vitamin C be Used Together ? As individuals become much more concerned concerning their health and wellness, making use of supplements has actually […]
08/12/2023
Published by admin on 08/12/2023 Can Bakuchiol Be Used During Pregnancy ? Pregnancy is a special time in every lady’s life, and during this time around, it is necessary to take […]
07/12/2023
Published by admin on 07/12/2023 Can Bakuchiol Cause Sun Sensitivity ? In our everyday appeal and health care, vitamin E supplements is an extensively acknowledged health practice. As a kind of […]
07/12/2023
Published by admin on 07/12/2023 Can You Put Aloe Vera Gel Around Your Eyes ? In today’s busy life, skin care has actually ended up being the emphasis of many individuals’s […]
06/12/2023
Published by admin on 06/12/2023 Does Aloe Vera Gel Expire ? Aloe vera gel, as an old and effective natural skin treatment product, has actually been appreciated for its excellent moisturizing […]
06/12/2023
Published by admin on 06/12/2023 When to Use Aloe Vera Gel in Your Skin Care Routine Skin is the largest organ of our body and one of the most sensitive barriers […]
05/12/2023
Published by admin on 05/12/2023 How to Apply Aloe Vera Gel to Your Face at Night In modern-day busy life, individuals pay an increasing number of attention to skin treatment. In […]
05/12/2023
Published by admin on 05/12/2023 Is Laurolamidopropyl Betaine Harmful to Hair? With the continuous innovation of skin care technology, increasingly more components are showing up in our shampoo items. Amongst them, […]
01/12/2023
Published by admin on 01/12/2023 What is Lauramidopropyl Betaine With the continuous growth of skin treatment innovation and people’s search of all-natural components, more and more emerging active ingredients are beginning […]