WordPress.org

Ready to get started?Download WordPress

Forums

Homepage & IFrames (3 posts)

  1. mstecker
    Member
    Posted 9 years ago #

    OK, here's what I want to do and possibly someone could help me out on templating this out for me.....
    On my homepage, I want to have a iframe that will show the latest entries to my wordpress blog, and then have them all link to a sub-section of the site which will contain everything else, including the categories and calendar and entries... I'm sure it's simple but I thought I'd go ahead and ask anyway....
    any help would be great!

  2. idowens
    Member
    Posted 9 years ago #

    mstecker, you could use an iframe that just included the content section of WP and have it to automatically scroll if need be so. Just open you're current index.php and remove the sidebar, header, and footer and save it as a seperate file. Then link the iframe to that new file and that should do it....I may be forgetting something so other may feel free to fill in my gaps....

  3. maesterkinoc
    Member
    Posted 9 years ago #

    You could actually just use wp.php and edit that to make it even easier then you could use the different get_ tags along with the <?php
    /* Don't remove this line. */
    require('./wp-blog-header.php');
    ?>
    to add in the different stuff like <?php get_recent_posts(); ?> (I aint to sure about the exact codes anymore but something like that) to show the recent posts as well as other things with other tages

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.