WordPress.org

Ready to get started?Download WordPress

Forums

wordpress as CMS - RSS feeds on front page (1 post)

  1. mels
    Member
    Posted 7 years ago #

    Hi, I've read a lot of articles on making wordpress into a cms and I wanted to try it coz joomla is a bit hard to use for a newbie. I also like the wordpress blog better. I want to put some rss feeds on the front page and a few blog posts.

    This is what I've done:
    1. I added a new page with a home.php template with a slug name - "home".

    2. Then in this same page, I included some URLs to the RSS using rss aggregator plugins.

    3. In the home.php, I added these:
    a. query_posts('pagename=home');
    b. query_posts('p=1'); //using the postid to show the first post
    query_posts('name=blog'); //using the post slug to show the first post

    I can't seem to get it to work though. I got the page to show the RSS, but not the blog posts... it keeps saying not found.

    Is it better if I just do a static front page and including there the rss feeds? http://codex.wordpress.org/Creating_a_Static_Front_Page

    I'd rather have a page though which I can include in the home so it'll be easier to edit.

    Thanks in advance!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags