-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3837ed0
commit c275ae5
Showing
233 changed files
with
15,050 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,97 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta name="viewport" content="width=device-width" /> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<title>WordPress › ReadMe</title> | ||
<link rel="stylesheet" href="wp-admin/css/install.css?ver=20100228" type="text/css" /> | ||
</head> | ||
<body> | ||
<h1 id="logo"> | ||
<a href="https://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a> | ||
</h1> | ||
<p style="text-align: center">Semantic Personal Publishing Platform</p> | ||
|
||
<h2>First Things First</h2> | ||
<p>Welcome. WordPress is a very special project to me. Every developer and contributor adds something unique to the mix, and together we create something beautiful that I am proud to be a part of. Thousands of hours have gone into WordPress, and we are dedicated to making it better every day. Thank you for making it part of your world.</p> | ||
<p style="text-align: right">— Matt Mullenweg</p> | ||
|
||
<h2>Installation: Famous 5-minute install</h2> | ||
<ol> | ||
<li>Unzip the package in an empty directory and upload everything.</li> | ||
<li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser. It will take you through the process to set up a <code>wp-config.php</code> file with your database connection details. | ||
<ol> | ||
<li>If for some reason this does not work, do not worry. It may not work on all web hosts. Open up <code>wp-config-sample.php</code> with a text editor like WordPad or similar and fill in your database connection details.</li> | ||
<li>Save the file as <code>wp-config.php</code> and upload it.</li> | ||
<li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser.</li> | ||
</ol> | ||
</li> | ||
<li>Once the configuration file is set up, the installer will set up the tables needed for your site. If there is an error, double check your <code>wp-config.php</code> file, and try again. If it fails again, please go to the <a href="https://wordpress.org/support/forums/">WordPress support forums</a> with as much data as you can gather.</li> | ||
<li><strong>If you did not enter a password, note the password given to you.</strong> If you did not provide a username, it will be <code>admin</code>.</li> | ||
<li>The installer should then send you to the <a href="wp-login.php">login page</a>. Sign in with the username and password you chose during the installation. If a password was generated for you, you can then click on “Profile” to change the password.</li> | ||
</ol> | ||
|
||
<h2>Updating</h2> | ||
<h3>Using the Automatic Updater</h3> | ||
<ol> | ||
<li>Open <span class="file"><a href="wp-admin/update-core.php">wp-admin/update-core.php</a></span> in your browser and follow the instructions.</li> | ||
<li>You wanted more, perhaps? That’s it!</li> | ||
</ol> | ||
|
||
<h3>Updating Manually</h3> | ||
<ol> | ||
<li>Before you update anything, make sure you have backup copies of any files you may have modified such as <code>index.php</code>.</li> | ||
<li>Delete your old WordPress files, saving ones you’ve modified.</li> | ||
<li>Upload the new files.</li> | ||
<li>Point your browser to <span class="file"><a href="wp-admin/upgrade.php">/wp-admin/upgrade.php</a>.</span></li> | ||
</ol> | ||
|
||
<h2>Migrating from other systems</h2> | ||
<p>WordPress can <a href="https://developer.wordpress.org/advanced-administration/wordpress/import/">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php">our import tools</a>.</p> | ||
|
||
<h2>System Requirements</h2> | ||
<ul> | ||
<li><a href="https://www.php.net/">PHP</a> version <strong>7.2.24</strong> or greater.</li> | ||
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.5.5</strong> or greater.</li> | ||
</ul> | ||
|
||
<h3>Recommendations</h3> | ||
<ul> | ||
<li><a href="https://www.php.net/">PHP</a> version <strong>7.4</strong> or greater.</li> | ||
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>8.0</strong> or greater OR <a href="https://mariadb.org/">MariaDB</a> version <strong>10.5</strong> or greater.</li> | ||
<li>The <a href="https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li> | ||
<li><a href="https://wordpress.org/news/2016/12/moving-toward-ssl/">HTTPS</a> support.</li> | ||
<li>A link to <a href="https://wordpress.org/">wordpress.org</a> on your site.</li> | ||
</ul> | ||
|
||
<h2>Online Resources</h2> | ||
<p>If you have any questions that are not addressed in this document, please take advantage of WordPress’ numerous online resources:</p> | ||
<dl> | ||
<dt><a href="https://wordpress.org/documentation/">HelpHub</a></dt> | ||
<dd>HelpHub is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.</dd> | ||
<dt><a href="https://wordpress.org/news/">The WordPress Blog</a></dt> | ||
<dd>This is where you’ll find the latest updates and news related to WordPress. Recent WordPress news appears in your administrative dashboard by default.</dd> | ||
<dt><a href="https://planet.wordpress.org/">WordPress Planet</a></dt> | ||
<dd>The WordPress Planet is a news aggregator that brings together posts from WordPress blogs around the web.</dd> | ||
<dt><a href="https://wordpress.org/support/forums/">WordPress Support Forums</a></dt> | ||
<dd>If you’ve looked everywhere and still cannot find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.</dd> | ||
<dt><a href="https://make.wordpress.org/support/handbook/appendix/other-support-locations/introduction-to-irc/">WordPress <abbr>IRC</abbr> (Internet Relay Chat) Channel</a></dt> | ||
<dd>There is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (<a href="https://web.libera.chat/#wordpress">irc.libera.chat #wordpress</a>)</dd> | ||
</dl> | ||
|
||
<h2>Final Notes</h2> | ||
<ul> | ||
<li>If you have any suggestions, ideas, or comments, or if you (gasp!) found a bug, join us in the <a href="https://wordpress.org/support/forums/">Support Forums</a>.</li> | ||
<li>WordPress has a robust plugin <abbr>API</abbr> (Application Programming Interface) that makes extending the code easy. If you are a developer interested in utilizing this, see the <a href="https://developer.wordpress.org/plugins/">Plugin Developer Handbook</a>. You shouldn’t modify any of the core code.</li> | ||
</ul> | ||
|
||
<h2>Share the Love</h2> | ||
<p>WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better—you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgeable than yourself, or writing the author of a media article that overlooks us.</p> | ||
|
||
<p>WordPress is the official continuation of <a href="https://cafelog.com/">b2/cafélog</a>, which came from Michel V. The work has been continued by the <a href="https://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="https://wordpress.org/donate/">donating</a>.</p> | ||
|
||
<h2>License</h2> | ||
<p>WordPress is free software, and is released under the terms of the <abbr>GPL</abbr> (GNU General Public License) version 2 or (at your option) any later version. See <a href="license.txt">license.txt</a>.</p> | ||
|
||
</body> | ||
</html> |
8 changes: 8 additions & 0 deletions
8
www/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
www/wp-content/themes/twentytwentyfive/assets/fonts/beiruti/Beiruti-VariableFont_wght.woff2
Binary file not shown.
Binary file added
BIN
+104 KB
...p-content/themes/twentytwentyfive/assets/fonts/fira-code/FiraCode-VariableFont_wght.woff2
Binary file not shown.
Binary file added
BIN
+150 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Black.woff2
Binary file not shown.
Binary file added
BIN
+162 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-BlackItalic.woff2
Binary file not shown.
Binary file added
BIN
+151 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Bold.woff2
Binary file not shown.
Binary file added
BIN
+161 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-BoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+152 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-ExtraBold.woff2
Binary file not shown.
Binary file added
BIN
+167 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-ExtraBoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+141 KB
www/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
www/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Italic.woff2
Binary file not shown.
Binary file added
BIN
+142 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Light.woff2
Binary file not shown.
Binary file added
BIN
+150 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-LightItalic.woff2
Binary file not shown.
Binary file added
BIN
+145 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Medium.woff2
Binary file not shown.
Binary file added
BIN
+154 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-MediumItalic.woff2
Binary file not shown.
Binary file added
BIN
+142 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Regular.woff2
Binary file not shown.
Binary file added
BIN
+151 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-SemiBold.woff2
Binary file not shown.
Binary file added
BIN
+161 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-SemiBoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+137 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-Thin.woff2
Binary file not shown.
Binary file added
BIN
+145 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/fira-sans/FiraSans-ThinItalic.woff2
Binary file not shown.
Binary file added
BIN
+104 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-Black.woff2
Binary file not shown.
Binary file added
BIN
+106 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-BlackItalic.woff2
Binary file not shown.
Binary file added
BIN
+105 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-Bold.woff2
Binary file not shown.
Binary file added
BIN
+108 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-BoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+108 KB
www/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
www/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
www/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-Light.woff2
Binary file not shown.
Binary file added
BIN
+103 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-LightItalic.woff2
Binary file not shown.
Binary file added
BIN
+104 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-Medium.woff2
Binary file not shown.
Binary file added
BIN
+106 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/literata/Literata72pt-MediumItalic.woff2
Binary file not shown.
Binary file added
BIN
+91.9 KB
www/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
www/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
+52.3 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/manrope/Manrope-VariableFont_wght.woff2
Binary file not shown.
Binary file added
BIN
+70.1 KB
...ntent/themes/twentytwentyfive/assets/fonts/platypi/Platypi-Italic-VariableFont_wght.woff2
Binary file not shown.
Binary file added
BIN
+69.5 KB
www/wp-content/themes/twentytwentyfive/assets/fonts/platypi/Platypi-VariableFont_wght.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
+160 KB
...ent/themes/twentytwentyfive/assets/fonts/vollkorn/Vollkorn-Italic-VariableFont_wght.woff2
Binary file not shown.
Binary file added
BIN
+189 KB
...wp-content/themes/twentytwentyfive/assets/fonts/vollkorn/Vollkorn-VariableFont_wght.woff2
Binary file not shown.
Binary file added
BIN
+129 KB
...twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-Italic-VariableFont_wght.woff2
Binary file not shown.
Binary file added
BIN
+163 KB
...themes/twentytwentyfive/assets/fonts/ysabeau-office/YsabeauOffice-VariableFont_wght.woff2
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+14.2 KB
www/wp-content/themes/twentytwentyfive/assets/images/agenda-img-4.webp
Binary file not shown.
Binary file added
BIN
+5.97 KB
www/wp-content/themes/twentytwentyfive/assets/images/akaka-falls-state-park-flora.webp
Binary file not shown.
Binary file added
BIN
+19.3 KB
www/wp-content/themes/twentytwentyfive/assets/images/book-image-landing.webp
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+58.8 KB
www/wp-content/themes/twentytwentyfive/assets/images/botany-flowers-closeup.webp
Binary file not shown.
Binary file added
BIN
+97.5 KB
www/wp-content/themes/twentytwentyfive/assets/images/botany-flowers.webp
Binary file not shown.
Binary file added
BIN
+41.1 KB
www/wp-content/themes/twentytwentyfive/assets/images/campanula-alliariifolia-flower.webp
Binary file not shown.
Binary file added
BIN
+26.8 KB
www/wp-content/themes/twentytwentyfive/assets/images/category-anthuriums.webp
Binary file not shown.
Binary file added
BIN
+50.7 KB
www/wp-content/themes/twentytwentyfive/assets/images/category-cactus.webp
Binary file not shown.
Binary file added
BIN
+18.1 KB
www/wp-content/themes/twentytwentyfive/assets/images/category-sunflowers.webp
Binary file not shown.
Binary file added
BIN
+86.5 KB
www/wp-content/themes/twentytwentyfive/assets/images/coming-soon-bg-image.webp
Binary file not shown.
Binary file added
BIN
+26.9 KB
www/wp-content/themes/twentytwentyfive/assets/images/coral-square.webp
Binary file not shown.
Binary file added
BIN
+7.59 KB
www/wp-content/themes/twentytwentyfive/assets/images/dallas-creek-square.webp
Binary file not shown.
Binary file added
BIN
+41.2 KB
www/wp-content/themes/twentytwentyfive/assets/images/delphinium-flowers.webp
Binary file not shown.
Binary file added
BIN
+29.2 KB
www/wp-content/themes/twentytwentyfive/assets/images/flower-meadow-square.webp
Binary file not shown.
Binary file added
BIN
+19.2 KB
www/wp-content/themes/twentytwentyfive/assets/images/grid-flower-1.webp
Binary file not shown.
Binary file added
BIN
+80.7 KB
www/wp-content/themes/twentytwentyfive/assets/images/grid-flower-2.webp
Binary file not shown.
Binary file added
BIN
+59.4 KB
www/wp-content/themes/twentytwentyfive/assets/images/hero-podcast.webp
Binary file not shown.
Binary file added
BIN
+110 KB
www/wp-content/themes/twentytwentyfive/assets/images/link-in-bio-background.webp
Binary file not shown.
Binary file added
BIN
+93.4 KB
www/wp-content/themes/twentytwentyfive/assets/images/link-in-bio-image.webp
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+5.07 KB
www/wp-content/themes/twentytwentyfive/assets/images/malibu-plantlife.webp
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+5.75 KB
www/wp-content/themes/twentytwentyfive/assets/images/marshland-birds-square.webp
Binary file not shown.
Binary file added
BIN
+35 KB
www/wp-content/themes/twentytwentyfive/assets/images/northern-buttercups-flowers.webp
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+35.3 KB
www/wp-content/themes/twentytwentyfive/assets/images/parthenon-square.webp
Binary file not shown.
Binary file added
BIN
+218 KB
www/wp-content/themes/twentytwentyfive/assets/images/poster-image-background.webp
Binary file not shown.
Binary file added
BIN
+55.5 KB
www/wp-content/themes/twentytwentyfive/assets/images/red-hibiscus-closeup.webp
Binary file not shown.
Binary file added
BIN
+66.8 KB
www/wp-content/themes/twentytwentyfive/assets/images/ruins-image.webp
Binary file not shown.
Binary file added
BIN
+51.3 KB
www/wp-content/themes/twentytwentyfive/assets/images/services-subscriber-photo.webp
Binary file not shown.
Binary file added
BIN
+20.8 KB
www/wp-content/themes/twentytwentyfive/assets/images/star-thristle-flower.webp
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+27.6 KB
www/wp-content/themes/twentytwentyfive/assets/images/vash-gon-square.webp
Binary file not shown.
Binary file added
BIN
+56.4 KB
www/wp-content/themes/twentytwentyfive/assets/images/woman-splashing-water.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,158 @@ | ||
<?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( 'aside', 'audio', 'chat', 'gallery', 'image', 'link', 'quote', 'status', '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 formats', '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 post format block binding source. | ||
* | ||
* @since Twenty Twenty-Five 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function twentytwentyfive_register_block_bindings() { | ||
register_block_bindings_source( | ||
'twentytwentyfive/format', | ||
array( | ||
'label' => _x( 'Post format name', 'Label for the block binding placeholder in the editor', 'twentytwentyfive' ), | ||
'get_value_callback' => 'twentytwentyfive_format_binding', | ||
) | ||
); | ||
} | ||
endif; | ||
add_action( 'init', 'twentytwentyfive_register_block_bindings' ); | ||
|
||
// Registers block binding callback function for the post format name. | ||
if ( ! function_exists( 'twentytwentyfive_format_binding' ) ) : | ||
/** | ||
* Callback function for the post format name block binding source. | ||
* | ||
* @since Twenty Twenty-Five 1.0 | ||
* | ||
* @return string|void Post format name, or nothing if the format is 'standard'. | ||
*/ | ||
function twentytwentyfive_format_binding() { | ||
$post_format_slug = get_post_format(); | ||
|
||
if ( $post_format_slug && 'standard' !== $post_format_slug ) { | ||
return get_post_format_string( $post_format_slug ); | ||
} | ||
} | ||
endif; |
1 change: 1 addition & 0 deletions
1
www/wp-content/themes/twentytwentyfive/parts/footer-columns.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-columns"} /--> |
1 change: 1 addition & 0 deletions
1
www/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"} /--> |
1 change: 1 addition & 0 deletions
1
www/wp-content/themes/twentytwentyfive/parts/header-large-title.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/header-large-title"} /--> |
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
www/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
www/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 | ||
* 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"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;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 {"className":"wp-block-heading","fontSize":"xx-large"} --> | ||
<h2 class="wp-block-heading has-xx-large-font-size"><?php esc_html_e( 'About the book', 'twentytwentyfive' ); ?></h2> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:paragraph {"fontSize":"medium"} --> | ||
<p class="has-medium-font-size"><?php echo esc_html_x( '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.', 'Pattern placeholder text.', 'twentytwentyfive' ); ?></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="<?php esc_attr_e( 'Image of a book', 'twentytwentyfive' ); ?>" style="aspect-ratio:1;object-fit:cover"/></figure> | ||
<!-- /wp:image --> | ||
</div> | ||
<!-- /wp:column --> | ||
</div> | ||
<!-- /wp:columns --> | ||
</div> | ||
<!-- /wp:group --> |
35 changes: 35 additions & 0 deletions
35
www/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,35 @@ | ||
<?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"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group alignfull is-style-section-3" style="margin-top:0;margin-bottom:0;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="<?php esc_attr_e( 'Photo of a field full of flowers, a blue sky and a tree.', 'twentytwentyfive' ); ?>"/> | ||
</figure> | ||
<!-- /wp:image --> | ||
|
||
<!-- wp:group {"align":"full","layout":{"type":"default"}} --> | ||
<div class="wp-block-group alignfull"> | ||
<!-- wp:heading {"align":"left","style":{"typography":{"fontSize":"clamp(1rem, 380px, 24vw)","letterSpacing":"-0.02em","lineHeight":"1","fontWeight":"700","fontStyle":"normal"}}} --> | ||
<h2 class="wp-block-heading has-text-align-left" style="font-size:clamp(1rem, 380px, 24vw);font-style:normal;font-weight:700;letter-spacing:-0.02em;line-height:1"><?php echo esc_html_e( 'Stories', 'twentytwentyfive' ); ?></h2> | ||
<!-- /wp:heading --> | ||
|
||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
<!-- /wp:group --> |
Oops, something went wrong.