When setting up a source, the Advanced > Categories settings allow you to automatically assign categories to your imported posts (or any custom post type). This feature provides flexibility in how you organize and categorize imported content based on the rules you set.
You can apply category rules both from your site and the source, or a combination of both, with optional conditional logic to fine-tune the categorization process.

Add a Category Rule
To automatically assign categories to imported posts, click on the Add category rule button. This will open a rule builder with a number of options.


Choose a Method
The rule builder offers 3 options for creating a category rule:
- Use categories from this site: Select categories already available on your WordPress site for the post type you chose in the source’s
Detailstab. If you don’t have any categories created yet, you can create them on the fly by entering their name in theSelect categoryfield.- Categories created on the fly will have an asterisk beside them before saving the source.
- Import categories from the source: Automatically import each item’s categories from the source’s RSS feed and create a category for each one on your site.
- Both: Use both categories from your site and those imported from the source.
Select Category
If you choose to use categories from your site, a dropdown menu will appear where you can start typing the names of categories and select the appropriate ones for the imported posts from this source.
For example, you might categorize news items under “News” and sports-related articles under “Sport.”
Apply Conditions (Optional)
You can also add conditions to further refine how each category is applied. This allows you to create specific rules based on the content of the posts. For example:
- Title contains: Apply a category if the title contains specific keywords or phrases.
- Content does not contain any: Avoid certain categories if specific words are absent from the post’s content.
The full list of conditions is found below:
- If: Title / Content
- Is / Is not / Contains all / Does not contain all / Contains any / Does not contain any
Once you set the condition, you simply need to enter the relevant value.
An Example
Imagine you’re importing news from multiple sources. For the CNN source, you set up a rule to categorize all posts under “News” if the title contains words like “Breaking” or “Update”.
You could then add another rule to categorize sports-related articles under “Sport” if the title contains words like “Football” or “Tennis.”

Adding Multiple Rules
You can set up as many category rules as needed for each source. For example:
- Rule 1: Assign all posts with the word “Tech” in the title to the “Technology” category.
- Rule 2: Assign all posts containing “Politics” in the content to the “Politics” category.
These advanced category settings allow you to manage and organize imported content more effectively, ensuring that posts are automatically categorized based on the criteria that best suit your website’s needs.