Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2768242
How to add a button at the end of each post?
Closed

Comments

  • girlknowstech started the conversation

    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! 

  •  2,495
    PenciDesign replied

    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 replied

    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!

  •  2,699
    PenciDesign replied

    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

    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

  •  2,699
    PenciDesign replied

    Hi,

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

    Best Regards,

    PenciDesign

  • girlknowstech replied

    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!

  •  2,495
    PenciDesign replied

    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 privately
  •  2,699
    PenciDesign replied

    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

  • girlknowstech replied

    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.