 <p>Try the appropriately named <code>array_reverse</code> function!</p> <pre><code>&lt;?php if(function_exists('fetch_feed')) { include_once(ABSPATH . WPINC . '/feed.php'); // include the required file $feed = fetch_feed('http://sample.com.au/events/feed/'); // specify the source feed $limit = $feed-&gt;get_item_quantity(25); // specify number of items $items = $feed-&gt;get_items(0, $limit); // create an array of items $semti = array_reverse($items); // &amp; flip it } if ($limit == 0) echo '&lt;div&gt;The feed is unavailable.&lt;/div&gt;'; else foreach ($semti as $item) : ?&gt; &lt;p&gt;&lt;b&gt;&lt;a href="&lt;?php echo esc_url( $item-&gt;get_permalink() ); ?&gt;" target="_blank"&gt; &lt;?php echo esc_html( $item-&gt;get_title() ); ?&gt;&lt;/a&gt;&lt;/b&gt; &lt;?php echo esc_html( $item-&gt;get_date('| j F | g:i a') ); ?&gt;&lt;br&gt; &lt;?php echo sanitize_text_field( $item-&gt;get_content() ); ?&gt; &lt;/p&gt; &lt;?php endforeach; ?&gt; </code></pre> <p><a href="http://php.net/manual/en/function.array-reverse.php" rel="nofollow">From PHP.net</a>:</p> <blockquote> <h3>array_reverse</h3> <p>Return an array with elements in reverse order</p> <p><code>array array_reverse ( array $array [, bool $preserve_keys = false ] )</code></p> <p>Takes an input array and returns a new array with the order of the elements reversed.</p> </blockquote>