Home / rss / Display RSS feed in theme
  • How to Display RSS feed in theme

    display-rss-feed-in-theme

    Adding this PHP code to your wordpress theme will allow you to display an RSS feed within your theme.

    ( click code to copy )

    wordpress snippet : PHP

    <>
    <?php
              include_once(ABSPATH.WPINC.'/rss.php');
              wp_rss('http://feeds2.feedburner.com/wpsnipp', 5);
    ?>
    

    ( WordPress codex functions, hooks, in this snippet. )

    wp_rss, wp,
  • Rdwan Hlak

    nice thanks