Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/blocks/carousel/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
* @return string Returns the post content with latest posts added.
*/
function newspack_blocks_render_block_carousel( $attributes ) {

// Don't output the block inside RSS feeds.
if ( is_feed() ) {
return;
}

static $newspack_blocks_carousel_id = 0;
global $newspack_blocks_post_id;

Expand Down