Hi, sure, I modified the code tobe:
<?php if ( true == $redux_builder_amp['enable-single-twitter-share'] ) { ?>
<div class="ampforwp-custom-social">
<a>" class="amp-social-icon-rounded amp-social-facebook">
the original is:
<?php if ( true == $redux_builder_amp['enable-single-facebook-share'] ) { ?>
<div class="ampforwp-custom-social">
<a>&display=page&href=<?php echo esc_url(get_the_permalink()); ?>" class="amp-social-icon-rounded amp-social-facebook">
I have to change the word “facebook” to “twitter” or anything else and direction URL to show the icon, if not, it won’t appear just like now, I have put the original code back and there is no facebook icon.
How to show the facebook icon by still using the original code? because the modified code is not perfect.
Thank you
-
This reply was modified 6 years, 7 months ago by Jan Dembowski.
-
This reply was modified 6 years, 7 months ago by Jan Dembowski. Reason: Fixed very broken formatting