Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Paste by www.dominornovus.com for http://www.re-cycledair.com/wordpress-dashboard-widget-tutorial
- // Replace the echo string in the "for each" function with:
- echo '
- <li><span class="rss-date">['.$item->get_date('Y-m-d').']</span> <a class="rsswidget" href='.$item->get_permalink().'>'.$item->get_title().'</a>
- <p>'.$content.' <a href="'.$item->get_permalink().'">» Read full article</a></p>
- </li>
- ';
- // Further resources:
- // http://www.re-cycledair.com/wordpress-dashboard-widget-tutorial
- // http://codex.wordpress.org/Dashboard_Widgets_API#Aggregating_RSS_feeds_in_the_dashboard
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement