We have just started using this template and we noticed that in some articles it’s showing some weird characters that seem like code. Most of the text in those articles looks like this:
Novos recordes:

– 4x200m livres fem Inf.B – 9:48.37

Soraia Delgado, Marta Pires, Mafalda Costa e Isadora André

– 4x200m livres fem Inf.A – 9:19.64

Maria Moura, Leonor Morganho, Vera Narra e Maria Pereira

I need a fix to fix this urgently as the articles are pretty much unreadable that way. Can anyone help?
We were using another theme that used the same visual composer as the one on Newspaper but as far as I know were weren’t using any shortcodes on articles. One of the editors on the site said he tried to make a new post today (after changing to your theme) and the same stuff showed up. I just noticed the visual composer plugin is out of date though. Maybe updating it will fix it?
Ok I was testing around and it seems that in new articles, those code pieces only seem to show up when certain categories are selected. With some categories the articles show up correctly while with others it still shows up all messed up. Any idea why this is happening?
Hello,
This is a strange issue. We have not encountered it before. It could be a conflict somewhere so please try to disable all plugins except visual composer, clear cache and reset cdn files if you use it. Please also check any custom code you might have added to the theme panel or the theme files. If you use a child theme, please switch to the main theme to make sure it does not affect the proper functionality of the theme.
If the issue is still there afterwards, please contact us on our email address at contact@tagdiv.com and provide a link to your site and wp-admin (login information and admin rights) so we can login and investigate. Please also include a link to this conversation.
Thank you!
Hello, I think I figured out the cause. This issue only shows up when one specific category and/or one specific tag is selected. I’m using the Advanced Ads plugin to show ads on posts that contain that tag/category so I’m fairly sure there’s a connection there. What’s weird is that this was never an issue with the other template we were using and the settings were exactly the same.. any ideas on how to fix it?
Well, the plugin can simply not be fully compatible with our theme. The fact that it ran properly in your previous theme is not relevant to our theme. Each theme is different and not all plugins work. If a plugin runs on one theme it does not automatically mean it will on another. Try to disable the plugin and see if the codes are still present.
Thanks.
It’s definitely that plugin’s fault. If I just remove the ads from appearing in the posts with that category and tag, they show up correctly. However, I still need a way to show those ads. Since I’m still using that plugin to show a bunch of other ads that are not being affected with this issue, I would rather not have to install another plugin to do this. So how can I do this through the child theme files? All I need is to show an image after the text of articles that have that category or tag. What files would I have to modify to achieve this?
Thanks in advance.
Hello rj,
Sorry for this thing but notice that plugin is not tested with the theme and also, we cannot provide support for untested plugins. You should use another plugin which will work as expected with the theme, sorry! Also, if you want to customize it, you should do it yourself through the code because we cannot provide custom services at the moment, sorry!
As a hint, you should edit the theme core files regarding on Ads, where you should add some conditions regarding on your category, as an example (if is_category(categroy_ID)) to show what type of logo you want. For more information about this rule, please consult here -> https://developer.wordpress.org/reference/functions/is_category/
Thanks for your understanding!