Learn how to control, filter, and customize the content generated by AI Content Writer campaigns.
This page applies to all campaign types:
- Articles
- RSS Feed
- Gemini
- ChatGPT
Table of Contents
- Overview
- Block Keywords
- Search & Replace (Pro)
- HTML Cleaner – Remove by Selector (Pro)
- Insert Content (Before/After)
- How Filters Interact with Campaign Types
- Best Practices
- Troubleshooting
- Examples
- Related Topics
Overview
AI Content Writer gives you multiple ways to control and customize the output from your campaigns.
These tools help you:
- Remove unwanted topics and phrases
- Enforce brand and editorial guidelines
- Clean up HTML from scraped sources
- Add global or campaign-specific notices and CTAs
Most of these options live in the Edit Campaign screen (includes/Admin/views/edit-campaign.php) under sections like:
- Content Filtering
- Insert Content
Block Keywords
Block Keywords let you skip generating content that contains specific terms.
Where to Find
- Go to AI Content Writer → Campaigns
- Edit any campaign (Articles, RSS, Gemini, or ChatGPT)
- Scroll to the Content Filtering section
- Look for the Block Keywords field
How It Works
- You enter a comma-separated list of keywords to block
- When the plugin is about to use or generate content, it checks for these keywords
- If a blocked keyword is found (in title, body, or source, depending on context), the item is skipped
The exact matching logic can vary by campaign type, but the intent is always to filter out unwanted content.
Format
keyword one, keyword two, another phrase, brand name
Common Use Cases
- Filtering out sensitive or inappropriate topics
- Avoiding certain competitors or brand names
- Excluding promotional terms like “giveaway”, “contest”, “sponsored”
- Keeping your site focused on specific themes
Tips
- Matching is typically case-sensitive in the codebase, so consider adding variants (e.g.,
Brand,brand) - Use short but distinctive terms to avoid over-blocking
- Start small and add more keywords over time as you discover unwanted content
Search & Replace (Pro)
This feature is part of the Pro version, as indicated in
edit-campaign.phpwith theGo Probadge.
Search & Replace lets you automatically modify text in generated content before it’s saved.
Where to Find
- Edit a campaign
- In the Content Filtering section, look for Search Replace
- You’ll see a table where you can add rows
How It Works
- Each row defines a Search string and a Replace string
- During content processing, the plugin looks for matches of the Search text
- Matches are replaced with the corresponding Replace text
- Applied per campaign, so different campaigns can have different rules
Examples
Branding adjustments:
- Search:
our company→ Replace:BeautifulPlugins - Search:
e-commerce→ Replace:eCommerce
Tone adjustments:
- Search:
I→ Replace:we - Search:
my→ Replace:our
Cleanup:
- Search:
Click here→ Replace:Learn more
Usage Tips
- Keep search phrases specific to avoid unintended replacements
- Use this as a post-processing layer on top of AI output
- Test with a few posts before adding many rules
HTML Cleaner – Remove by Selector (Pro)
Also marked as a Pro feature in the Content Filtering section.
The HTML Cleaner – Remove by Selector option lets you strip out unwanted HTML elements when content is scraped from external websites (primarily for Articles and RSS Feed campaigns).
Where to Find
- Edit an Articles or RSS Feed campaign
- In the Content Filtering section, find HTML Cleaner – Remove by Selector
How It Works
When the plugin loads and parses external HTML (from Bing results or RSS source links):
- It uses CSS-like selectors you provide
- It removes matching DOM elements before generating final content
This is particularly useful for:
- Ads and banners
- Popups and overlays
- Comment sections
- Sidebars and unrelated widgets
Format
Comma-separated CSS selectors, e.g.:
.advertisement, #popup, .sidebar, script, iframe, .comments
Common Selectors
.class-name– Any element withclass="class-name"#id-name– Element withid="id-name"div.class-name–<div>elements with a specific classscript– All<script>tagsiframe– All<iframe>tags
Notes
- This feature only applies to campaigns that scrape HTML (Articles + RSS)
- Gemini and ChatGPT campaigns usually generate plain text, so this will have little or no effect unless you explicitly instruct the AI to generate HTML
Insert Content (Before/After)
The Insert Content section lets you automatically add custom content before or after the generated article.
Where to Find
- Edit any campaign
- Scroll to the Insert Content section (below Content Filtering in
edit-campaign.php)
Position
You can choose where the inserted content appears:
- None – Do not insert anything (default)
- Before Content – Insert above the main AI-generated content
- After Content – Insert below the main AI-generated content
Content Field
This field accepts:
- Plain text
- HTML markup
This is perfect for:
- Legal disclaimers
- AI content disclosures
- Calls-to-action (CTAs)
- Subscription or contact blocks
Examples
AI Disclosure (Before Content):
<div class="ai-disclaimer">
<p><strong>Note:</strong> This article was generated with the help of AI and may have been edited by our team.</p>
</div>
Newsletter CTA (After Content):
<div class="article-cta">
<h3>Enjoyed this article?</h3>
<p>Subscribe to our newsletter for more AI-generated tips and tutorials.</p>
<a href="/newsletter/" class="button">Subscribe Now</a>
</div>
Attribution (After Content):
<p><em>This article was curated and rewritten from external sources using AI Content Writer.</em></p>
How Filters Interact with Campaign Types
Different campaign types use these filters at different stages.
Articles Campaigns
- Block Keywords: Can filter out scraped titles or generated content
- Search & Replace (Pro): Applied to final content
- HTML Cleaner (Pro): Used when scraping the source HTML
- Insert Content: Wrapped around the final article
RSS Feed Campaigns
- Block Keywords: Filter feed item titles/content
- Search & Replace (Pro): Adjusts AI-generated content
- HTML Cleaner (Pro): Useful when RSS items contain rich HTML
- Insert Content: Before/after the final article
Gemini Campaigns
- Block Keywords: Filters AI-generated content
- Search & Replace (Pro): Post-processes Gemini output
- HTML Cleaner (Pro): Typically not needed (Gemini often returns text/Markdown)
- Insert Content: Adds disclaimers, CTAs, etc.
ChatGPT Campaigns
- Block Keywords: Filters AI-generated content
- Search & Replace (Pro): Ideal for branding and style control
- HTML Cleaner (Pro): Only if ChatGPT is instructed to output HTML
- Insert Content: Recommended for AI disclosures and CTAs
Best Practices
Start Simple
- Begin with Block Keywords only
- Add Insert Content for disclosures or CTAs
- Introduce Search & Replace and HTML Cleaner later (Pro)
Avoid Over-Filtering
- Too many block keywords can reduce content volume drastically
- Over-aggressive HTML removal can strip useful content
- Broad search/replace rules may cause awkward phrasing
Use Block Keywords Strategically
- Focus on truly unwanted topics or terms
- Regularly review logs and content to refine the list
- Consider adding competitor names and restricted terms
Maintain Brand Consistency
- Use Search & Replace (Pro) to standardize brand naming
- Add a consistent AI disclosure via Insert Content
- Ensure tone and style align with your brand guidelines
Combine with Manual Review
- Even with filters, manual review is recommended, especially early on
- Use Draft or Pending Review status for new campaigns
- Switch to Publish only after you are confident in quality
Troubleshooting
Content Still Includes Blocked Keywords
- Check for case sensitivity (e.g.,
Brandvsbrand) - Ensure the keyword is spelled correctly
- Verify that the block happens at the correct stage (some content may be modified after the check)
- Review logs to see exactly what content was processed
Too Much Content is Being Filtered Out
- Remove or narrow some block keywords
- Avoid generic terms that appear in many contexts
- Check whether your keywords overlap with desirable topics
Search & Replace Produces Odd Sentences (Pro)
- Use more precise search phrases
- Avoid replacing very common single words
- Test replacements on a sample article before applying broadly
HTML Cleaner Removes Useful Content (Pro)
- Remove or narrow selectors that are too broad (e.g.,
divalone is dangerous) - Target specific classes and IDs instead of generic tags
- Inspect the original HTML structure (via browser dev tools) when picking selectors
Inserted Content Not Showing
- Confirm Position is not set to
None - Ensure you saved the campaign after editing
- Check that the generated post type/template actually renders
the_content()(for some CPTs, custom templates may behave differently)
Examples
Example: Safe News Aggregation (Articles/RSS)
Settings:
- Block Keywords:
giveaway, contest, sponsored, rumor - HTML Cleaner (Pro):
.ad, .advertisement, #popup, .sidebar, script, iframe - Insert Content (After Content):
<p><em>This article was rewritten from external news sources using AI Content Writer. Always verify important details from official sources.</em></p>
Result:
- News content without ads or popups
- Clear disclaimer at the end of every article
Example: Branded AI Blog (Gemini/ChatGPT)
Settings:
- Block Keywords:
competitor1, competitor2 - Search & Replace (Pro) rows:
our plugin→AI Content Writerthis plugin→AI Content Writer
- Insert Content (Before Content):
<div class="ai-banner">
<p><strong>Powered by AI Content Writer:</strong> This article was generated with the help of AI and reviewed by our editorial team.</p>
</div>
Result:
- Consistent brand naming across articles
- Clear AI disclosure at the top of each post
Example: Technical Tutorials (All Types)
Settings:
- Block Keywords:
politics, gambling, adult - Insert Content (After Content):
<div class="tutorial-footer">
<h3>Need Implementation Help?</h3>
<p>If you’d like professional help applying these techniques, <a href="/contact/">contact our team</a>.</p>
</div>
Result:
- Tutorials stay focused on technical topics
- Every article ends with a soft conversion opportunity
Related Topics
To get the most out of content filtering, you may also want to read:
- How to Create a New Campaign
- Configuring Article Campaigns
- Configuring RSS Feed Campaigns
- Configuring Gemini Campaigns
- Configuring ChatGPT Campaigns
- Managing Campaign Logs
- Troubleshooting Common Issues
Last Updated: November 28, 2025 | Plugin Version: 2.1.0