Fix My Computer, Mark! - Knowledge Base - How to Remove the WebTrees Footer / Copyright Image 

Knowledge Base - How to Remove the WebTrees Footer / Copyright Image

This hack will remove the WebTrees image from your footer: 

Open: AbstractTheme.php

Located here: public_html/app/Theme/

Goto Line: 1051

You will see this:

protected function logoPoweredBy() {
       return '<a href="' . WT_WEBTREES_URL . '" class="powered-by-webtrees" title="' . WT_WEBTREES_URL . '"></a>';
}

 

Delete this LINE or CHANGE them below in YELLOW:

protected function logoPoweredBy() {
       return ' <a href="' . WT_WEBTREES_URL . '" class="powered-by-webtrees" title="' . WT_WEBTREES_URL . '"></a> ';
}

 

OR CHANGE to this:

protected function logoPoweredBy() {
      $YearDate = date('Y');
      return ' &copy; ' . $YearDate . ' Your Name Here. All rights reserved.';
}

 

Save the File!

====================================

Open: MinimalTheme.php

Located here: public_html/app/Theme/

Goto Line: 92

You will see this:

protected function logoPoweredBy() {
       return '<a href="' . WT_WEBTREES_URL . '" class="powered-by-webtrees" title="' . WT_WEBTREES_URL . '"></a>';
}

 

Delete this LINE or CHANGE them below in YELLOW:

protected function logoPoweredBy() {
       return ' <a href="' . WT_WEBTREES_URL . '" class="powered-by-webtrees" title="' . WT_WEBTREES_URL . '"></a> ';
}

 

OR CHANGE to this:

protected function logoPoweredBy() {
      $YearDate = date('Y');
      return ' &copy; ' . $YearDate . ' Your Name Here. All rights reserved.';
}

 

Save the File!

====================================

Open: style.css

Located here: 
public_html/themes/clouds/css-1.7.8/style.css
public_html/themes/colors/css-1.7.8/style.css
public_html/themes/fab/css-1.7.8/style.css
public_html/themes/webtree/css-1.7.8/style.css
public_html/themes/xenea/css-1.7.8/style.css

This folder may change with newer versions of WebTrees: "css-1.7.8"


Search for: powered-by-webtrees.png     (  )

Delete: images/powered-by-webtrees.png

Save the File!

==========================================

==========================================

webtrees-2.0.16

Goto the Control Panel and disable the logo

OR

Goto: /public/css/

Open any ???.min.css files

Search for: powered or webtree

You will find this:

wt-footer-powered-by-webtrees{width:100px;height:21px;content:url("data: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i7aPUKfYbC9QGRYAH1cqQuLEPpJLYmKsITh9eZoNiZjdj6JK+2iVV7Cazg9BLlZNNQ0fWWFp+wzBFmig5RVbnf6W+SWvnBmVa2ME2BgWHZHUkpEDKj+ouk3SR52dg8RQX+rShVvhgObmYLVWxI9pVyWngJlz+XOsUyszFwSFvWiadvkO3k82BlZNOZrznCWzGJldHd6yItcBC27K1Nvrmv33NXEElywR3a78RvKnFmYWyoQz7978nZ+ZbUTKnrgMlktaFbCSY4zl0XxVttLYvV7MXSYHNNVcsqy6VczYQoKm94Mwg0dTczi9FBKluyVOkBNHVGbYFbHhNlsVYkBllIdYev1H0StXC3QBaldQCrs8029oQXY9Vs2Pu9TIGXbVZ0om61l65Mh2k1X63YxjAKSAQD/uUrNwtklcgAAAABJRU5ErkJggg==

Remove everything from "data:image/png;base64,iVBORw0KGgoAAAAN....63YxjAKSAQD/uUrNwtklcgAAAABJRU5ErkJggg=="

Save the file.

Goto: /resources/views/modules/powered-by-webtrees/footer.phtml 

Remove this:

    <a href="/<?= e($url) ?>" class="wt-footer-powered-by-webtrees" dir="ltr">
        <?= e($name) ?>
    </a>

That's All!

Details

Created : 2017-08-20 13:32:47, Last Modified : 2023-12-25 06:48:42

Click to listen highlighted text!