Hi, thank you for reaching out to us. We have checked on our end, but we did not find any issues with auto-insertion. Could you please confirm how you are adding this? Are you using a shortcode for auto-insertion or the sidebar for adding it?
I’m not using any shortcode, i use auto insertion into articles.
I don’t think you checked well, give me a email address and i can send you a link to see what i’m talking about. You need to use the wordpress columns to see the problem, because outside the column it works well. And also you need to enable child theme.
Hi, thanks for reaching out to us and we apologize for the delayed response. Could you please check if this option once: https://paste.pics/Q2KNV
- Go to Toc setting.
- Scroll down and you will find “Generate TOC link ids” option.
- Enable that option once and try.
Please give it a try and if you still encounter the same issue please let us know.
I enabled that option but still doesn’t work.
Like i said, they work on normal headings, only on headings inside wp column is the problem, and only with child theme enabled. I tested on three more themes.
Hi, could you please share a video demonstrating the steps you are taking? It would be greatly helpful if you could provide a video of the process on your end, as it will make it easier for us to understand and offer a quick solution.
Hello,
Sorry for my late response.
After i investigated more on this, i found that the problem is caused by a thid party function that i use in my child themes, on all my websites. That function is this:
function im_formatter($content) {
$replace = array(" noreferrer" => "" ,"noreferrer " => "");
$new_content = strtr($content, $replace);
return $new_content;
}
add_filter('the_content', 'im_formatter', 999);
If i add this in functions.php the toc ids are gone only headings that they have links added with norefferer (default in wordpress)
The thing is that this function is essential for many websites since wordpress don’t give us an option to remove norefferer from the links and we use afiliate links that need the referral.
Can you check and see if you find the problem and if it has a solution? Because TOC is necesary and this function need to replace only the noreferrer tag…
Hi, We apologize for the delayed response. We are checking this concern and will provide you with an update shortly. We appreciate your patience in the meantime.