Viewing 3 replies - 1 through 3 (of 3 total)
  • taxonomy parameters were deprecated, breaking this plugin when you update to versions past 3.1 (I believe).

    Inside function “live_blogging_shortcode”

    Find this code and comment it out as seen below:

    //    $q = new WP_Query(array(
    //          'post_type' => 'liveblog_entry',
    //          'liveblog' => $id,
    //          'posts_per_page' => -1,
    //          'post_status' => 'publish',
    //          'orderby' => 'date',
    //          'order' => ('bottom' == get_option('liveblogging_update_effect')) ? 'ASC' : 'DESC'
    //       ));

    Replace with this code:

    $q = new WP_Query(array(
              'post_type' => 'liveblog_entry',
              'liveblog' => $id,
              'posts_per_page' => -1,
              'post_status' => 'publish',
              'orderby' => 'date',
              'order' => ('bottom' == get_option('liveblogging_update_effect')) ? 'ASC' : 'DESC',
    		  'tax_query' => array(
    		      array(
    			    'taxonomy' => 'liveblog',
    				'field' => 'id',
    				'terms' => $id
    			  )
    		  )
            ));

    The only that I say against this fix is that the live entries take a noticeable amount of time to appear on the page. If this could be speeded up, then the suggestion is more worthwhile.

    Just to update here and let you know that I commented out and added the new code as directed but it didn’t work, still seeing all the live blogging entries we’ve ever created on each page that contains the a live blog. Since there were a few, those pages are a disaster now. Any advice would be appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Entries from all live blogs getting mixed’ is closed to new replies.