Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1402621

    Hi, I’ve tried to delete Enfold theme by Kriesi at the footer but It has a problem now that the footer cannot show my copyright information despite I have it in enfold -> footer setting.

    #1402628

    Hey vuong1311,

    Thank you for the inquiry.

    The html of the footer container seems to be incorrect. Did you modify the footer.php file?

    To remove the default copyright info, you can add the following text in the copyright field along with your custom text.

    [nolink] You copyright info here
    

    Best regards,
    Ismael

    #1402709

    I have modified the footer.php, but I have fixed it same like the beginning. I’m also put [nolink] You copyright info here in themes footer setting and It’s work but I’m also want my copy right contain a link. Can you show me how?

    #1402757

    Hi,

    Thanks for the update. If you want to add a link, then you can try adding the code manually:

    <a href="https://your.site/page" target="_blank">link text</a>

    Best regards,
    Rikard

    #1402766

    Hi Rikard,
    Could you show me where to put the code in?
    Thanks & Best regards,
    Vuong Pham

    #1402799

    Hi,

    Please try adding it in the Copyright field.

    Best regards,
    Rikard

    #1402830

    or redefine the backlink by this in your child-theme functions.php:

    /**  new backlink in copyright insertion*/
    function new_nolink(){
    $kriesi_at_backlink = " - <a href='https://your-link'>your link text</a>";
    return $kriesi_at_backlink;
    }
    add_filter("kriesi_backlink","new_nolink");

    Of course, you then had to remove the [nolink] from the copyright input field.

    _____________

    different way to write:

    function my_own_backlink($link){
      $no = "rel='nofollow'";
      $target = "_blank";
      $backlink_url = 'Backlink URL';
      $theme_string = 'Custom Backlink Text'; 
      $link = " - <a {$no} href='{$backlink_url}' target='{$target}'>{$theme_string}</a>";
      return $link;
    }
    add_filter( 'kriesi_backlink', 'my_own_backlink', 10, 1);
    #1402878

    Hi,
    It’s work. Thanks for helping.
    Best Regards,
    Vuong Pham

    #1402891

    Hey,

    Glad @guenni007 could help! Let us know if you have any other questions and enjoy the rest of your day!


    @guenni007
    thanks as always!

    Regards,
    Yigit

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Cannot show copyright at the footer’ is closed to new replies.