WordPress.org

Ready to get started?Download WordPress

Forums

Include entries only on another page... (5 posts)

  1. gothrockgirl
    Member
    Posted 8 years ago #

    How can I drop the entries only (read: I don't need a sidebar) from http://www.gothrockgirl.net/wordpress/index.php into the main content area of http://www.gothrockgirl.net ?

    I've tried Php Includes, but I think I'm not entering it right if I have to jump to another directory (from main to /wordpress) + I'm not sure if there's an actual .php part I enter in for just the entries.

    It was a lot easier a few years back in WordPress versions when you could just rename index.php to whatever you wanted and then drop that in via Php includes. Gah.

    Thanks,
    Trinity

  2. All you would have to do is add the Loop to "the main content area of gothrockgirl.net".

    http://codex.wordpress.org/The_Loop
    http://codex.wordpress.org/The_Loop_in_Action

    For more info, please do a search here for "integrate" or "the loop".

    Here are a few more resources:

    http://www.transycan.net/blogtest/2005/07/05/integrate/

    http://www.jonathanwold.com/tutorials/wordpress_integration/

    http://mattread.com/archives/2005/04/wordpress-is-not-php/

  3. gothrockgirl
    Member
    Posted 8 years ago #

    okay... I'm really trying to understand this.... so I would put the loop in the content page at http://www.gothrockgirl.net but how do I point the loop to the /wordpress directory.... won't it think that wordpress is running in the same directory?

    Trinity

  4. moshu
    Member
    Posted 8 years ago #

    I answered a similar question here:
    http://wordpress.org/support/topic.php?id=53461&replies=7#post-292842
    and in one of the guides posted by macmanx (@ transycan.net) there is even a more detailed description of it.

  5. gothrockgirl
    Member
    Posted 8 years ago #

    Okay, I think I have it now at http://www.gothrockgirl.net/index2.php... the only question is.. where are all the lines coming from? (underneath the entry
    ). There are no <hr> tags anywhere that I can see so I'm stymied.... and am i right to assume that there is no way to get comments to popup within my site instead of scurrying back to the wordpress directory?

    I'm starting to wish I had kept my prehistoric copy of WordPress that I understood. :P

    Thanks,
    Trinity

Topic Closed

This topic has been closed to new replies.

About this Topic