Support » Plugin: Tweets Aside » [Plugin: Tweets Aside] How make Tweets go into a particular category?

  • Hi,

    Great plugin. How do I get the Tweets to go into a different plugin to Uncategorized?

    I have found this bit in the code. I hoped I could just add:
    ‘post_category’=> 3,
    after post_author, but it didn’t work. Please can someone tell me how to do it?

    Many thanks
    Jonathan
    The Flaneur

    if(!$fn) {
    			$topost = array(
    			     'post_content' => $t,
    			     'post_status' => 'publish',
    			     'post_date' => $d,
    			     'post_author' => 1,
    			);
    			$post_id = wp_insert_post($topost);
    			set_post_format( $post_id, 'aside' );

    http://wordpress.org/extend/plugins/tweets-aside/

  • The topic ‘[Plugin: Tweets Aside] How make Tweets go into a particular category?’ is closed to new replies.