WordPress.org

Forums

Tweets Aside
How make Tweets go into a particular category? (1 post)

  1. Flaneurblog
    Member
    Posted 4 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Tweets Aside
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.