Title: multisite question
Last modified: August 21, 2016

---

# multisite question

 *  Resolved [AM77](https://wordpress.org/support/users/andy277/)
 * (@andy277)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/multisite-question-14/)
 * I am creating a multisite and all my themes are from 1 framework, so all theme
   selectors are the same. I would like to try and set the selectors ready for all
   users so they don’t have to.
 * In one of your files – class-egf-register-options.php you have for example:
 *     ```
       'tt_default_heading_1' => array(
       'name'        => 'tt_default_heading_1',
       'title'       => __( 'Heading 1', 'easy-google-fonts' ),
       'description' => __( "Please select a font for the theme's heading 1 styles", 'easy-google-fonts' ),
       'properties'  => array( 'selector' => apply_filters( 'tt_default_heading_1', 'h1' ) ),
       				),
       ```
   
 * In the above code, I changed the selectors ‘h1’ to one of my css classes and 
   it works perfectly. However because I will need to keep updating the file when
   there is an update I was wondering if I can filter this in my own file. I have
   an mu-plugin file so the code in there affects all themes across my network. 
   But I have no idea how to how to filter them to my mu-plugin file.
 * Any help appreciated
 * [https://wordpress.org/plugins/easy-google-fonts/](https://wordpress.org/plugins/easy-google-fonts/)

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

 *  Plugin Author [Sunny Johal](https://wordpress.org/support/users/sunny_johal/)
 * (@sunny_johal)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/multisite-question-14/#post-5033364)
 * Hi Andy,
    You can filter this selector in your own file without touching any 
   code in our plugin. Here is some code based on your example that you can copy
   paste into your own theme/plugin:
 *     ```
       function custom_tt_default_heading_1( $selector ) {
           // Change the selector to whatever you want e.g:
           $selector = 'h1, h1.my-class, h1#id';
   
           // Return the new selector
           return $selector;
       }
       add_filter( 'tt_default_heading_1', 'custom_tt_default_heading_1' );
       ```
   
 * Just change the selector to whatever is applicable to your theme. Please let 
   me know how you get on. Cheers
 * Sunny
 *  Thread Starter [AM77](https://wordpress.org/support/users/andy277/)
 * (@andy277)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/multisite-question-14/#post-5033393)
 * Hi
 * This was perfect. Thanks.
 * Easy google fonts is definitely one of best wp plugins. Looking forward to your
   new website.
 * Andy

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

The topic ‘multisite question’ is closed to new replies.

 * ![](https://ps.w.org/easy-google-fonts/assets/icon-256x256.png?rev=2562365)
 * [Easy Google Fonts](https://wordpress.org/plugins/easy-google-fonts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-google-fonts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-google-fonts/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-google-fonts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-google-fonts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-google-fonts/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [AM77](https://wordpress.org/support/users/andy277/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/multisite-question-14/#post-5033393)
 * Status: resolved