add social buttons to WordPress Embeds

php code: functions.php

 

css style code: style.css

 

thank you page to close facebook share window:

javascript code for buttons: custom.js

 

str_replace(array(“rn”, “r”, “n”), “”, $out)  to remove all new lines.

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *