Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #765679

    I’m having a problem adding a link in the footer for our site. I followed the instructions at http://kriesi.at/documentation/enfold/change-the-footer-text-and-link/ and have added

    © 2017 Zenergyst - <a href="https://zenergyst.com/about/trust-transparency/">Trust & Transparency</a> [nolink]

    in the footer. This shows when I look at the page source. However, the footer only displays
    © 2017 Zenergyst –

    Any help would be greatly appreciated.

    #765718

    Hey bulldog232,

    For some reason, the link has a display none rule. So, to fix it, just add the custom CSS code below at Enfold Theme Options > General Styling > Quick CSS

    
    .copyright a {
      display: block !important;
    }
    

    Best regards,
    John Torvik

    #765726

    Hi bulldog232!

    add_filter( 'kriesi_backlink', 'my_own_backlink', 10, 1);
    function my_own_backlink($link)
    {
    	//	original on line 1310  of enfold\framework\php\function-set-avia-frontend.php
    	//	$link = " - <a {$no} href='http://kriesi.at'>{$theme_string}</a>";
    	
    	//	change the output string with e.g.
    	
    	$no = "rel='nofollow'";
    	$theme_string = 'Your text to display';
    	
    	$link = " - <a {$no} href='http://www.your_domiain.xx'>{$theme_string}</a>";
    	
    	return $link;
    }

    Please add that function and change it with your details.
    I tried also and seems that there is something that is not allowing it, but that will do the trick.

    Cheers!
    Basilis

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.