This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php// Get RSS Feed(s) | |
include_once(ABSPATH . WPINC . '/rss.php'); | |
$rss = fetch_rss('http://gdata.youtube.com/feeds/base/users/MontyPython/uploads?alt=rss&v=2&orderby=published&client=ytapi-youtube-profile');$maxitems = 3; //set number of items to display | |
$items = array_slice($rss->items, 0, $maxitems); | |
?> | |
<ul> | |
<?php if (empty($items)) echo '<li>No items</li>'; | |
else foreach ( $items as $item ) : ?> | |
<div> | |
<?php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make your changes | |
work work work | |
git commit | |
git co joshp/staging | |
git merge master | |
git co joshp/production | |
git merge master | |
git push | |
git co master | |