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
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.
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
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!
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.
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!
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!
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!