WordPress.org

Ready to get started?Download WordPress

Forums

isolating only the updated blog portions (3 posts)

  1. untiitled
    Member
    Posted 7 years ago #

    I am trying to find a code that will allow me to isolate the blog portion of my wordpress so i could, for instance, put it into an iframe and have just the blog be a part of my actual site.

    if you don't get what i am saying...

    i want to take just the posts made here:
    http://msj2010.com/wordpress

    and put them (only the posts) onto this page, along with my layout/sidebar etc...
    http://msj2010.com

    is there anyone that can help me do this? i know it has been done before and i am sure there is a simple css code that will do the trick.

    thanks!

  2. untiitled
    Member
    Posted 7 years ago #

    help please D:

  3. charle97
    Member
    Posted 7 years ago #

    make sure the index file appearing at http://msj2010.com has a .php extension (index.php)

    open the index.php file in the root of your wordpress install

    copy the require('./wp-blog-header.php'); line and paste to the top of the index.php file at http://msj2010.com

    edit the path of the wp-blog-header.php file, most likely it would appear like require('./wordpress/wp-blog-header.php');

    edit the main index template of the classic theme and copy the code of the loop

    paste the loop code where you want it to appear in the index.php file at http://msj2010.com

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.