Try putting this plugin in your wp-content/plugins
folder and then activate it:
<?php
/*
Plugin Name: WPSE53245 - Set Tweet category posts as Aside
Plugin URI: http://http://wordpress.stackexchange.com/questions/53235
Description: Set Tweet category posts as Aside
Version: 0.1
Author: Ashfame
Author URI: http://wordpress.stackexchange.com/users/1521/ashfame
*/
add_action( 'save_post', 'wpse53235_set_post_format_aside' );
function wpse53235_set_post_format_aside( $postID ) {
if ( has_post_format( 'aside', $postID ) || !has_term( 'tweet', 'category', $postID ) )
return;
set_post_format( $postID, 'aside' );
}
Related Posts:
- Assign post format to categories
- How to Display Product specific to a category with WooCommerce Plugin? [closed]
- How can I allow commas in tag names?
- Get the category from an ID of a product?
- How to delete the Hello Dolly plugin automatically?
- Automating deprecated call checks?
- A Way to Auto update plugins using cron?
- Way to force media uploader use custom image size
- Automatically Creating Posts for Popular Forum Topics or Products [closed]
- Restrict individual category combinations
- Restrict access and display for categories
- Qtranslate displays empty categories with get_categories()
- Plugin for changing a post’s category based on it’s post date?
- Woocommerce category description as subtitle
- Get subcategories with JSON API plugin
- How to display a category list in a mediawiki like way?
- How to show custom static content at top of each category page?
- How to use get_categories() with Event Organiser plugin
- Server-side subscribe by email?
- plugin for wp_list_categories with posts
- Set a category for a page
- Auto add content such as pages upon plugin activation?
- Show Heirachy of categories in WP Download Monitor
- Custom Post Type Plugin not loading category template and loading 404 instead
- Display content from custom post type if match to main post category
- How can i list random post from multiple category?
- My Category is too big on the Menu what can i do?
- Getting a List of Categories for Use in a Plugin?
- Not able to open category post [closed]
- WordPress category add image field
- Set Post Format if find a string in title or post content
- WordPress JSON API remove posts from a specific category
- Easy Digital Download Sub category
- Solutions to repost categories into multisite blogs?
- How to display only subcategory
- Category’s Description field as editor remove tag
- Using WP Category Lists Plugin to Dynamically Display Category (PHP)
- Calendar Solution: Handling upcoming Dates with Posts?
- Events Plugin that works with existing categories?
- Excluding a category from wp_query breaks recent post widget
- Filtering out specific post formats from certain pages
- Trouble with editing template for “List category posts” plugin
- Any built-in function to associate a post to category through a plugin?
- How to fetch products with the price in a page on woocommerce using a form or live search with php
- There is any way to remove post-format filter? [closed]
- Display by Category in Admin
- Search for categories
- Redirecting thousands of posts that currently have no category in their permalink when changing permalink structure to include category
- Customize permalink wordpress category id
- Automatically Assign Author to Category [closed]
- Custom Pages for Woocommerce Product-Category Pages
- polylang + category/tag custom language link
- How to password protect a category page / not posts?
- How to display taxonomy images with wp_list_categories?
- Using arbitrary paths in page urls
- WordPress “Categories to tags converter” not working. Pointing to import.php instead
- How do I apply style to each category of a list?
- Redirect to another page using contact form 7? [closed]
- Recent posts per category loop?
- How do I automatically generate pages from a database?
- How do I rename a category in the menu bar only?
- Ambrosite Next/Previous Post Link Plus or WP next_post_link to cycle through top level category
- Is changing post from category in a large blog a good practice?
- Best/Correct way to add an option to a category
- How to set category correctly for a custom post created by a remote API call?
- Can I do in-page changes binding events/triggers to actions in WordPress?
- Activate and deactivate plugin automatically
- .php file for woocommerce edit category? [closed]
- check uncategorized category by default
- Mutliple users editing single document in wordspress
- How to add category and subcategory in WordPress custom code?
- What is the best way to hook a rewrite function for certain php code when plugins are updated?
- WooCommerce Hiding A Certain Category From Being Displayed On Single Product
- How can recognize post’s category?
- How can i listing current category and Featured Category post list?
- Categories from front-end, checkbox selection doesn’t work
- How to get Recent Post From Each Category with Thumbnail?
- Category “same post” retreive and display
- Method/Plugin/Hack to Start a Post with an Writing Outline?
- Add a new category for posts
- How to overwrite the category template in a plugin
- How to hide featured images of all posts falling under the same category in wordpress?
- how to show all posts of each category in pages
- Custom Post Type same name as Category
- Visual composer custom element error
- Display posts by alphabetical order
- How to display the category name in the tab and post inside the tab in WordPress?
- Adding custom post category to categories widget
- Custom Post Type with Sequence ID
- WordPress default post categories meta box widget
- How to display category list with category featured image
- Getting the same post on my related post
- Precheck fields when I add a new post
- What plugin would make this happen? If is the theme
- automatically set random featured image by category in wordpress on post
- how can I edit the HTML of yith ajax product filter
- Unset plugins on front-end belonging to specific category
- WordPress Categories as a Grid
- Trying to remove a couple categories from shop page
- How to allow editors to only edit certain categories?