Title: using functions.php can someone help?
Last modified: August 21, 2016

---

# using functions.php can someone help?

 *  [jeffcoop](https://wordpress.org/support/users/jeffcoop/)
 * (@jeffcoop)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/using-functionsphp-can-someone-help/)
 * This is what I’m trying to accomplish. I would like to add additional social 
   icons above the author bio. I can remove them by going into the theme options
   and removing the # from the link box.
 * I found the author bio section in the parent theme’s function.php. If I add this
   section of code to the list of other social sites in function.php
 *     ```
       if ( '' != of_get_option('g_author_bio_social_pinterest') ) {
       			echo "<a href='".esc_url( of_get_option('g_author_bio_social_pinterest') )."'><i class='icon-pinterest'></i></a>\n";
       		}
       ```
   
 * and then add this code to options.php,
 *     ```
       $options['g_author_bio_social_pinterest'] = array( "name" => __( "Author Pinterest URL", "duena" ),
       							"desc" => __( "Enter Author Pinterest URL", "duena" ),
       							"id" => "g_author_bio_social_pinterest",
       							"type" => "text",
       							"class" => "hidden",
       							"std" => "#");
       ```
   
 * I have to go into the theme options and save the changes (even though I didn’t
   actually change anything in the options) then when I go to my site, I have the
   new social icon.
 * The problem is, I had to add this code to the parent’s theme. How can I use my
   child theme to accomplish this? I’m pretty sure it has to do with using the functions.
   php but I’m a php noob and any guide I’ve found online hasn’t help. Can someone
   provide any assistance please?
 * Thanks in advance.

The topic ‘using functions.php can someone help?’ is closed to new replies.

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

 * 0 replies
 * 1 participant
 * Last reply from: [jeffcoop](https://wordpress.org/support/users/jeffcoop/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/using-functionsphp-can-someone-help/)
 * Status: not resolved