Skip to content

Instantly share code, notes, and snippets.

@ottok
Created September 14, 2015 07:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ottok/f545423b247683c0b017 to your computer and use it in GitHub Desktop.
Save ottok/f545423b247683c0b017 to your computer and use it in GitHub Desktop.
Fix buggy http://cosmothemes.com/belief theme footer
--- post.class.php 2015-09-14 10:00:04.381184100 +0300
+++ post.class.php.orig 2015-09-14 09:59:50.324801733 +0300
@@ -640,7 +640,7 @@
}
if(isset($info_meta['img_link']) && strlen($info_meta['img_link'])){
- $start_link = '<a href="'.$info_meta['img_link'].'" target="_self" ">';
+ $start_link = '<a href="'.$info_meta['img_link'].' target="_self" ">';
$end_link = '</a>';
}else{
$start_link = '';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment