-
AuthorPosts
-
August 29, 2014 at 2:38 pm #310944
When I use the Email Share button, the subject line appears as: <span class=”p-summary”>Post Title</span>
My default email client is Gmail.
Is this a bug with enfold or with Gmail?
Thanks,
HAugust 29, 2014 at 5:41 pm #311024Hey Heathcliffe!
Is it the gmail app? The mailto link on a post doesn’t even have that span in it so I don’t know where it could be coming from :)
Best regards,
DevinAugust 29, 2014 at 7:44 pm #311061Hi @Devin
No, this is on my desktop. Not looked at mobile devices yet.
However, this is not a standard “Enfold” post. It is a Time.ly Events post.I have posted login details on this Support # https://kriesi.at/support/topic/facebook-social-shareing-not-picking-up-the-correct-image/
as I am also having issues around Facebook sharing if you wanted to take a look ?Many thanks,
HAugust 30, 2014 at 3:53 am #311136Hi!
Thank you for the update.
I’m sorry but we cannot provide support for third party plugins or scripts as stated on our support policy due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Your best chance is to go to ask the plugin author about the issue.
Best regards,
IsmaelSeptember 1, 2014 at 2:21 am #311628Hi Guys, I appreciate your help on this and understand you can not support third party products. I have been on the plugin support forum and see that they suggest the Enfold theme is causing the problem. Here is the explanation, perhaps one for Kriesi to look at?
(I have made the changes they suggested and this fixes the problem). Another example was the twitter Share button. Example:The Twitter share button for a Normal Enfold Blog Post would be:
http://twitter.com/home?status=Test%20Post%20websitedomainname/?p=466
and yet the Ai1ec post would be:
Plugin Support Forum Says this:
Your theme doesn’t support the title of a post having HTML. You should get your theme author to fix this. It breaks plugins like Ai1ec, as well as the WP-Typography plugin.
If the theme uses the function the_title(), the theme author needs to change it to use the_title_attribute().
If it uses get_the_title(), then the theme author needs to strip HTML tags from the title manually, or escape them using something like the WP function esc_attr().
To change ai1ec to work around this bug, edit …../all-in-one-event-calendar/lib/http/response/render/strategy/html.php and comment out a line.
The line to comment out is line 99:
$title = ‘<span class=”summary”>’ . $title . ‘</span>’;
So you should end up with:// $title = ‘<span class=”summary”>’ . $title . ‘</span>’;
Try that and see if it solves many of your problems.The forum link is here: https://time.ly/forums/topic/enfold-buggy-calendar/#post-151286
September 2, 2014 at 4:50 pm #312406Hey!
You can also remove the tags by editing wp-content/themes/enfold/includes/helper-social-media.php – open up the file and replace:
$replace['title'] = !isset($this->post_data['title']) ? get_the_title() : $this->post_data['title'];
with
$replace['title'] = !isset($this->post_data['title']) ? wp_strip_all_tags(get_the_title()) : $this->post_data['title'];
We’ll add a filter to helper-social-media.php with the next update – then you can overwrite the “$replace[‘title’]” value with a child theme if necessary.
Regards,
PeterSeptember 3, 2014 at 12:46 am #312567Thank Peter. So just to clarify the process I should go through?
I made the work around as suggested by Time.ly (I presume this will be overwritten if and when they do an update) ?
I already have an Enfold Child Theme set up (followed the great vid you guys posted)
So should I create a new file called helper-social-media.php and just put the second line you suggest above?
and at what level in the child directory should I add it? do i make a new folder too?Sorry, just not too technical yet. I need step by step instructions. Hope you can assist.
Many thanks,
HSeptember 3, 2014 at 1:43 am #312575Hey there!!!
I’m starting with the enfold theme and I’m using Contact Forms but I didn’t receive the email when I completed the form. I’m using Gmail!. Did you can help me with this problem?
Many thanks,
RogerSeptember 4, 2014 at 11:20 pm #313653Hey @Heathcliffe!
No, you should directly edit the parent theme file Peter mentioned:
/wp-content/themes/enfold/includes/helper-social-media.php
@rogerdp, please create another topic regarding your issue so we can give you a better assistance.Best regards,
JosueSeptember 29, 2014 at 9:06 pm #326807Thanks @Josue,
I have edited the file. How will i know which update the change is in, and when (if) I need to add it to a child file.
H
September 29, 2014 at 10:09 pm #326831Hi!
You can put the whole class avia_social_share_links (129-241) in your child functions.php, that should override the parent one.
Best regards,
JosueOctober 19, 2014 at 8:30 pm #338014 -
AuthorPosts
- The topic ‘Email Social Share Button’ is closed to new replies.