Forums

feed addding without widget (5 posts)

  1. rcpkrc
    Member
    Posted 2 years ago #

    hello friends, l want to know how can l add feeds to my sidebar without using widgets?

  2. MichaelH
    moderator
    Posted 2 years ago #

    Did you see Plugins/Syndication?

  3. Sushubh
    Member
    Posted 2 years ago #

    i found feeddigest. awesome service but sadly paid now :(

  4. Otto42
    Moderator
    Posted 2 years ago #

    If you have WP 2.1.2, there's built in feed functions. Try this code:

    <?php
    require_once(ABSPATH . WPINC . '/rss.php');
    wp_rss('http://example.com/feed/rss.xml',10);
    ?>

    This would output an Unordered List of 10 items from the http://example.com/feed/rss.xml feed.

    If you have an older version of WP, there's still built in feed functions, but they're not as simple. See here for examples and information:
    http://codex.wordpress.org/Function_Reference/fetch_rss

  5. rcpkrc
    Member
    Posted 2 years ago #

    should l use it like ../wp-rss.php or ../rss.php cos there is no rss.php in the root files of wp installation files...
    thanks for ht answer.
    http://www.bigphp.net http://www.freewebsitedirectory.org

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.