'', 'thumb_type' => 'image', 'icon' => '', 'svg' => '', 'readmore' => '', 'readmore_txt' => esc_html__('Read More', 'screenr'), 'bg_color' => '', )); if (!$item['page_id']) { continue; } $post = get_post($item['page_id']); if (!$post) { continue; } setup_postdata($post); $count++; $style = ''; if ($item['bg_color']) { $style = ' style="background-color: #' . esc_attr($item['bg_color']) . '" '; } ?>
> '; echo ''; echo '
'; } break; case 'svg': echo '
'; echo force_balance_tags($item['svg']); echo '
'; break; default: echo '
'; if (has_post_thumbnail($item['page_id'])) { the_post_thumbnail('post-thumbnail'); } echo '
'; } ?>

' . "\n"; echo '
' . "\n"; } }// end loop items ?>