WordPress.org

Ready to get started?Download WordPress

Forums

Display posts from an other WP database (6 posts)

  1. mzeecedric
    Member
    Posted 7 years ago #

    I have to WP-blogs. Now I would like to use the second blog more as simple CMS and additionaly display a certain category of post from my other blog. I found how to customize the_loop in that case, but can someone help me how to do queries from a different database? I do not want to simply use RSS to display the posts, since they should appear as if they were written just from within that blog. And I don't want to import from mysql either ... ;-)

  2. Chris_K
    Member
    Posted 7 years ago #

    I do not want to simply use RSS to display the posts, since they should appear as if they were written just from within that blog.

    Not necessarily. There are tons of Syndication plugins/widgets. Here's a partial list of some of your options: http://codex.wordpress.org/Plugins/Syndication

  3. mzeecedric
    Member
    Posted 7 years ago #

    Hi HandySolo, that's exact what I didn't wamt to. I rather want to fetch the posts from the other database via mysql query. Any hints on that please?

  4. Chris_K
    Member
    Posted 7 years ago #

    I haven't a clue how to do that without hosing up the blog.

    I'm not sure I understand why you don't want to use an RSS type fetcher? Some of them will make the post look like it originated from you and is just another blog post. Others don't, and will list the posts in another fashion.

    Surely, one of those two approaches is what you're after?

  5. mzeecedric
    Member
    Posted 7 years ago #

    Well, I guess with the RSS Type there will be no possibility to leave a comment and once you click on a post you'll be forwarded to the original post/blog? Maybe I'll start of with this first, since a second DB-query seems to be rather complicated...

  6. vkaryl
    Member
    Posted 7 years ago #

    IF you're on VERY good terms with your host, you can probably arrange this. You need to find out first if they'll be willing to dump the "open base_dir restriction" in your case. If they are not, then there's probably no easy way to do this.

    If they are not, you may want to try CG-Feedread to see if it can be configured to display what you want to see. Get it at http://chait.net/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags