Skip to content

Commit

Permalink
fix: remove duplicate query
Browse files Browse the repository at this point in the history
  • Loading branch information
danbleile committed Nov 1, 2023
1 parent 85dc98e commit 28e47c3
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions includes/html-snippet-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ public static function render( $attrs, $content = '' )
}
}

if ($the_query->have_posts() ) {

while ( $the_query->have_posts() ) {
$the_query->the_post();

the_content();
}
}

// Restore original Post Data.
wp_reset_postdata();

Expand Down

0 comments on commit 28e47c3

Please sign in to comment.