Lindburgers

/** * The template for displaying content in the single.php template * * @package Betheme * @author Muffin group * @link https://muffingroup.com */ // prev & next post $single_post_nav = array( 'hide-header' => false, 'hide-sticky' => false, 'in-same-term' => false, ); $opts_single_post_nav = mfn_opts_get('prev-next-nav'); if (is_array($opts_single_post_nav)) { if (isset($opts_single_post_nav['hide-header'])) { $single_post_nav['hide-header'] = true; } if (isset($opts_single_post_nav['hide-sticky'])) { $single_post_nav['hide-sticky'] = true; } if (isset($opts_single_post_nav['in-same-term'])) { $single_post_nav['in-same-term'] = true; } } $post_prev = get_adjacent_post($single_post_nav['in-same-term'], '', true); $post_next = get_adjacent_post($single_post_nav['in-same-term'], '', false); $blog_page_id = get_option('page_for_posts'); // post classes $classes = array(); if (! mfn_post_thumbnail(get_the_ID())) { $classes[] = 'no-img'; } if (get_post_meta(get_the_ID(), 'mfn-post-hide-image', true)) { $classes[] = 'no-img'; } if (post_password_required()) { $classes[] = 'no-img'; } if (! mfn_opts_get('blog-title')) { $classes[] = 'no-title'; } if (mfn_opts_get('share') == 'hide-mobile') { $classes[] = 'no-share-mobile'; } elseif (! mfn_opts_get('share')) { $classes[] = 'no-share'; } if (mfn_opts_get('share-style')) { $classes[] = 'share-'. mfn_opts_get('share-style'); } // translate $translate['published'] = mfn_opts_get('translate') ? mfn_opts_get('translate-published', 'Published by') : __('Published by', 'betheme'); $translate['at'] = mfn_opts_get('translate') ? mfn_opts_get('translate-at', 'at') : __('at', 'betheme'); $translate['tags'] = mfn_opts_get('translate') ? mfn_opts_get('translate-tags', 'Tags') : __('Tags', 'betheme'); $translate['categories'] = mfn_opts_get('translate') ? mfn_opts_get('translate-categories', 'Categories') : __('Categories', 'betheme'); $translate['all'] = mfn_opts_get('translate') ? mfn_opts_get('translate-all', 'Show all') : __('Show all', 'betheme'); $translate['related'] = mfn_opts_get('translate') ? mfn_opts_get('translate-related', 'Related posts') : __('Related posts', 'betheme'); $translate['readmore'] = mfn_opts_get('translate') ? mfn_opts_get('translate-readmore', 'Read more') : __('Read more', 'betheme'); ?>

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

Leave a Reply

Your email address will not be published. Required fields are marked *