Skip to content
Public Ticket #16651

How to add a button at the end of each post?

Conversation thread

girlknowstech replied

Customer Reply

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.

PenciDesign replied

Staff Reply

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

PenciDesign Supporter replied

Staff Reply

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

girlknowstech replied

Customer Reply

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!

PenciDesign replied

Staff Reply

Hi,

Yes, because Adblock add-on based on the CSS Classes to hide the adssmile.png

Best Regards,

PenciDesign

girlknowstech replied

Customer Reply

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

PenciDesign replied

Staff Reply

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

girlknowstech replied

Customer Reply

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!

PenciDesign Supporter replied

Staff Reply

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

girlknowstech started the conversation

Conversation Start

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! 

Want to join this conversation or access attachments? Sign in first.