Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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" />

    #445789

    Hi 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,
    Yigit

    #445805

    Hi 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.
    #446276

    Thanks 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!

    #446527

    Hi!

    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Removing the words "Permanent Link" from Blogroll alt text’ is closed to new replies.