// 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');
?>
29/05/2023
Published by admin on 29/05/2023 Little Knowledge of Astaxanthin! ! Astaxanthin (English astaxanthin referred to as ASTA, additionally referred to as astaxanthin in Hong Kong as well as Taiwan) is a […]
22/05/2023
Published by admin on 22/05/2023 Emu Oil Scams How to Choose Emu Oil When we select emu oil to improve our body issues, all of us wish to purchase actually effective […]
15/05/2023
Published by admin on 15/05/2023 Tea Tree Oil is a Big Name in The World of Essential Oils! Discovery Background: In 1770, when British Captain Cook landed in Australia during a […]
06/05/2023
Published by admin on 06/05/2023 Whitening Pay Attention To Those Things ? 9 Whitening Common Senses to Remember Common Sense 1Whitening common sense 1: Whitening should start early in the morning […]
24/04/2023
Published by admin on 24/04/2023 “Squalane” Ingredient Revealed: Skin Balm Shark Extracted Squalane Effects of Squalane On The Skin Squalane is Suitable For The Crowd How to Use Squalane Refer To […]
17/04/2023
Published by admin on 17/04/2023 Which is Better, Olive Oil or Grapeseed Oil? Olive oil is rich in omega-3 unsaturated fats, which are beneficial to the cardio system. Grapeseed Oil not […]
11/04/2023
Published by admin on 11/04/2023 Science Debunks Rumors! Niacinamide and Vc Can’t Be Used Together? Summer is coming, isn’t it that many friends are starting to look for ways to whiten, […]
07/04/2023
Published by admin on 07/04/2023 Sharing Little Knowledge – Whitening Chemicals Retinol: 1. Retinol is often known as vitamin A. Including retinol, retinal, retinoic acid, and retinyl esters, they are all […]
25/03/2023
Published by admin on 25/03/2023 Mineral Oil Vs Vegetable Oil, How to Choose In Cosmetics, Which is Better, Vegetable Oil VS Mineral Oil? Why do so many people still have adverse […]