the_content filter occurring more than once

Posted in: Newspaper
Post count: 42

Hi,

I am running Newspaper on my website milelion.com.

The issue now is: I installed Thirsty Affiliates to automatically convert a set keyword into a link. There is a function where it limits the occurrence to a set number.

Consider this example:

https://milelion.com/2020/06/07/review-citi-premiermiles-card/

The keyword here is “Citi PremierMiles”.

The global occurrence count is set to 3, which means only 3 instances of the keyword should be converted into a link. However, I can count much more than 3 mentions

Instance #1: Here’s the Milelion’s review of the Citi PremierMiles Card,

Instance #2: are compelling reasons to hold a Citi PremierMiles Card.

Instance #3: This Citi PremierMiles review forms part of my collection of credit card reviews.

Instance #4: Let’s start this review by looking at the key features of the Citi PremierMiles Card.

Instance #5: the main difference is that the Citi PremerMiles Mastercard does not earn any points for GrabPay top-ups, while the Citi PremierMiles Visa does.

I checked with Thirsty Affiliates and they told me to disable each plugin one by one, which I did. It still did not fix the underlying issue. I updated WP and the theme to the latest version, given the benefit of doubt that it may fix the issue – it didn’t.

They came back to me saying that the “the_content” filter might be running twice on the post page. I assume that’s the case because I used TagDiv composer to design the post layout, which makes sense that it will call “the_content” twice.

Are there any way I can go around or fix this issue completely?

Your help would be much appreciated.

Post count: 18283

Hello!

Have you tried this on a post that does not use a cloud library template ? Try inserting a test post, and change the layout to a standard one. Let us know if the issue is still there.

Thank you!

Post count: 42

Hi,

I can confirm that after changing the post template to the default one (non cloud library template), the auto-linker worked according to the limit (only 3 instances of the keyword is converted into a link).

Thanks!

Post count: 18283

Hello !

We need to take a look to see what the issue might be there. Since it is a non tested plugin we may not be able to fix this. But we would like to test. Please contact us via email at contact@tagdiv.com and provide the following:

– admin url and credentials
– A link to this topic in order to identify you

Our team will take a look ! Please note that at the moment the support is a bit crowded. Replying may take up to 24 hours.

Thank you !

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.