mirrored from git://develop.git.wordpress.org/
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bundled Themes: Initial import of the Twenty Twenty-Five default theme.
It's a new dawn, it's a new day. It's a new default theme for 2025. And I'm feeling good. Props poena, karmatosed, onemaggie, juanfra, garethelwell, joen, beafialho, richtabor, noruzzaman, shailu25, kishanjasani, up1512001, ajlende, huzaifaalmesbah, kafleg, dballari, lastsplash, jennifarhat, amjadr360, rejaulalomkhan, oncecoupled, devmuhib, tanvirul, arkenon, elfu98, erichmond, kardi420, ktaron, melchoyce, maneshtimilsina, jorbin, ritterml, eherman24, vcanales, ikamal, bobbyleenoblestudios, germanfrelo, kraftbj, mcrisp1972, peterwilsoncc, luminuu, eliorivero, jeherve, fac3less, alexandrebuffet. Fixes #62103. git-svn-id: https://develop.svn.wordpress.org/trunk@59146 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information
1 parent
9ef1ff1
commit a268866
Showing
281 changed files
with
13,319 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
src/wp-content/themes/twentytwentyfive/assets/css/editor-style.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* Link styles | ||
* https://github.com/WordPress/gutenberg/issues/42319 | ||
*/ | ||
a { | ||
text-decoration-thickness: 1px !important; | ||
text-underline-offset: .1em; | ||
} |
Binary file added
BIN
+172 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/beiruti/Beiruti-VariableFont_wght.woff2
Binary file not shown.
Binary file added
BIN
+67.8 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-code/FiraCode-Bold.woff2
Binary file not shown.
Binary file added
BIN
+68.2 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-code/FiraCode-Light.woff2
Binary file not shown.
Binary file added
BIN
+69.1 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-code/FiraCode-Medium.woff2
Binary file not shown.
Binary file added
BIN
+69 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-code/FiraCode-Regular.woff2
Binary file not shown.
Binary file added
BIN
+69.4 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-code/FiraCode-SemiBold.woff2
Binary file not shown.
Binary file added
BIN
+150 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Black.woff2
Binary file not shown.
Binary file added
BIN
+162 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-BlackItalic.woff2
Binary file not shown.
Binary file added
BIN
+151 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Bold.woff2
Binary file not shown.
Binary file added
BIN
+161 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-BoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+152 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-ExtraBold.woff2
Binary file not shown.
Binary file added
BIN
+167 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-ExtraBoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+141 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-ExtraLight.woff2
Binary file not shown.
Binary file added
BIN
+149 KB
...wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-ExtraLightItalic.woff2
Binary file not shown.
Binary file added
BIN
+152 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Italic.woff2
Binary file not shown.
Binary file added
BIN
+142 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Light.woff2
Binary file not shown.
Binary file added
BIN
+150 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-LightItalic.woff2
Binary file not shown.
Binary file added
BIN
+145 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Medium.woff2
Binary file not shown.
Binary file added
BIN
+154 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-MediumItalic.woff2
Binary file not shown.
Binary file added
BIN
+142 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Regular.woff2
Binary file not shown.
Binary file added
BIN
+151 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-SemiBold.woff2
Binary file not shown.
Binary file added
BIN
+161 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-SemiBoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+137 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Thin.woff2
Binary file not shown.
Binary file added
BIN
+145 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-ThinItalic.woff2
Binary file not shown.
Binary file added
BIN
+104 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-Black.woff2
Binary file not shown.
Binary file added
BIN
+106 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-BlackItalic.woff2
Binary file not shown.
Binary file added
BIN
+105 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-Bold.woff2
Binary file not shown.
Binary file added
BIN
+108 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-BoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+108 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-ExtraBold.woff2
Binary file not shown.
Binary file added
BIN
+108 KB
...-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-ExtraBoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+102 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-ExtraLight.woff2
Binary file not shown.
Binary file added
BIN
+102 KB
...content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-ExtraLightItalic.woff2
Binary file not shown.
Binary file added
BIN
+106 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-Light.woff2
Binary file not shown.
Binary file added
BIN
+103 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-LightItalic.woff2
Binary file not shown.
Binary file added
BIN
+104 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-Medium.woff2
Binary file not shown.
Binary file added
BIN
+106 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-MediumItalic.woff2
Binary file not shown.
Binary file added
BIN
+91.9 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-Regular.woff2
Binary file not shown.
Binary file added
BIN
+93.4 KB
...wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-RegularItalic.woff2
Binary file not shown.
Binary file added
BIN
+105 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-SemiBold.woff2
Binary file not shown.
Binary file added
BIN
+107 KB
...p-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-SemiBoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+30.4 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/manrope/Manrope-Bold.woff2
Binary file not shown.
Binary file added
BIN
+28.9 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/manrope/Manrope-ExtraBold.woff2
Binary file not shown.
Binary file added
BIN
+28.7 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/manrope/Manrope-ExtraLight.woff2
Binary file not shown.
Binary file added
BIN
+30.3 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/manrope/Manrope-Light.woff2
Binary file not shown.
Binary file added
BIN
+29.8 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/manrope/Manrope-Medium.woff2
Binary file not shown.
Binary file added
BIN
+30.1 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/manrope/Manrope-Regular.woff2
Binary file not shown.
Binary file added
BIN
+30.2 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/manrope/Manrope-SemiBold.woff2
Binary file not shown.
Binary file added
BIN
+42.1 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/platypi/Platypi-Bold.woff2
Binary file not shown.
Binary file added
BIN
+42.6 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/platypi/Platypi-BoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+40.8 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/platypi/Platypi-ExtraBold.woff2
Binary file not shown.
Binary file added
BIN
+41.3 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/platypi/Platypi-ExtraBoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+42.7 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/platypi/Platypi-Italic.woff2
Binary file not shown.
Binary file added
BIN
+41.1 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/platypi/Platypi-Light.woff2
Binary file not shown.
Binary file added
BIN
+40.9 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/platypi/Platypi-LightItalic.woff2
Binary file not shown.
Binary file added
BIN
+42.5 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/platypi/Platypi-Medium.woff2
Binary file not shown.
Binary file added
BIN
+43 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/platypi/Platypi-MediumItalic.woff2
Binary file not shown.
Binary file added
BIN
+42.3 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/platypi/Platypi-Regular.woff2
Binary file not shown.
Binary file added
BIN
+42.4 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/platypi/Platypi-SemiBold.woff2
Binary file not shown.
Binary file added
BIN
+42.7 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/platypi/Platypi-SemiBoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+113 KB
...ntent/themes/twentytwentyfive/assets/fonts/roboto-slab/RobotoSlab-VariableFont_wght.woff2
Binary file not shown.
Binary file added
BIN
+113 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/vollkorn/Vollkorn-Black.woff2
Binary file not shown.
Binary file added
BIN
+92.7 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/vollkorn/Vollkorn-BlackItalic.woff2
Binary file not shown.
Binary file added
BIN
+118 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/vollkorn/Vollkorn-Bold.woff2
Binary file not shown.
Binary file added
BIN
+96.3 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/vollkorn/Vollkorn-BoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+118 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/vollkorn/Vollkorn-ExtraBold.woff2
Binary file not shown.
Binary file added
BIN
+96.9 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/vollkorn/Vollkorn-ExtraBoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+90.4 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/vollkorn/Vollkorn-Italic.woff2
Binary file not shown.
Binary file added
BIN
+116 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/vollkorn/Vollkorn-Medium.woff2
Binary file not shown.
Binary file added
BIN
+95.8 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/vollkorn/Vollkorn-MediumItalic.woff2
Binary file not shown.
Binary file added
BIN
+110 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/vollkorn/Vollkorn-Regular.woff2
Binary file not shown.
Binary file added
BIN
+117 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/vollkorn/Vollkorn-SemiBold.woff2
Binary file not shown.
Binary file added
BIN
+95.6 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/vollkorn/Vollkorn-SemiBoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+78.7 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-Black.woff2
Binary file not shown.
Binary file added
BIN
+62.7 KB
...ntent/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-BlackItalic.woff2
Binary file not shown.
Binary file added
BIN
+74.8 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-Bold.woff2
Binary file not shown.
Binary file added
BIN
+59 KB
...ontent/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-BoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+78.3 KB
...content/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-ExtraBold.woff2
Binary file not shown.
Binary file added
BIN
+62.4 KB
...t/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-ExtraBoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+77.3 KB
...ontent/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-ExtraLight.woff2
Binary file not shown.
Binary file added
BIN
+61.3 KB
.../themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-ExtraLightItalic.woff2
Binary file not shown.
Binary file added
BIN
+61.3 KB
...wp-content/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-Italic.woff2
Binary file not shown.
Binary file added
BIN
+77.3 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-Light.woff2
Binary file not shown.
Binary file added
BIN
+61.5 KB
...ntent/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-LightItalic.woff2
Binary file not shown.
Binary file added
BIN
+77.6 KB
...wp-content/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-Medium.woff2
Binary file not shown.
Binary file added
BIN
+61.8 KB
...tent/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-MediumItalic.woff2
Binary file not shown.
Binary file added
BIN
+77.5 KB
...p-content/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-Regular.woff2
Binary file not shown.
Binary file added
BIN
+77.5 KB
...-content/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-SemiBold.woff2
Binary file not shown.
Binary file added
BIN
+61.5 KB
...nt/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-SemiBoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+76.8 KB
src/wp-content/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-Thin.woff2
Binary file not shown.
Binary file added
BIN
+60.8 KB
...ontent/themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-ThinItalic.woff2
Binary file not shown.
Binary file added
BIN
+14.2 KB
src/wp-content/themes/twentytwentyfive/assets/images/agenda-img-4.webp
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+19.3 KB
src/wp-content/themes/twentytwentyfive/assets/images/book-image-landing.webp
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+97.5 KB
src/wp-content/themes/twentytwentyfive/assets/images/botany-flowers.webp
Binary file not shown.
Binary file added
BIN
+26.8 KB
src/wp-content/themes/twentytwentyfive/assets/images/category-anthuriums.webp
Binary file not shown.
Binary file added
BIN
+50.7 KB
src/wp-content/themes/twentytwentyfive/assets/images/category-cactus.webp
Binary file not shown.
Binary file added
BIN
+18.1 KB
src/wp-content/themes/twentytwentyfive/assets/images/category-sunflowers.webp
Binary file not shown.
Binary file added
BIN
+86.5 KB
src/wp-content/themes/twentytwentyfive/assets/images/coming-soon-bg-image.webp
Binary file not shown.
Binary file added
BIN
+26.9 KB
src/wp-content/themes/twentytwentyfive/assets/images/coral-square.webp
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.59 KB
src/wp-content/themes/twentytwentyfive/assets/images/dallas-creek-square.webp
Binary file not shown.
Binary file added
BIN
+29.1 KB
src/wp-content/themes/twentytwentyfive/assets/images/fair-sauimatani-square.webp
Binary file not shown.
Binary file added
BIN
+29.2 KB
src/wp-content/themes/twentytwentyfive/assets/images/flower-meadow-square.webp
Binary file not shown.
Binary file added
BIN
+19.2 KB
src/wp-content/themes/twentytwentyfive/assets/images/grid-flower-1.webp
Binary file not shown.
Binary file added
BIN
+112 KB
src/wp-content/themes/twentytwentyfive/assets/images/grid-flower-2.webp
Binary file not shown.
Binary file added
BIN
+176 KB
src/wp-content/themes/twentytwentyfive/assets/images/hero-podcast.webp
Binary file not shown.
Binary file added
BIN
+409 KB
src/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-13029755.webp
Binary file not shown.
Binary file added
BIN
+20.8 KB
src/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-2211732.webp
Binary file not shown.
Binary file added
BIN
+41.1 KB
src/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-2222755.webp
Binary file not shown.
Binary file added
BIN
+41.2 KB
src/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-2224378.webp
Binary file not shown.
Binary file added
BIN
+55.5 KB
src/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8799471.webp
Binary file not shown.
Binary file added
BIN
+5.07 KB
src/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8799918.webp
Binary file not shown.
Binary file added
BIN
+35 KB
...ontent/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8802603-original.webp
Binary file not shown.
Binary file added
BIN
+199 KB
...ent/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8802835-jpeg-scaled.webp
Binary file not shown.
Binary file added
BIN
+5.97 KB
src/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8802845.webp
Binary file not shown.
Binary file added
BIN
+281 KB
...ontent/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8803077-original.webp
Binary file not shown.
Binary file added
BIN
+58.8 KB
src/wp-content/themes/twentytwentyfive/assets/images/image-from-rawpixel-id-8812207.webp
Binary file not shown.
Binary file added
BIN
+110 KB
src/wp-content/themes/twentytwentyfive/assets/images/link-in-bio-background.webp
Binary file not shown.
Binary file added
BIN
+228 KB
src/wp-content/themes/twentytwentyfive/assets/images/link-in-bio-image.webp
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+5.75 KB
src/wp-content/themes/twentytwentyfive/assets/images/marshland-birds-square.webp
Binary file not shown.
Binary file added
BIN
+35.3 KB
src/wp-content/themes/twentytwentyfive/assets/images/parthenon-square.webp
Binary file not shown.
Binary file added
BIN
+490 KB
src/wp-content/themes/twentytwentyfive/assets/images/poster-image-background.webp
Binary file not shown.
Binary file added
BIN
+51.3 KB
src/wp-content/themes/twentytwentyfive/assets/images/services-subscriber-photo.webp
Binary file not shown.
Binary file added
BIN
+10.5 KB
src/wp-content/themes/twentytwentyfive/assets/images/team-photo-1.webp
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+26.7 KB
src/wp-content/themes/twentytwentyfive/assets/images/team-photo-3.webp
Binary file not shown.
Binary file added
BIN
+15.8 KB
src/wp-content/themes/twentytwentyfive/assets/images/team-photo-4.webp
Binary file not shown.
Binary file added
BIN
+27.6 KB
src/wp-content/themes/twentytwentyfive/assets/images/vash-gon-square.webp
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
<?php | ||
/** | ||
* Twenty Twenty-Five functions and definitions. | ||
* | ||
* @link https://developer.wordpress.org/themes/basics/theme-functions/ | ||
* | ||
* @package WordPress | ||
* @subpackage Twenty_Twenty_Five | ||
* @since Twenty Twenty-Five 1.0 | ||
*/ | ||
|
||
// Adds theme support for post formats. | ||
if ( ! function_exists( 'twentytwentyfive_post_format_setup' ) ) : | ||
/** | ||
* Adds theme support for post formats. | ||
* | ||
* @since Twenty Twenty-Five 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function twentytwentyfive_post_format_setup() { | ||
add_theme_support( 'post-formats', array( 'audio', 'gallery', 'image', 'link', 'quote', 'video' ) ); | ||
} | ||
endif; | ||
add_action( 'after_setup_theme', 'twentytwentyfive_post_format_setup' ); | ||
|
||
// Enqueues editor-style.css in the editors. | ||
if ( ! function_exists( 'twentytwentyfive_editor_style' ) ) : | ||
/** | ||
* Enqueues editor-style.css in the editors. | ||
* | ||
* @since Twenty Twenty-Five 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function twentytwentyfive_editor_style() { | ||
add_editor_style( get_parent_theme_file_uri( 'assets/css/editor-style.css' ) ); | ||
} | ||
endif; | ||
add_action( 'after_setup_theme', 'twentytwentyfive_editor_style' ); | ||
|
||
// Enqueues style.css on the front. | ||
if ( ! function_exists( 'twentytwentyfive_enqueue_styles' ) ) : | ||
/** | ||
* Enqueues style.css on the front. | ||
* | ||
* @since Twenty Twenty-Five 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function twentytwentyfive_enqueue_styles() { | ||
wp_enqueue_style( | ||
'twentytwentyfive-style', | ||
get_parent_theme_file_uri( 'style.css' ), | ||
array(), | ||
wp_get_theme()->get( 'Version' ) | ||
); | ||
} | ||
endif; | ||
add_action( 'wp_enqueue_scripts', 'twentytwentyfive_enqueue_styles' ); | ||
|
||
// Registers custom block styles. | ||
if ( ! function_exists( 'twentytwentyfive_block_styles' ) ) : | ||
/** | ||
* Registers custom block styles. | ||
* | ||
* @since Twenty Twenty-Five 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function twentytwentyfive_block_styles() { | ||
register_block_style( | ||
'core/list', | ||
array( | ||
'name' => 'checkmark-list', | ||
'label' => __( 'Checkmark', 'twentytwentyfive' ), | ||
'inline_style' => ' | ||
ul.is-style-checkmark-list { | ||
list-style-type: "\2713"; | ||
} | ||
ul.is-style-checkmark-list li { | ||
padding-inline-start: 1ch; | ||
}', | ||
) | ||
); | ||
} | ||
endif; | ||
add_action( 'init', 'twentytwentyfive_block_styles' ); | ||
|
||
// Registers pattern categories. | ||
if ( ! function_exists( 'twentytwentyfive_pattern_categories' ) ) : | ||
/** | ||
* Registers pattern categories. | ||
* | ||
* @since Twenty Twenty-Five 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function twentytwentyfive_pattern_categories() { | ||
|
||
register_block_pattern_category( | ||
'twentytwentyfive_page', | ||
array( | ||
'label' => __( 'Pages', 'twentytwentyfive' ), | ||
'description' => __( 'A collection of full page layouts.', 'twentytwentyfive' ), | ||
) | ||
); | ||
|
||
register_block_pattern_category( | ||
'twentytwentyfive_post-format', | ||
array( | ||
'label' => __( 'Post format', 'twentytwentyfive' ), | ||
'description' => __( 'A collection of post format patterns.', 'twentytwentyfive' ), | ||
) | ||
); | ||
} | ||
endif; | ||
add_action( 'init', 'twentytwentyfive_pattern_categories' ); | ||
|
||
// Registers block binding sources. | ||
if ( ! function_exists( 'twentytwentyfive_register_block_bindings' ) ) : | ||
/** | ||
* Registers the copyright block binding source. | ||
* | ||
* @since Twenty Twenty-Five 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function twentytwentyfive_register_block_bindings() { | ||
register_block_bindings_source( | ||
'twentytwentyfive/copyright', | ||
array( | ||
'label' => _x( '© YEAR', 'Label for the copyright placeholder in the editor', 'twentytwentyfive' ), | ||
'get_value_callback' => 'twentytwentyfive_copyright_binding', | ||
) | ||
); | ||
} | ||
endif; | ||
|
||
// Registers block binding callback function for the copyright. | ||
if ( ! function_exists( 'twentytwentyfive_copyright_binding' ) ) : | ||
/** | ||
* Callback function for the copyright block binding source. | ||
* | ||
* @since Twenty Twenty-Five 1.0 | ||
* | ||
* @return string Copyright text. | ||
*/ | ||
function twentytwentyfive_copyright_binding() { | ||
$copyright_text = sprintf( | ||
/* translators: 1: Copyright symbol or word, 2: Year */ | ||
esc_html__( '%1$s %2$s', 'twentytwentyfive' ), | ||
'©', | ||
wp_date( 'Y' ) | ||
); | ||
|
||
return $copyright_text; | ||
} | ||
endif; | ||
add_action( 'init', 'twentytwentyfive_register_block_bindings' ); |
1 change: 1 addition & 0 deletions
1
src/wp-content/themes/twentytwentyfive/parts/footer-newsletter.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- wp:pattern {"slug":"twentytwentyfive/footer-newsletter"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- wp:pattern {"slug":"twentytwentyfive/footer"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- wp:pattern {"slug":"twentytwentyfive/header"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- wp:pattern {"slug":"twentytwentyfive/hidden-sidebar"} /--> |
1 change: 1 addition & 0 deletions
1
src/wp-content/themes/twentytwentyfive/parts/vertical-header.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!-- wp:pattern {"slug":"twentytwentyfive/vertical-header"} /--> |
41 changes: 41 additions & 0 deletions
41
src/wp-content/themes/twentytwentyfive/patterns/banner-about-book.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php | ||
/** | ||
* Title: Banner with book description | ||
* Slug: twentytwentyfive/banner-about-book | ||
* Categories: banner, featured | ||
* Description: Banner with book description and accompanying image for promotion. | ||
* | ||
* @package WordPress | ||
* @subpackage Twenty_Twenty_Five | ||
* @since Twenty Twenty-Five 1.0 | ||
*/ | ||
|
||
?> | ||
|
||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)"> | ||
<!-- wp:columns {"verticalAlignment":null,"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|70"}}}} --> | ||
<div class="wp-block-columns alignwide"> | ||
<!-- wp:column {"verticalAlignment":"center","width":""} --> | ||
<div class="wp-block-column is-vertically-aligned-center"> | ||
<!-- wp:heading {"level":3,"className":"wp-block-heading","fontSize":"xx-large"} --> | ||
<h3 class="wp-block-heading has-xx-large-font-size">About the book</h3> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:paragraph {"fontSize":"medium"} --> | ||
<p class="has-medium-font-size">This exquisite compilation showcases a diverse array of photographs that capture the essence of different eras and cultures, reflecting the unique styles and perspectives of each artist. Fleckenstein’s evocative imagery, Strand’s groundbreaking modernist approach, and Kōno’s meticulous documentation of Japanese life come together in a harmonious blend that celebrates the art of photography. Each image in “The Stories Book” is accompanied by insightful commentary, providing historical context and revealing the stories behind the photographs. This collection is not only a visual feast but also a tribute to the power of photography to preserve and narrate the multifaceted experiences of humanity.</p> | ||
<!-- /wp:paragraph --> | ||
</div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"verticalAlignment":"center","width":"","layout":{"type":"default"}} --> | ||
<div class="wp-block-column is-vertically-aligned-center"> | ||
<!-- wp:image {"aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none"} --> | ||
<figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/book-image-landing.webp" alt="Image of a book" style="aspect-ratio:1;object-fit:cover"/></figure> | ||
<!-- /wp:image --> | ||
</div> | ||
<!-- /wp:column --> | ||
</div> | ||
<!-- /wp:columns --> | ||
</div> | ||
<!-- /wp:group --> |
34 changes: 34 additions & 0 deletions
34
src/wp-content/themes/twentytwentyfive/patterns/banner-cover-big-heading.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
/** | ||
* Title: Cover with big heading | ||
* Slug: twentytwentyfive/banner-cover-big-heading | ||
* Categories: banner, about, featured | ||
* Description: A full-width cover section with a large background image and an oversized heading. | ||
* | ||
* @package WordPress | ||
* @subpackage Twenty_Twenty_Five | ||
* @since Twenty Twenty-Five 1.0 | ||
*/ | ||
|
||
?> | ||
<!-- wp:group {"align":"full","className":"is-style-section-3","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group alignfull is-style-section-3" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)"> | ||
<!-- wp:group {"align":"wide","style":{"spacing":{}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group alignwide"> | ||
<!-- wp:image {"sizeSlug":"full","linkDestination":"none","align":"wide"} --> | ||
<figure class="wp-block-image alignwide size-full"> | ||
<img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/coming-soon-bg-image.webp" alt="Photo of a field full of flowers, a blue sky and a tree." /> | ||
</figure> | ||
<!-- /wp:image --> | ||
|
||
<!-- wp:group {"align":"full","layout":{"type":"default"}} --> | ||
<div class="wp-block-group alignfull"> | ||
<!-- wp:paragraph {"align":"left","style":{"typography":{"fontSize":"clamp(1rem, 380px, 24vw)","letterSpacing":"-0.02em","lineHeight":"1","fontWeight":"700"}}} --> | ||
<p class="has-text-align-left" style="font-size:clamp(1rem, 380px, 24vw);font-weight:700;letter-spacing:-0.02em;line-height:1">Stories</p> | ||
<!-- /wp:paragraph --> | ||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
<!-- /wp:group --> |
52 changes: 52 additions & 0 deletions
52
src/wp-content/themes/twentytwentyfive/patterns/banner-intro-image.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?php | ||
/** | ||
* Title: Short heading and paragraph and image on the left | ||
* Slug: twentytwentyfive/banner-intro-image | ||
* Categories: banner | ||
* Description: A Intro pattern with Short heading, paragraph and image on the left. | ||
* | ||
* @package WordPress | ||
* @subpackage Twenty_Twenty_Five | ||
* @since Twenty Twenty-Five 1.0 | ||
*/ | ||
|
||
?> | ||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)"> | ||
<!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|50"}}}} --> | ||
<div class="wp-block-columns alignwide"> | ||
<!-- wp:column {"width":"56%"} --> | ||
<div class="wp-block-column" style="flex-basis:56%"> | ||
<!-- wp:image {"aspectRatio":"1","scale":"cover","sizeSlug":"full"} --> | ||
<figure class="wp-block-image size-full"> | ||
<img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/botany-flowers.webp" alt="<?php echo esc_attr_x( 'Picture of a flower', 'Alt text for intro picture', 'twentytwentyfive' ); ?>" style="aspect-ratio:1;object-fit:cover" /> | ||
</figure> | ||
<!-- /wp:image --> | ||
</div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"verticalAlignment":"center","style":{"spacing":{"blockGap":"var:preset|spacing|40"}}} --> | ||
<div class="wp-block-column is-vertically-aligned-center"> | ||
<!-- wp:heading --> | ||
<h2 class="wp-block-heading"><?php echo esc_html_x( 'New arrivals', 'Heading for banner with flower', 'twentytwentyfive' ); ?></h2> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:paragraph --> | ||
<p><?php echo esc_html_x( 'Like flowers that bloom in unexpected places, every story unfolds with beauty and resilience, revealing hidden wonders.', 'Sample description for banner with flower', 'twentytwentyfive' ); ?></p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:buttons --> | ||
<div class="wp-block-buttons"> | ||
<!-- wp:button --> | ||
<div class="wp-block-button"> | ||
<a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'Learn More', 'Button text of intro section', 'twentytwentyfive' ); ?></a> | ||
</div> | ||
<!-- /wp:button --> | ||
</div> | ||
<!-- /wp:buttons --> | ||
</div> | ||
<!-- /wp:column --> | ||
</div> | ||
<!-- /wp:columns --> | ||
</div> | ||
<!-- /wp:group --> |
28 changes: 28 additions & 0 deletions
28
src/wp-content/themes/twentytwentyfive/patterns/banner-intro.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
/** | ||
* Title: Intro with left-aligned description | ||
* Slug: twentytwentyfive/banner-intro | ||
* Categories: banner, featured | ||
* Description: A large left-aligned heading with a brand name emphasized in bold. | ||
* | ||
* @package WordPress | ||
* @subpackage Twenty_Twenty_Five | ||
* @since Twenty Twenty-Five 1.0 | ||
*/ | ||
|
||
?> | ||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)"> | ||
<!-- wp:heading {"align":"wide","fontSize":"x-large"} --> | ||
<h2 class="wp-block-heading alignwide has-x-large-font-size"> | ||
<?php | ||
printf( | ||
/* translators: %1$s is the brand name, e.g., 'Fleurs'. */ | ||
esc_html_x( 'We\'re %1$s, our mission is to deliver exquisite flower arrangements that not only adorn living spaces but also inspire a deeper appreciation for natural beauty.', 'Example pattern text', 'twentytwentyfive' ), | ||
'<strong>' . esc_html_x( 'Fleurs', 'Example brand name in pattern', 'twentytwentyfive' ) . '</strong>' | ||
); | ||
?> | ||
</h2> | ||
<!-- /wp:heading --> | ||
</div> | ||
<!-- /wp:group --> |
Oops, something went wrong.