Skip to content

Commit

Permalink
Cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
apercas committed Jul 29, 2016
1 parent 9d07413 commit 27901b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
if ($newsCounter > 3) break;
$newsCounter++;
$current_post = url_to_postid( $line );
var_dump($current_post);

$resource = get_post($current_post);
$image = get_post_meta($current_post, 'thumbnailPic', true);
$fallbackimg = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ));
Expand Down Expand Up @@ -76,4 +76,4 @@

<script type="text/javascript">
document.getElementsByTagName('head')[0].innerHTML += '<style>#firstFeatured:after{background-image:url(<?php echo $image1 ?>) !important;}#secondFeatured:after{background-image:url(<?php echo $image2 ?>) !important;}</style>';
</script>
</script>

0 comments on commit 27901b1

Please sign in to comment.