Tagged: share this entry
-
AuthorPosts
-
April 27, 2014 at 1:02 am #256704
For the “share this entry”
How to:
1.display in the standard format of small squares (perhaps 50px), as opposed to default of larrge rectangles?
2.remove the text “share this entry”
3. remove share hoverApril 28, 2014 at 4:46 pm #257154Hi aribann!
Please add following code to Quick CSS in Enfold theme options under Styling tab
.av-share-box ul { width: 50%; } .av-share-box .av-share-link-description { display: none; } .av-share-box ul li a:hover { color: #666666!important; background-color: white!important; }
Regards,
YigitApril 28, 2014 at 6:15 pm #2571941. width control did not work, !important didnt help. editing layout.css directly works
2. is good
3. just turns things white, i am talking about the descriptive bubble that appears on hoverApril 28, 2014 at 6:20 pm #257204Hi!
Please add following code instead
3-.av-share-box .avia-related-tooltip { display: none !important; }
Best regards,
YigitApril 28, 2014 at 6:22 pm #257206Thank you
Any idea what I am doing wrong with the width?April 28, 2014 at 6:37 pm #257220Hey!
Code works fine on my local installation – http://i.imgur.com/Wr3oFGP.png
No !important rule added just as i posted here. Have you tried flushing browser cache?Best regards,
YigitApril 29, 2014 at 12:24 am #257376I have 1-3 sorted.
I cant figure out how to change or eliminate the border color
April 29, 2014 at 4:42 am #257473Hi,
Can you post the link to your website please?
Regards,
JosueApril 29, 2014 at 4:45 am #257474This reply has been marked as private.April 29, 2014 at 6:11 am #257487Hey!
Try adding this code to the Quick CSS:
.av-share-box-list, .av-share-box ul li { border: 0 !important; }
Cheers!
JosueMay 26, 2014 at 9:25 pm #270249How change the sentence ‘Share this entry’ into something different?
May 26, 2014 at 10:14 pm #270260Put this code in the theme functions.php (at the end):
function modify_share_title(){ return "Share this"; } add_filter('avia_social_share_title', 'modify_share_title');
Best regards,
JosueMay 26, 2014 at 10:40 pm #270268Hmmm, doesn’t seem to work. Do I have to do something else after adding the code to functions.php?
May 26, 2014 at 10:44 pm #270270Open /includes/helper-social-media.php and look for line 214:
$this->html .= __("Share this entry",'avia_framework');
Change it to:
$this->html .= apply_filters('avia_social_share_title', __("Share this entry",'avia_framework'), $this->args);
Cheers!
JosueMay 26, 2014 at 11:30 pm #270292Hmm, doesn’t work. It still shows “Share this entry” after changing that part in your code.
May 26, 2014 at 11:33 pm #270295The last change i suggested was meant to be made on the theme files, this specifically:
/includes/helper-social-media.php
If it doesn’t work please create me an administrator account, post it here as a private reply.
Regards,
JosueMay 26, 2014 at 11:40 pm #270303This reply has been marked as private.May 26, 2014 at 11:46 pm #270306Hey!
The change is actually applied, look:
http://factsandmore.nl/factsmore-goes-chinese/What you need to modify now is the code in the theme functions.php:
function modify_share_title(){ return "Share this"; } add_filter('avia_social_share_title', 'modify_share_title');
Change “Share this” by the text you want to use.
Cheers!
Josue- This reply was modified 10 years, 6 months ago by Josue.
May 26, 2014 at 11:49 pm #270309Thanks a lot! I forgot functions.php, my mistake!
May 26, 2014 at 11:52 pm #270312You are welcome, glad we could help :)
Regards,
JosueAugust 24, 2019 at 1:24 am #1130514Hi, “Share This Entry” will only display when the pencil icon is clicked in my posts.
I would like to remove the pencil icon and always display the “Share This Entry”.
However, when I use CSS to remove the pencil icon, the “Share This Entry” disappears.
Please help! Thankyou, AngelaAugust 24, 2019 at 8:04 am #1130563August 24, 2019 at 8:23 am #1130564This reply has been marked as private.August 24, 2019 at 8:37 am #1130566Actually, I don’t even mind if the pencil icon remains on the screen.
I just want to ensure that the “Share this Entry” is always displayed at the bottom of the screen, for every post.
August 24, 2019 at 9:26 am #1130570Hi,
Thank you for the link, the page with the pencil is actually a category archive page, and clicking the pencil takes you to the actual post.
To add the social share buttons to a category page please edit the enfold/archive.php page on line 90 and look for:get_template_part( 'includes/loop', 'index' ); } ?> <!--end content--> </main>
and change to:
get_template_part( 'includes/loop', 'index' ); } echo do_shortcode("[av_social_share title='Share this entry' style='' buttons='custom' share_facebook='aviaTBshare_facebook' share_twitter='aviaTBshare_twitter' share_gplus='aviaTBshare_gplus' share_linkedin='aviaTBshare_linkedin' share_mail='aviaTBshare_mail' custom_class='' admin_preview_bg='' av_uid='av-670mc8'] "); ?> <!--end content--> </main>
or make a backup of your archive.php file and try uploading this replacment file:
https://www.dropbox.com/s/ct4k9l7xw04xa4p/archive_with_social_share.zip?dl=0Best regards,
MikeAugust 26, 2019 at 7:06 am #1130861Great! Thanks for your prompt help.
August 26, 2019 at 12:02 pm #1130927February 20, 2020 at 6:59 pm #1186474Hi dear support team, I wondered if it’s possible to edit the text when sharing an article on Twitter: instead of just sharing the title and URL is it possible to add a text such as “found on @companyusername” or “via @companyusername”?
Thanks!
MorganeFebruary 20, 2020 at 8:03 pm #1186520Hi mfalaize,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
VictoriaFebruary 21, 2020 at 10:05 am #1186641Hi Victoria, no problem thanks for your answer ;)
Best,
Morgane -
AuthorPosts
- The topic ‘Share this entry: How to format?’ is closed to new replies.