newspaper mobile theme error

Posted in: Newspaper
Post count: 3

I have sports news website on newspaper theme and i get most of my articles through news agency Content API, API is been integrated and everything is fine with that.
As articles are from news agency, they add their analytic code and some other script at the end of each articles for licencing purpose
The problem is that the code is displaying when i activate mobile theme which is really strange because when viewing articles on desktop it does not display. also when i detective mobile theme the code also does not display on mobile as well.

This is very strange issue with tagDiv Mobile Theme. i know Newspaper theme is responsive and does not need mobile theme but i like mobile theme because of its simple and light design so would love to use but this code displaying error with mobile theme is really bad and i can not find solution.

here is the link of problem https://preview.ibb.co/dsm6MH/Screenshot_2018_02_05_16_08_34.jpg

Any help/advice would be much appreciated.

Post count: 20688

Hi,

That probably means the mobile theme is not interpreting the code, it displays it as simple post content text. It should not appear if the code is wrapped in script tags. If you could provide a link to your website pointing to this issue we can take a look.

Thanks

Post count: 3

Hi Simion C,

Thank you for the reply. my website is http://www.thewinin.com/
Yes you are right mobile page displays it as simple post content text. my developer said API is integrate properly and problem is not there.

Please if you or tagdiv developer can help me and tell me what is the issue than i will ask me developer to look into that.

Btw any update on this news https://tagdiv.com/amp-newspaper-theme/
love to get amp support and would defnately pay extra to get it.

Anyways thanks once again

Post count: 20688

Hi,

I cannot see the code, the mobile theme is deactivated at the moment. However if it is similar to analytics code, that means it should be wrapped in script tags
https://www.screencast.com/t/ZSDPrj3whp
Code like that will not be displayed on mobile when the mobile theme is active
https://www.screencast.com/t/5qlyOsQbZuU
https://www.screencast.com/t/7etvJkgkMv
If it does not have script tags it will appear just like in your case
https://www.screencast.com/t/VRexASE6MHEU
Maybe check the code that is added in the posts to have these tags included. It should not appear if added properly.

Thanks

Post count: 3

Sorry for late reply was away for days.

i will implement your suggestions and see if it helps.

Thank you so much for your kind help

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