• Mark

    (@encryptdesigns)


    I am curious if I can pull posts from one WP to another WP blog that is on the same domain name? I already added this code to the top of the secondary blog:

    <?php require(‘./../news/wp-blog-header.php’); ?>

    I have a “news” blog and a “buzz” blog. I want the buzz blog to have a little box on the sidebar that pulls certain posts into a section of the buzz blog. I added that same code above to all of my other pages and am successfully pulling the information that I want. But now I have a 2nd WP site setup (buzz) and want to do the same thing. I don’t know how to tell the PHP code to pull the posts from from the News blog and not the Buzz blog for that one section.

    Anyone have any ideas?

    Thanks ahead of time for your help:)

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Pulling posts from one WP to another on same site’ is closed to new replies.