// 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');
?>
03/02/2023
Published by admin on 03/02/2023 Melanin, You Know What? What is Melanin? Melanin is a sort of biological pigment, which is developed by a series of chemical reactions of tyrosine or […]
13/01/2023
Published by admin on 13/01/2023 Grape Seed Extract, The Ceiling of The Beauty Industry Learn About Grape Seed Extract First! Grape seed remove is a nutritious food boosted from the reliable […]
03/01/2023
Published by admin on 03/01/2023 Little Knowledge of Activated Carbon Triggered carbon is a sort of microcrystalline carbon material made from carbonaceous product with black appearance, developed internal pore framework, huge […]
12/12/2022
Published by admin on 12/12/2022 All About Rice Bran Oil Rice bran oil, also known as rice oil and brown rice oil, is a very popular edible oil in Japan today. […]
05/12/2022
Published by admin on 05/12/2022 Common Knowledge About Perilla Oil? Perilla Oil, the foreign name is: Perilla Seed Oil. It is an edible oil extracted from perilla seeds. Perilla is the […]
30/11/2022
Published by admin on 30/11/2022 Are Fructooligosaccharides The Usual Candy? What Exactly Are oligosaccharides ? ? ? Carbs are important nutrients for the body, as well as their fundamental component units […]
21/11/2022
Published by admin on 21/11/2022 Is Cassia Oil Only for Drinking? Everyone knows that cassia seed tea is just for alcohol consumption, but it is not. Cassia is considered one of […]
14/11/2022
Published by admin on 14/11/2022 Do you Know the Difference Between Elastin and Collagen? The difference between elastin as well as collagen, which is more important?Why is this little compound in […]
09/11/2022
Published by admin on 09/11/2022 Are You Still Using Palmarosa Oil? Before talking about the efficacy of Palmarosa oil, let’s talk about the Palmarosa Trust plant. Palmarosa is also called Martinxiang, […]