Created
March 22, 2016 07:30
-
-
Save subharanjanm/01c6943cefce697123aa to your computer and use it in GitHub Desktop.
Jupiter Theme PHP Error Fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 61c50a2cde79587d6857f5b7dc9c96edf25b04d9 Mon Sep 17 00:00:00 2001 | |
From: Subharanjan Mantri <[email protected]> | |
Date: Tue, 22 Mar 2016 12:48:42 +0530 | |
Subject: [PATCH] Fixed php error while pushing to Git | |
--- | |
.../jupiter/components/shortcodes/mk_blog_teaser/mk_blog_teaser.php | 6 +++--- | |
1 file changed, 3 insertions(+), 3 deletions(-) | |
diff --git a/wp-content/themes/jupiter/components/shortcodes/mk_blog_teaser/mk_blog_teaser.php b/wp-content/themes/jupiter/components/shortcodes/mk_blog_teaser/mk_blog_teaser.php | |
index 4e3b802..f89830f 100644 | |
--- a/wp-content/themes/jupiter/components/shortcodes/mk_blog_teaser/mk_blog_teaser.php | |
+++ b/wp-content/themes/jupiter/components/shortcodes/mk_blog_teaser/mk_blog_teaser.php | |
@@ -66,7 +66,7 @@ | |
)); | |
$output .= '<div class="thumb-featured-image"><a title="' . the_title_attribute(array('echo' => false)) . '" href="' . get_permalink() . '">'; | |
- $output .= '<img alt="' . the_title_attribute(array('echo' => false) . '" class="item-featured-image" title="' . the_title_attribute(array('echo' => false) . '" src="' . mk_image_generator($image_src, $image_width, $image_height) . '" itemprop="image" />'; | |
+ $output .= '<img alt="' . the_title_attribute(array('echo' => false)) . '" class="item-featured-image" title="' . the_title_attribute(array('echo' => false)) . '" src="' . mk_image_generator($image_src, $image_width, $image_height) . '" itemprop="image" />'; | |
$output .= '<div class="image-hover-overlay"></div>'; | |
$output .= '</a></div>'; | |
@@ -168,8 +168,8 @@ | |
'crop' => true | |
)); | |
//if (has_post_thumbnail()) { | |
- $output .= '<div class="thumb-featured-image"><a title="' . the_title_attribute(array('echo' => false) . '" href="' . get_permalink() . '">'; | |
- $output .= '<img alt="' . the_title_attribute(array('echo' => false) . '" width="' . $image_width . '" class="item-featured-image" height="' . $image_height . '" title="' . the_title_attribute(array('echo' => false) . '" src="' . mk_image_generator($image_src, $image_width, $image_height) . '" itemprop="image" />'; | |
+ $output .= '<div class="thumb-featured-image"><a title="' . the_title_attribute(array('echo' => false)) . '" href="' . get_permalink() . '">'; | |
+ $output .= '<img alt="' . the_title_attribute(array('echo' => false)) . '" width="' . $image_width . '" class="item-featured-image" height="' . $image_height . '" title="' . the_title_attribute(array('echo' => false)) . '" src="' . mk_image_generator($image_src, $image_width, $image_height) . '" itemprop="image" />'; | |
$output .= '<div class="image-hover-overlay"></div>'; | |
$output .= '</a></div>'; | |
//} | |
-- | |
2.2.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment