// 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');
?>
28/09/2023
Published by admin on 28/09/2023 Which Cosmetic Ingredient Helps Prevent Moisture Loss Skin is the most significant body organ of our body. It not only gives us with a stunning external […]
16/09/2023
Published by admin on 16/09/2023 Different Types of Vegetable Oils What’s The Difference? Grease is a present from nature and also a vital part of our lives. They give excellent taste […]
15/09/2023
Published by admin on 15/09/2023 What Does SPF Mean in Skin Care and Why is it Important? In our daily lives, sunshine is a natural and fantastic existence. It beams on […]
08/09/2023
Published by admin on 08/09/2023 How to Choose The Right Skin Care Products for you? Navigation Bar Know your Skin Type and Needs How to Choose the Most Suitable Skin Care […]
06/09/2023
Published by admin on 06/09/2023 What are the Different Types of Vitamins? Navigation Bar – Take You to Understand The Wonderful World of Vitamins: Basic Concepts of Vitamins Properties and Functions […]
31/08/2023
Published by admin on 31/08/2023 The Role of D-Mannitol in Skin Care Nowadays, both boys and also ladies will buy a set of skin treatment items and maintain them in your […]
19/08/2023
Published by admin on 19/08/2023 Magnolol, Let Me Show You ! ! Magnolia officinalis has high medicinal value, and its bark, root bark, blossoms and fruits can be utilized as medicine. […]
11/08/2023
Published by admin on 11/08/2023 Miraculous Benefits of Ylang Ylang Oil Nowadays, city slickers are under high job pressure, which can easily trigger different life problems, such as anxiety, palpitations, insomnia, […]
05/08/2023
Published by admin on 05/08/2023 Lactobionic Acid, Let Me Tell You Something? What is Lactobionic Acid? The Effect of Lactobionic Acid On The Skin Fruit Acid Has Four Generations of Products: […]