Title: Decode 2.8.4, functions.php
Last modified: August 21, 2016

---

# Decode 2.8.4, functions.php

 *  Resolved [Armoros](https://wordpress.org/support/users/armoros/)
 * (@armoros)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/decode-284-functionsphp/)
 * Hello, i did create a child theme for Decode, and i also created a functions.
   php, to use the google fonts, but still nothing changes.
    I don’t know what I’m
   doing wrong, this is the functions.php that i added in my child theme.
 *     ```
       <?php
           function load_fonts() {
             wp_enqueue_style('googleFonts', 'http://fonts.googleapis.com/css?family=Droid+Sans|Oxygen+Mono');
           }
   
           add_action('wp_enqueue_scripts', 'load_fonts');
   
       function my_updated_copyright($first_year, $owner) {
         $copyright_notice = '© ' . $first_year;
         $current_year = date('Y');
         if($first_year != $current_year) {
           $copyright_notice .= ' - ' . $current_year;
         }
         $copyright_notice = $owner.' '.$copyright_notice;
         return $copyright_notice;
       }
   
       ?>
       ```
   
 * And the style.css of my child theme is this:
 *     ```
       /*
        Theme Name:   Decode-2.8.4 Child
        Theme URI:    http://scotthsmith.com/projects/decode/
        Description:  Decode-2.8.4 Child Theme
        Author:       Edwin van Thillo
        Author URI:   http://www.vanthillo.eu
        Template:     decode
        Version:      1.0.0
        Text Domain:  decode-2.8.4-child
       */
   
       @import url("css/decode.min.css");
   
       /* =Theme customization starts here
       -------------------------------------------------------------- */
       ```
   
 * Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Scott Smith](https://wordpress.org/support/users/scottsmith/)
 * (@scottsmith)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/decode-284-functionsphp/#post-4481786)
 * You need to add the CSS to make the changes appear. The Google font site will
   tell you what you add, but it would be something like this:
 *     ```
       body,
       button,
       select,
       textarea {
       	font: 300 110%/1.5 "FONTNAME", "Oxygen", "Helvetica Neue", "Arial", sans-serif;
       }
       ```
   
 *  Thread Starter [Armoros](https://wordpress.org/support/users/armoros/)
 * (@armoros)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/decode-284-functionsphp/#post-4481794)
 * Yes Scott, of course, it works fine now 🙂 Thanks for your help, and your great
   theme.
 *  [Scott Smith](https://wordpress.org/support/users/scottsmith/)
 * (@scottsmith)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/decode-284-functionsphp/#post-4481797)
 * Great! Have a good one!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Decode 2.8.4, functions.php’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/decode/3.15.3/screenshot.png)
 * Decode
 * [Support Threads](https://wordpress.org/support/theme/decode/)
 * [Active Topics](https://wordpress.org/support/theme/decode/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/decode/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/decode/reviews/)

## Tags

 * [googlefonts](https://wordpress.org/support/topic-tag/googlefonts/)

 * 3 replies
 * 2 participants
 * Last reply from: [Scott Smith](https://wordpress.org/support/users/scottsmith/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/decode-284-functionsphp/#post-4481797)
 * Status: resolved