Categories

Drupal 7.x. How to edit footer copyright

Ryan DeWitt April 13, 2014
Rating: 5.0/5. From 2 votes.
Please wait...

This tutorial shows how to edit the footer copyright info in Drupal 7.x templates.

Drupal 7.x. How to edit footer copyright

  1. You can see the footer copyright below.

    Drupal_7.x._How_to_edit_footer_copyright-1

  2. In order to change it, you should go to Structure -> Blocks, locate the Footer region and edit the Footer-text block (the block name may vary).

    Drupal_7.x._How_to_edit_footer_copyright-2

  3. We should modify the following code in order to change the footer text:

    <?php $site_name =  variable_get('site_name', 'Drupal'); print $site_name; ?> 

    <?php $site_name?> displays Drupal site name, &copy; is the copyright symbol, <?php echo date(‘Y’) ?> is the function showing the year. You can also see the Privacy policy link in there.

    Drupal_7.x._How_to_edit_footer_copyright-3

  4. We have changed the Privacy policy link and the privacy policy text. We have also removed the date. Please note that you can remove this PHP code and use HTML instead. Save the changes. The modified code looks like the one on the screenshot below.

    Drupal_7.x._How_to_edit_footer_copyright-4

  5. Save the changes and check your site.

    Drupal_7.x._How_to_edit_footer_copyright-5

Feel free to check the detailed video tutorial below:

Drupal 7.x. How to edit footer copyright

Best Drupal Themes
This entry was posted in CMS & Blog Templates, Drupal, Drupal Tutorials and tagged CMS, copyright, drupal. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket