Commit graph

10 commits

Author SHA1 Message Date
Miguel
4bf4fb9af2 Add strict types 2024-07-08 15:47:14 +07:00
George Stephanis
8347656eb8 Add filter to change bundled google fonts.
Initially intended as a part-fix for #3134 to enable child themes to swap typefaces that get included more easily, this also extends that change across to many themes using the common patterns.

It explicitly does not change the following themes:

Spearhead (uses different endpoint and method)

And the following themes that have multiple functions that generate typeface includes so as to avoid confusion:

* canard
* gazette
* illustratr
* publication
2021-02-18 10:20:38 -05:00
Ben Dwyer
5a410e23c4 All Themes: Fix whitespace in functions.php 2021-02-18 10:17:16 +00:00
Jacopo Tomasone
24dfdbeced
Modern Business: Remove Full Site Editing Support (#1384) 2019-09-06 18:55:20 +01:00
Glen Davies
e6aec688d5 FSE: add fse theme support flag (#1351)
* Add fse theme support flag

* FSE: drop varia support until ready
2019-08-30 15:47:56 -07:00
Marko Andrijasevic
0ef75a5b5b
Modern Business: remove FSE template data inserter duplication (#1216)
To avoid duplicating this file across all FSE themes
I'm moving it to the FSE plugin instead and providing
hooking to theme activation there. This is now viable
since we are no longer hardcoding the templates in
themes, but fetching them from the Dotcom API.
2019-08-08 03:22:10 +02:00
Marko Andrijasevic
140865201e
Modern Business: add remote template fetching for FSE (#1167)
Previously our template parts data was hardcoded in the theme.
This has been updated so it is now fetched from the WordPress.com API.
2019-08-06 18:59:13 +02:00
Copons
9b11cf6b0a Add editor palette support to the Modern Business functions.php 2019-08-02 12:19:28 +01:00
Marko Andrijasevic
e455dc3fc8 Modern Business: add FSE support
This adds required functionality to support rendering FSE header and
footer on all site pages (static and dynamic). It's also includes the
data population functionality, which has now been removed from the plugin
and will be delegated to each theme for maximum flexibility.
2019-07-18 17:53:08 +02:00
Laurel Fulford
39d6953e87 Modern Business: Add to GitHub repo. 2019-02-01 09:36:04 -08:00