Issues with Infinite Scroll

Posted in: Newspaper
Post count: 21

Hey,
I would love to use the infinite scroll feature on my blog.
However, I’m facing two problems and wonder if you can help me?

1. My Disclaimer disappears during infinite scroll. I’ve put my affiliate and advertising disclaimer in a Safe Php Code widget in my header. It works on all pages but it disappears when the infinite scroll articles appear. How can this be fixed?

2. Is it possible to not have the infinite scroll articles in an iframe? My advertisement network can’t work when it’s placed in an iframe, unfortunately.

Best regards,
Ida

Post count: 18283

Hello !

1. Please provide a link to your website in order to inspect.

2. Unfortunately that option is not possible.

Thank you !

Post count: 21

Hi,
My website is https://adaras.se.

The affiliate disclaimer works in two different ways (either just under the menu, or stuck to the menu if it’s a sponsored post). See examples:
https://adaras.se/fantastiska-instagramplatser-i-cornwall/
https://adaras.se/lackryl-akrylnagellack-guide/

The Safe Php Code widget disappears completely when the infinite scroll articles come up, but is still visible in the main, first loaded, post.

I can add that I’ve tried adding the Safe Php Code just to the post but it won’t show there.

  • This reply was modified 6 years by Adaras.
  • This reply was modified 6 years by Adaras.
Post count: 35449

Hi,

I just checked your website and I can not find the difference, please provide some screenshots, in this way it will be more easy to find the problem.

Thank you for your understanding!

Post count: 21

Hi,
Sure, I’ve attached two screenshots here. As you can see my very important disclaimer bar (the black bar attached to my header) completely disappears when the infinite article comes up.

Original article (with disclaimer): https://imgur.com/HYwKZax
Auto loaded article (with missing disclaimer): https://imgur.com/3n9OI9z

Best regards,
Ida

Post count: 35449

Hi,

Now I understand, as I can see the disclaimer bar is working on this posts https://adaras.se/lackryl-akrylnagellack-guide/ maybe because you have set some disclaimers and in this one is just a message -> https://adaras.se/fantastiska-instagramplatser-i-cornwall/, the bar is still there but there is nothing to display -> https://i.imgur.com/mom1cgC.png

Thank you!

Post count: 21

Hi,
It’s because it’s two different disclaimer views – one is fixed (for sponsored partnerships) which follows the visitor when they scroll down, and the other is just a one-line banner used when I tell the visitors that ad links are used in the article.

The problem is that BOTH these disclaimers disappear completely when the infinite article loads. As you can see the code is gone.

Is there otherwise another way to input these codes in the cloud template for posts?

 
<?php adb_manual_output_static_content(); ?>
<?php adb_manual_output_fixed_content(); ?>
  • This reply was modified 6 years by Adaras.
Post count: 35449

Hi,

Please provide some more details about the way you implement the code inside the theme, in this way I will be able to proved an working answer, maybe you need to set the code inside the heme files.

Thank you!

Post count: 21

Hi,
Sorry, I’m not sure exactly how the code is implemented. I can almost nothing about php. It’s a small plugin that outputs the “content”. I have a custom textbox under each article where I can write if the article contains affiliate links or if it’s sponsored. I have to checkboxes to choose from: if the disclaimer should be fixed (attached to the header menu when the user scrolls down – which I use for sponsored posts), and one checkbox for affiliate links which is only displayed directly under the header menu.

Then I have the code mentioned above that you guys previously helped me integrate in my single post template. Since the update to Cloud templates, I had to move the code to the header (which you also helped me figure out). But now I’m not sure what to do?

It’s so important that the readers know what’s advertisement and not and I really hope I can still use infinite articles. It’s such a great feature!

Post count: 35449

Hi,

I think that the problem is when the infinite loading start to load the next posts, then the disclaimer should display a different note, if is so then the disclaimer can be display only with custom work.
Also the code that you have can be implement directly in theme files, if the code need to be set in header template, but the code will be lost when you’l make the theme update, also this will do the same thing like the plugin for php code.

Thank you for your understanding and sorry for the inconvenience!

Post count: 21

Hi Calin,
Thank you for your reply. I see, for now I think I could implement it directly in the theme files. Would you please be able to tell me where to implement the code in the cloud header file? Where do I find the cloud template to edit?

Best regards,
Ida

Post count: 35449

Hi,

I think that there can be another way, but for this I need access to your website, please make a full backup and send us an email at contact@tagdiv.com and provide admin login, as well as cPane. I will take a look the code an I will try a new implementation for it in the header not in posts. Include a link to this topic in the email.

Thank you!

Post count: 21

Hi Calin,
Oh, that sounds great! Thank you for taking a look, it would be amazing if you can find a solution!
I’ve sent you an email with my details.

Best regards,
Ida

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