Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions inc/customizer/custom/controls/custom-controls.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function render_content() {
<img src="<?php echo esc_attr( $value['image'] ); ?>" alt="<?php echo esc_attr( $value['name'] ); ?>" title="<?php echo esc_attr( $value['name'] ); ?>" />
</div>
<?php if($value['name']) : ?>
<span class="image-checkbox-title"><?php echo esc_attr($value['name']); ?></span>
<span class="image-checkbox-title"><?php echo esc_html($value['name']); ?></span>
<?php endif; ?>
</label>
<?php } ?>
Expand Down Expand Up @@ -158,7 +158,7 @@ public function render_content() {
<?php foreach ( $this->choices as $key => $value ) { ?>
<label class="radio-button-label">
<input type="radio" name="<?php echo esc_attr( $this->id ); ?>" value="<?php echo esc_attr( $key ); ?>" <?php $this->link(); ?> <?php checked( esc_attr( $key ), $this->value() ); ?>/>
<span><?php echo esc_attr( $value ); ?></span>
<span><?php echo esc_html( $value ); ?></span>
</label>
<?php } ?>
</div>
Expand Down Expand Up @@ -202,7 +202,7 @@ public function render_content() {
<img src="<?php echo esc_attr( $value['image'] ); ?>" alt="<?php echo esc_attr( $value['name'] ); ?>" title="<?php echo esc_attr( $value['name'] ); ?>" />
</div>
<?php if($value['name']) : ?>
<span class="image-radio-title"><?php echo esc_attr($value['name']); ?></span>
<span class="image-radio-title"><?php echo esc_html($value['name']); ?></span>
<?php endif; ?>
</label>
<?php } ?>
Expand Down
3 changes: 1 addition & 2 deletions inc/template-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' ) ) :
/**
Expand Down
4 changes: 3 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

* {
Expand Down