From 1fcc2cefb9a84475af7f49de9dee5bb9d17b31a8 Mon Sep 17 00:00:00 2001 From: Ashu Kumar Gupta Date: Fri, 5 Mar 2021 18:12:29 +0530 Subject: [PATCH] Minor fixes --- inc/customizer/custom/controls/custom-controls.php | 6 +++--- inc/template-functions.php | 3 +-- style.css | 4 +++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/inc/customizer/custom/controls/custom-controls.php b/inc/customizer/custom/controls/custom-controls.php index d861f4e..ddf2a36 100644 --- a/inc/customizer/custom/controls/custom-controls.php +++ b/inc/customizer/custom/controls/custom-controls.php @@ -118,7 +118,7 @@ public function render_content() { <?php echo esc_attr( $value['name'] ); ?> - + @@ -158,7 +158,7 @@ public function render_content() { choices as $key => $value ) { ?> @@ -202,7 +202,7 @@ public function render_content() { <?php echo esc_attr( $value['name'] ); ?> - + diff --git a/inc/template-functions.php b/inc/template-functions.php index c5b8acc..99b466e 100644 --- a/inc/template-functions.php +++ b/inc/template-functions.php @@ -229,8 +229,7 @@ function setPostViews($postID) { } } } -// Remove issues with prefetching adding extra views -remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0); + if ( ! function_exists( 'mtminimag_pagination' ) ) : /** diff --git a/style.css b/style.css index 2ef34bd..49d6757 100644 --- a/style.css +++ b/style.css @@ -5,10 +5,12 @@ Author: MightyThemes Author URI: https://mightythemes.com Description: A WordPress Magazine or blog theme with a creative and clean look. Version: 1.1.2 +Tested up to: 5.0 +Requires PHP: 5.6 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: mtminimag -Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, theme-options, right-sidebar, left-sidebar, magazine, blog-theme +Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, theme-options, right-sidebar, left-sidebar */ * {