Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ($maxitems == 0) echo '<li>No items.</li>'; else foreach ( $rss_items as $item ) : ?>
- <div class="midia">
- <div class="icone">
- <?php echo '<img src="' .get_first_image_url($item->get_content()). '"/>'; ?>
- <div class="tipo"><i class="fa fa-video-camera"></i></div>
- </div>
- <div class="mid-tit"><a href='<?php echo esc_url( $item->get_permalink() ); ?>' title='<?php echo esc_html( $item->get_title() ); ?>'> <?php echo esc_html( $item->get_title() ); ?></a></div>
- </div>
- <?php endforeach; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement