Skip to content

Commit

Permalink
Removed unwanted echo statements from theme files used for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeWPTP committed Mar 1, 2016
1 parent 7f2e333 commit 5d5c96d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions inc/extras.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,8 @@ function dazzling_featured_slider() {

$count = of_get_option('dazzling_slide_number');
$slidecat = of_get_option('dazzling_slide_categories');
echo 'here '.$count;
echo 'here '.$slidecat;
if ( $count && $slidecat ) { echo 'here2';

if ( $count && $slidecat ) {
$query = new WP_Query( array( 'cat' => $slidecat, 'posts_per_page' => $count ) );
// print_r($query);
if ($query->have_posts()) :
Expand Down

0 comments on commit 5d5c96d

Please sign in to comment.