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!

 

Details

Created : 2017-08-20 13:32:47, Last Modified : 2017-08-20 13:46:58