-
AuthorPosts
-
May 15, 2015 at 6:52 pm #445114
For some reason the alt-text when hovering over the blogroll links adds the words ‘Permanent Link’ – would love to know how to get rid of it. I have included a link to one of the pages that has a blog roll and have a screen shot highlighting the error.
(hosted on WPengine) alt="Screenshot highlighting unwanted text" />May 18, 2015 at 4:28 pm #445789Hi Evoluu!
Please add following code to Functions.php file in Appearance > Editor
function add_custom_tooltip(){ ?> <script> jQuery(window).load(function(){ jQuery('a').removeAttr('title'); jQuery('img').removeAttr('title'); }); </script> <?php } add_action('wp_footer', 'add_custom_tooltip');Regards,
YigitMay 18, 2015 at 4:40 pm #445805Hi Evoluu!
Add this to your child theme functions.php file.
function avia_default_title_filter($current_post) { if(!empty($current_post['title'])) { $heading = is_singular() ? "h1" : "h2"; $output = ""; //$output .= "<{$heading} class='post-title entry-title ". avia_offset_class('meta', false). "'>"; $output .= "<{$heading} class='post-title entry-title' ".avia_markup_helper(array('context' => 'entry_title','echo'=>false)).">"; $output .= " <a href='".get_permalink()."' rel='bookmark' title='".$current_post['title']."'>".$current_post['title']; $output .= " <span class='post-format-icon minor-meta'></span>"; $output .= " </a>"; $output .= "</{$heading}>"; $current_post['title'] = $output; } return $current_post; }Cheers!
Elliott-
This reply was modified 10 years, 5 months ago by
Elliott.
May 19, 2015 at 9:41 am #446276Thanks both. I didn’t realise I had to do both for this to be effective and broke the site a couple of times but got there in the end. Thanks again!
May 19, 2015 at 4:34 pm #446527Hi!
Either one of the solutions should have worked actually :)
You are welcome, we are always happy to help :)
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)Regards,
Yigit -
This reply was modified 10 years, 5 months ago by
-
AuthorPosts
- The topic ‘Removing the words "Permanent Link" from Blogroll alt text’ is closed to new replies.
