Skip to content

Commit 540fbbf

Browse files
Merge pull request #149 from MachoThemes/master
w.org fixes
2 parents a827908 + 65c7fd8 commit 540fbbf

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

inc/class-shapely-related-posts.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ public function get_related_posts( $post_id, $number_posts = - 1 ) {
120120

121121
// reset post query
122122
wp_reset_postdata();
123-
wp_reset_query();
124123

125124
return $related_postquery;
126125
}
@@ -210,8 +209,7 @@ function output_related_posts() {
210209

211210
echo '</div><!--/.owlCarousel-->';
212211
echo '</div><!--/.mt-related-posts-->';
213-
214-
wp_reset_query();
212+
215213
wp_reset_postdata();
216214
}
217215
}

inc/extras.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ class="<?php echo $breadcrumbs_enabled ? 'col-md-6 col-sm-6 col-xs-12' : 'col-xs
648648
<h3 class="page-title" <?php echo $header_color ? 'style="color:#' . esc_attr( $header_color ) . '"' : '' ?>>
649649
<?php
650650
if ( is_home() ) {
651-
_e( ( get_theme_mod( 'blog_name' ) ) ? get_theme_mod( 'blog_name' ) : 'Blog', 'shapely' );
651+
echo esc_html( get_theme_mod( 'blog_name' ) ? get_theme_mod( 'blog_name' ) : __( 'Blog', 'shapely' ) );
652652
} else if ( is_search() ) {
653653
_e( 'Search', 'shapely' );
654654
} else if ( is_archive() ) {

style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Theme URI: https://colorlib.com/wp/themes/shapely
44
Author: colorlib
55
Author URI: https://colorlib.com/
66
Description: Shapely is a powerful and versatile one page WordPress theme with pixel perfect design and outstanding functionality. It is by far the most advanced free WordPress theme available today with loads of unmatched customization options. This theme comes with several homepage widgets that can be used to add portfolio, testimonials, parallax sections, your product or service information, call for action and much more. Shapely supports most free and premium WordPress plugins such as WooCommerce, Jetpack, Gravity Forms, Contact Form 7, Yoast SEO, Google Analytics by Yoast and much more. This theme is the best suited for business, landing page, portfolio, ecommerce, store, local business, personal websites but can be tweaked to be used as blog, magazine or any other awesome website while highlighting its unique one page setup. This is going to be the last WordPress theme you will ever want to use because it is so much better than anything you have seen. Needless to say that this theme is SEO friendly thanks to its well optimized strucutre. Shapely theme is mobile friendly and fully responsive making it your best multipurpose partnert for any project and website.
7-
Version: 1.1.0
7+
Version: 1.1.1
88
License: GNU General Public License v3
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010
Text Domain: shapely

0 commit comments

Comments
 (0)