How to strip HTML tags from post titles?

This tutorial explains how to use the Strip HTML Tags From Title option of WPeMatico Professional to remove any HTML tag that comes inside the titles of the feed items before they are published as posts.

Some feeds wrap their titles in tags such as <b>, <span> or <a>, which end up displayed as raw code in your post titles and wherever your theme shows them. With this option enabled, WPeMatico cleans every title automatically while the campaign runs, so you never have to edit the posts by hand.

Note: This feature is part of the WPeMatico Professional addon. It requires the addon to be installed and active.

Enable the Custom Title Feature
Show the Custom Title Options box inside your campaigns.

Go to WPeMatico β†’ Settings β†’ Professional and locate the PRO Options box.

Turn on Enable “Custom Title” feature and click Save settings.

Enable the custom title feature in wpematico professional settings

This only makes the feature available and adds the Custom Title Options box to the campaign editor. Nothing changes in your campaigns until you enable the option in each one of them.

Strip the HTML Tags in the Campaign
Activate the cleaning for the campaigns that need it.

Edit the campaign and find the Custom Title Options box.

Check Strip HTML Tags From Title and save the campaign.

Strip html tags from title option in the custom title options box of a wpematico campaign

From now on, every time the campaign runs, WPeMatico checks the title of each new item and removes any HTML tag it finds before creating the post. The text inside the tags is kept; only the tags themselves are removed.

Note: The option only affects the items fetched after you enable it. Posts that were already published keep their current titles.

Other Options in the Same Box
More ways to shape your post titles.