Results 1 to 6 of 6

Thread: wordpress posts on front page...?

  1. #1
    Photographer; for hire!! shiato storm's Avatar
    Join Date
    Aug 2003
    Location
    next door
    Posts
    6,977
    Thanks
    4
    Thanked
    6 times in 5 posts

    wordpress posts on front page...?

    I'm re-writing my website and would like to have the recent blog posts made (or rather just the titles at least) displayed on the front page, through which visitors can click to go to the blog main section itself. is there a way to have some sort of rss-type feed direct to the front page at all?
    Powered by Marmite and Wet Dog
    Light Over Water Photography

  2. #2
    Custom User Title
    Join Date
    Oct 2005
    Location
    Wirral UK
    Posts
    1,168
    Thanks
    10
    Thanked
    14 times in 14 posts
    • cougarslam's system
      • Motherboard:
      • Asus Maximus Formula SE (ROG)
      • CPU:
      • Core 2 Duo E6600 @ 3ghz
      • Memory:
      • 4gb Corsair DDR2
      • Storage:
      • 1TB
      • Graphics card(s):
      • BFG Nvidia 8800GT OC 512MB
      • PSU:
      • Corsair HX520
      • Case:
      • Zorro
      • Operating System:
      • Vista Business 32
      • Monitor(s):
      • 2 x 17" crt
      • Internet:
      • adsl max (entanet)

    Re: wordpress posts on front page...?

    do you know any php/sql?

  3. #3
    Photographer; for hire!! shiato storm's Avatar
    Join Date
    Aug 2003
    Location
    next door
    Posts
    6,977
    Thanks
    4
    Thanked
    6 times in 5 posts

    Re: wordpress posts on front page...?

    i've bashed it about a bit but I'm no pro...What did you have in mind?
    I just do enough to cobble together what I needed thus far. I think what I'm after - having read around - is some sort of parser (?) that takes the recent feed and transfers it to html to display on a page....
    Powered by Marmite and Wet Dog
    Light Over Water Photography

  4. #4
    Moderator DavidM's Avatar
    Join Date
    Jan 2005
    Posts
    8,779
    Thanks
    801
    Thanked
    252 times in 234 posts

    Re: wordpress posts on front page...?

    try: snoopy.sourceforge.net - and use an rss feed of the latest posts via php.

  5. #5
    Registered+
    Join Date
    Jan 2008
    Location
    Lytham St. Annes
    Posts
    47
    Thanks
    0
    Thanked
    1 time in 1 post

    Re: wordpress posts on front page...?

    Sorry to come into this a little late but what I think you want (and completely untested) is:

    At the top of your page bring in the wordpress 'header file' (change the path accordingly). This lets you make use of any WordPress function or template tag.

    PHP Code:
    <?php require('./wordpress/wp-blog-header.php'); ?>
    Add this where you want your list of last five posts.

    PHP Code:
    <ul><?php wp_get_archives('type=postbypost&limit=5'); ?></ul>
    Reference:

    Creating a Static Front Page.

    Template tags: Wp Get Archives.

    Hope this helps.

  6. Received thanks from:

    shiato storm (27-03-2008)

  7. #6
    Photographer; for hire!! shiato storm's Avatar
    Join Date
    Aug 2003
    Location
    next door
    Posts
    6,977
    Thanks
    4
    Thanked
    6 times in 5 posts

    Re: wordpress posts on front page...?

    fantastic!! thanks for that tintax, thats set me on the right path
    Powered by Marmite and Wet Dog
    Light Over Water Photography

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. New HEXUS Front Page
    By nvening in forum General Discussion
    Replies: 18
    Last Post: 18-10-2005, 02:12 PM
  2. We are working on the front page - Please bare with us
    By DR in forum General Discussion
    Replies: 8
    Last Post: 25-08-2005, 09:02 PM
  3. Page number link in threads.
    By Trash Man in forum HEXUS Suggestions
    Replies: 0
    Last Post: 10-10-2003, 04:36 PM
  4. The post count/avatar thread
    By Zathras in forum General Discussion
    Replies: 39
    Last Post: 25-07-2003, 08:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •