WordPress.org

Support

Support » Themes and Templates » isolating only the updated blog portions

isolating only the updated blog portions

  • untiitled
    Member

    @untiitled

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • untiitled
    Member

    @untiitled

    help please D:

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘isolating only the updated blog portions’ is closed to new replies.