Responsive Youtube Embed

Responsive Youtube embed

Ever have a client who wants to have their video from youtube embedded on their website and was the site you were creating for them "responsive"? Well for one, getting embed codes would give you fixed width and height.  These…

Read More

Printing out feeds on your wordpress site

<?php include_once(ABSPATH.WPINC.'/feed.php'); $rss = fetch_feed(''); $maxitems = $rss->get_item_quantity(5); $rss_items = $rss->get_items(0, $maxitems); ?> <?php if ($maxitems == 0) echo '<li>No items.</li>'; else // Loop through each feed item and display each item as a hyperlink. foreach ( $rss_items as $item…

Read More