Print
Written by Tech Notes
Category: Concrete5
Published: 09 April 2014
CMS   Footer   Concrete5   Editing   Theme Copy   Duplicate Theme   footer.php  

How To Remove The Concrete5 (C5) Copyright And Tag Line In The Footer Of All Pages

If you are doing this, then I suggest, you also read the other Tech Notes article of Adding Footer To Concrete5 And Making It Editable, so you can put back some kind of Tag Line for C5, but something you get to control.

Please note that I do not get paid to write these articles. 

Now, going to the steps to remove stuff from the footer of all your C5 pages. As you have noticed things are automatically injected onto all your website pages; such as a pre-formatted copyright message and a C5 message (tag line) leading back to the C5 site.

Quick Method

  1. Access your hosting and/or website's file system (via FTP; webdisk; or File Manager tool of your hosting control panel, like cpanel).

  2. Go into your theme folder.  For example, if your them was Greek Yogurt, then you would go to /Your-Home-Path/concrete/themes/greek_yogurt/

  3. Go into the folder named elements, and make a copy of the footer.php file. This is done as a backup copy. Best to put in the copied file name a time stamp or indication of some kind that it is the original and when made (such as footer.php-Copy202008271153PDT-Original, which indicates year 2020, month of 08, and day of 27 and time and zone of PDT, and mention of it being the original file).

  4. Edit the footer.php file via any text or code editor.  (Note if you got WHW1 hosting, then both File Manager and edit tools are all built into hosting control panel to directly edit on hosting file system) 

  5. Remove this
    	
    <p class="footer-copyright">&copy;<?php  echo date('Y')?> <?php  echo SITE?>.</p>
    <p class="footer-tag-line"><?php echo t('Built with <a href="http://www.concrete5.org/" alt="Free Content Management System" target="_blank">concrete5 - an open source CMS</a>')?></p>

    Put a Comment like this to let yourself know later that you removed lines

    	
    			<!-- 20200409-modified. Removed two lines. -->
  6.  Save the modified footer.php file back into the hosting (website) file system.

 

Better Method, But A Tiny Bit More Involved

To avoid losing your changes if you upgrade the theme you are using then you may want to do the following optional steps. A lot of people do not upgrade their theme, and so this is not a concern for them. 

Additional Steps

You will do the same as above, but first you will want to duplicate the theme in use.  In this example, the theme in use is Greet Yogurt, as mentioned above.

  1. Copy the whole greek_yogurt folder from /Your-Home-Path/concrete/themes/greek_yogurt to /Your-Home-Path/themes/greek_yogurt/ .  This assumes your C5 site has been installed directly under your home path (often in the public_html or main or www folder, depending on your server's file system structure).  If your C5 installation is in a sub-folder, then you would simply have /Your-Home-Path/sub-folder/ as the starting point for your site's install.

  2. Now instead of making the changes to the footer.php file in the original theme's folder, as indicated above, make the changes indicated above (simply go through the steps above) to the footer.php file in the copied theme's folder.  Any changes you do to the copied theme will act as an OVERRIDE.  Basically, the copied theme files will be used instead of the original installed theme files.

 

Advised Step To Take After Above Is Done

Once you have done the above or other changes it is advised you clear both your C5 cache and your Internet browser cache before refreshing or reloading the website page.  Read this on how to Clear the C5 cache.