multisite question
-
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
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘multisite question’ is closed to new replies.