add social icons on pages and Speaker CPT (already added to speaker tape template) code below:

Priority: Medium
Status: Not Started
Specialty:
Location:
Responsible: Surinder

Check single.php for implementation.

 

<!– kungfu – social icons –> <!– kungfu – social icons –>

<div class=”share-block”><h4 style=”text-align: right;color: #005495;font-weight: bold;”>Share This!</h4>

<ul class=”et-social-icons”>

<li class=”et-social-icon et-social-facebook”>         <a href=”https://www.facebook.com/sharer/sharer.php?u=<?php echo urlencode(esc_url(get_permalink())); ?>&t=<?php echo urlencode(esc_attr(the_title())); ?>” target=”_blank” title=”Share on Facebook” class=”icon”>             <span><?php esc_html_e( ‘Facebook’, ‘Divi’ ); ?></span>         </a>     </li>     <li class=”et-social-icon et-social-twitter”>         <a href=”https://twitter.com/intent/tweet?source=<?php echo urlencode(esc_url(get_permalink())); ?>&text=<?php echo urlencode(esc_attr(the_title())); ?>:%20<?php echo urlencode(esc_url(get_permalink())); ?>” target=”_blank” title=”Tweet” class=”icon”>             <span><?php esc_html_e( ‘Twitter’, ‘Divi’ ); ?></span>         </a>     </li>     <li class=”et-social-icon et-social-google-plus”>         <a href=”https://plus.google.com/share?url=<?php echo urlencode(esc_url(get_permalink())); ?>” target=”_blank” title=”Share on Google+” class=”icon”>             <span><?php esc_html_e( ‘Google’, ‘Divi’ ); ?></span>         </a>     </li>     <li class=”et-social-icon et-social-pinterest”>         <a href=”http://pinterest.com/pin/create/button/?url=<?php echo urlencode(esc_url(get_permalink())); ?>&description=<?php echo urlencode(esc_attr(the_title())); ?>” target=”_blank” title=”Pin it” class=”icon”>             <span><?php esc_html_e( ‘Pinterest’, ‘Divi’ ); ?></span>         </a>     </li> </ul></div>