Forum Replies Created
-
AuthorPosts
-
Jennifer
ParticipantThank you so much for your time and help!! Unfortunately it is not doing what I like.
Would you consider adding your social media to the individual post pages by providing a code we can add to the hook element in Generatepress?
My goal was for them to see the heart likes located on the WP Show Post. They click on the post and then if they decide to like it as well then the heart like button would be located on the post page.
Again thank you so much Tom 🙂
Jennifer
Jennifer
ParticipantOkay thank you for trying to help me. Is there a way to add my own social media using a hook within your WPShow Post section? Or can I add my own to your WP Show Post?
By the way I do have Generatepress Pro version.
Here is the code
<?php $postUrl = 'http' . ( isset( $_SERVER['HTTPS'] ) ? 's' : '' ) . '://' . "{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}"; ?> <section class="share_wrapper"> <div style="font-size:28px;font-style: italic;color:#cf686f">Share The Love Of Christ</div> <div class="shareBTN"> <a target="_blank" href="https://twitter.com/intent/tweet?url=<?php echo $postUrl; ?>&text=<?php echo the_title(); ?>&via=<?php the_author_meta( 'twitter' ); ?>" title="Tweet this"><img src="https://livinghisword.org/wp-content/uploads/2020/03/twitter.png" alt="twitter" class="ShareBTN"></a> <a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=<?php echo $postUrl; ?>" title="Share on Facebook"><img src="https://livinghisword.org/wp-content/uploads/2020/07/facebook.png" alt="facebook" class="ShareBTN"></a> <a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo $postUrl; ?>&title=<?php echo the_title(); ?>" title="Share on LinkedIn"><img src="https://livinghisword.org/wp-content/uploads/2020/03/linkedin.png" alt="linkedin" class="ShareBTN"></a> <a target="_blank" href="https://pinterest.com/pin/create/button/?url=<?php echo $postUrl; ?>&title=<?php echo the_title(); ?>" title="Share on pinterest"><img src="https://livinghisword.org/wp-content/uploads/2020/03/pinterest.png" alt="pinterest" class="ShareBTN"></a> <!-- LikeBtn.com BEGIN --> <span id="likeBUTTON" class="likebtn-wrapper" data-theme="custom" data-btn_size="70" data-f_size="18" data-icon_size="0" data-icon_l_url="https://livinghisword.org/wp-content/uploads/2020/11/heart-iconmonstr-64.png" data-icon_l_url_v="https://livinghisword.org/wp-content/uploads/2020/11/heart-after-iconmonstr-64.png" data-icon_d_url_v="https://livinghisword.org/wp-content/uploads/2020/11/heart-after-iconmonstr-64.png" data-label_c="#800000" data-label_c_v="#e07334" data-counter_l_c="#2a2a2a" data-bg_c="#ffffff" data-bg_c_v="#ffffff" data-brdr_c="#ffffff" data-label_fs="r" data-i18n_like="Like" data-white_label="true" data-rich_snippet="true" data-dislike_enabled="false" data-icon_dislike_show="false" data-voting_frequency="600" data-counter_clickable="true" data-counter_frmt="comma" data-popup_disabled="true" data-share_enabled="false" data-lazy_load="true" data-loader_show="true" data-i18n_after_like="Like" data-i18n_like_tooltip="Liked This Teaching!" data-i18n_unlike_tooltip="Thank you for sharing!" data-i18n_share_text="Thank you for liking this teaching please close this box."></span> <script>(function(d,e,s){if(d.getElementById("likebtn_wjs"))return;a=d.createElement(e);m=d.getElementsByTagName(e)[0];a.async=1;a.id="likebtn_wjs";a.src=s;m.parentNode.insertBefore(a, m)})(document,"script","//w.likebtn.com/js/w/widget.js");</script> <!-- LikeBtn.com END --> </div> </section>
What yours looks like
https://livinghisword.org/wp-content/uploads/2020/11/wpshowpost1.pngI would like to add my own instead of yours, please
https://livinghisword.org/wp-content/uploads/2020/12/wpshowpost.pngThank you for your time 🙂
Jennifer
ParticipantOkay I just emailed you the credentials, thank you again.
Jennifer
ParticipantSure, how do I provide the sensitive information?
Oh and it is not just this one particular page. It is for all post pages.
Jennifer
ParticipantOkay the code is the same but it is missing the ::before code. How do you add this so the social icons show up?
https://livinghisword.org/wp-content/uploads/2020/12/WPSHOWpost4.png
https://livinghisword.org/wp-content/uploads/2020/12/WPSHOWpost5.pngJennifer
ParticipantThe code is the same when adding the social to the WP Show Post. So hmmmm!
https://livinghisword.org/wp-content/uploads/2020/12/WPSHOWpost3.png
Jennifer
ParticipantOkay this great and were almost there. Do you think you could help me a little further. By the way I do have Generatepress Pro.
I added the code you provided to my functions.php file. The love number is showing but nothing else, however the code is there. Any reason why it is not showing up?
https://livinghisword.org/wp-content/uploads/2020/12/WPSHOWpost1.png
https://livinghisword.org/wp-content/uploads/2020/12/WPSHOWpost2.pngSo close :)!
Thanks Tom
Jennifer
ParticipantHi there,
Thank you for the reply and for the help. However, I don’t want to replace social media on the post page I want to add the WP Show Post social media on the post page. Can you provide the shortcode to add wpsp_add_social_sharing.
You provided on how to remove it so can you provide one on how to add it?
Thank you
Jennifer
ParticipantHi there,
Was just wondering if my question was okay to ask or your thinking about it or this is not possible, any feedback would be great, thank you :).
Jennifer
ParticipantLet me explain a little better. I have the pro WP Show Post plugin. Within that plugin you can add social media to your WP Show Post. What I would like to know is since you created a lightweight social media section for WP Show Post is there a way to add this social media part only to Post pages globally using a hook?
https://livinghisword.org/wp-content/uploads/2020/11/wpshowpost1.png
https://livinghisword.org/wp-content/uploads/2020/11/wpshowpost2.png
https://livinghisword.org/wp-content/uploads/2020/11/wpshowpost3.pngThis would be a great addition to our post pages.
-
AuthorPosts