WordPress.org

Support

Support » How-To and Troubleshooting » Display post titles on page from RSS feed

Display post titles on page from RSS feed

  • Hi All

    Is there a way we can use our rss feed to disply the blog post titles and link on our home page.

    We had this coed forma very noce person here which takes the data from my sql, it wols very wll by the way but is uses the ?p= format for the url and we have urls in the format: http://www.cheaperholidays.com/late-deals/2006/01/24/travel-guides-update/ using htaccess

    <?php
    $SQL = “SELECT ID, post_title FROM wp_posts ORDER BY post_date DESC LIMIT 6”;
    $rs = mysql_query($SQL);
    echo ”

    “;
    mysql_free_result($rs);
    ?>

    Thanks in Advance

Viewing 1 replies (of 1 total)
  • This plugin will display one or many rss feeds just how you need:
    http://wp-plugins.net/plugin/rssLinkList/

    In your home page, you must have an include to wp-blog-header for that to work. Inside the <head> of the home page – which must be a .php page – put this:
    <?php include (‘path/to/wp-blog-header.php’); ?>
    and then the plugin will work.

Viewing 1 replies (of 1 total)
  • The topic ‘Display post titles on page from RSS feed’ is closed to new replies.
Skip to toolbar