I would like to add a button at the end of each post, and I'd like to do it without using a plugin if possible (I try to avoid using plugins for speed loading purposes, let me know if you think that's a bad idea). So far, I was trying to edit the single.php file to add the button. But looking forward to your recommendations.
I was trying to do that with a staging environment using Soledad, but I'm running into issues since I don't have 2 licenses of the theme.
1/ You can put your HTML for create button via Customize > Single Posts > General > Add Google Adsense/Custom HTML code at the end of content posts
2/ Please send me your staging WordPress site admin URL and admin account ( username and password ) - in a PRIVATE REPLY so I can login to your staging website. And I will check it to help you.
My friends are not able to see the Buy me a coffee button on my blog. When I'm logged in or use Chrome, personally, I can see the button, but not them. Any idea why?
If I use Safari though, I don't see the button as well.
Also, I have cleared my cache plugin and it didn't help.
As I checked, this issue caused by the optimize JS options from WP Rocket caused the problem. I just disabled all the optimise JS options from the WP Rocket plugin and it works fine now.
I noticed it made my site slower to turn off these Javascript optimizations options, so I decided to use a basic HTML image instead of the script given by BMAC and will turn on the Javascript optimization again.
Hello,
I would like to add a button at the end of each post, and I'd like to do it without using a plugin if possible (I try to avoid using plugins for speed loading purposes, let me know if you think that's a bad idea). So far, I was trying to edit the single.php file to add the button. But looking forward to your recommendations.
I was trying to do that with a staging environment using Soledad, but I'm running into issues since I don't have 2 licenses of the theme.
Thanks!
Hello,
1/ You can put your HTML for create button via Customize > Single Posts > General > Add Google Adsense/Custom HTML code at the end of content posts
2/ Please send me your staging WordPress site admin URL and admin account ( username and password ) - in a PRIVATE REPLY so I can login to your staging website. And I will check it to help you.
Best Regards.
PenciDesign
Hello!
I really liked the first suggestion, but then if people are using an adblocker, the button doesn't appear at the bottom of the posts. :(
Any way around this with the theme?
For 2/, my staging environment is local, and not published online.
Thanks!
Hi,
1/ If so, please try to change the class here to another class to make Adblock can't detect it
2/ If your staging site is localhost, no need to activate the theme.
Best Regards,
PenciDesign
Okay, thank you.
I also have an Adsense block of code in that part of the customize section textbox though. Is it still recommended to change the class? Thanks
Hi,
Yes, because Adblock add-on based on the CSS Classes to hide the ads
Best Regards,
PenciDesign
Hello!
My friends are not able to see the Buy me a coffee button on my blog. When I'm logged in or use Chrome, personally, I can see the button, but not them. Any idea why?
If I use Safari though, I don't see the button as well.
Also, I have cleared my cache plugin and it didn't help.
Thanks!
Hi,
Please send me your WordPress site admin URL and admin account ( username and password ) - in a PRIVATE REPLY. I will take a look at this to help you.
Best Regards,
PenciDesign
Hi,
As I checked, this issue caused by the optimize JS options from WP Rocket caused the problem.
I just disabled all the optimise JS options from the WP Rocket plugin and it works fine now.
Best Regards,
PenciDesign
Hello,
Thanks for looking into it.
I noticed it made my site slower to turn off these Javascript optimizations options, so I decided to use a basic HTML image instead of the script given by BMAC and will turn on the Javascript optimization again.