The MU forums have moved to WordPress.org

Plugin: WordPress MU Domain Mapping and "switch to blog! (1 post)

  1. torre
    Member
    Posted 17 years ago #

    I posted my problem already to this thread to the worpress-forum, but i want to try it also here:
    http://wordpress.org/support/topic/271030?replies=8

    the updated version of the domain-mapping-plugin works fine an reduce the SQL Queries, but i have one problem:

    I use a plugin with the following code to display content from another blog to my users:

    switch_to_blog('38');
    $post_id = 162;
    query_posts('page_id=' . $post_id);
    while (have_posts()) : the_post();
    	the_title();
    	the_content();
    endwhile;
    restore_current_blog();

    After aktivated the "new" Version of the plugin, the code above doesen't work anymore and my plugin displays only the_title, but not the_content - only "NA".

    Any Idea ?

    Thx

    torre

About this Topic

  • Started 17 years ago by torre