Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- document.addEventListener("DOMContentLoaded", function(event) {
- jQuery(document).ready(function($){
- $('.wpcf-share').ShareLink({
- title: "<?php echo get_the_title( $post_id ); ?>",
- text: "<?php echo sanitize_title(wp_strip_all_tags($description)); ?>",
- image: "<?php echo $post_thumbnail_url; ?>",
- url: "<?php echo get_permalink( $post_id ); ?>"
- });
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement