HI Noman,
this is the instruction given
** Your generated shortcode is
[easy-social-share buttons="facebook,twitter,google,pinterest,linkedin,print,mail,love,more,whatsapp,telegram,subscribe,share" morebutton="1" morebutton_icon="plus" sharebtn_func="1" sharebtn_style="button" sharebtn_icon="share" sharebtn_counter="insidebeforename" counters=1 style="button" template="6" point_type="simple"]
**Include your shortcode into template files using this sample code
<?php echo do_shortcode('[easy-social-share buttons="facebook,twitter,google,pinterest,linkedin,print,mail,love,more,whatsapp,telegram,subscribe,share" morebutton="1" morebutton_icon="plus" sharebtn_func="1" sharebtn_style="button" sharebtn_icon="share" sharebtn_counter="insidebeforename" counters=1 style="button" template="6" point_type="simple"]'); ?>
To get the current post/page title and permalink you can use the following code:
$url = get_permalink($post->ID);
$title = get_the_title($post->ID);
A completed shortcode that uses those variables added will look like this:
<?php
$url = get_permalink($post->ID);
$title = get_the_title($post->ID);
echo do_shortcode('[easy-social-share buttons="facebook,twitter,google,pinterest,linkedin,print,mail,love,more,whatsapp,telegram,subscribe,share" morebutton="1" morebutton_icon="plus" sharebtn_func="1" sharebtn_style="button" sharebtn_icon="share" sharebtn_counter="insidebeforename" counters=1 style="button" template="6" point_type="simple" url="'.$url.'" text="'.$title.'"]');
?>
** Use your shortcode with the stored unique key inside content
[easy-social-share ukey="1517953080"]
** Use your shortcode with the stored unique key inside content
<?php echo do_shortcode('[easy-social-share ukey="1517953080"]'); ?>
pls advice, thanks.