Getting get archives from other blog on same database (3 posts)

  1. iLikeApples
    Posted 7 years ago #

    First: please look at the sketch for the situation

    I have two WP blogs running on the same database.
    On blog 2 I use a pulldown with the titles of the posts of that blog.
    Using the next code:

    <select name=\"archive-dropdown\" onChange='document.location.href=this.options[this.selectedIndex].value;'>
    <option value=\"\"><?php echo attribute_escape(__('SELECT ACT project')); ?></option>
    <?php wp_get_archives('type=postbypost&amp;format=option&amp;cat=1'); ?> </select>

    But how can I get those titles (of posts of blog 2) in the pulldown of blog 1?
    The only thing I get right now are the posts from blog 1 (using the code right above).

    I know I have to use play with SQL queries... but how and where?

    (sorry for my bad english)

  2. iLikeApples
    Posted 7 years ago #

    Anyone? :(

  3. iLikeApples
    Posted 7 years ago #

    I still haven't figured it out yet.

Topic Closed

This topic has been closed to new replies.

About this Topic