-
Notifications
You must be signed in to change notification settings - Fork 351
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
c5840a8
commit 934bc71
Showing
42 changed files
with
1,913 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,60 @@ | ||
<?php | ||
/** | ||
* Fictionary functions and definitions | ||
* | ||
* @link https://developer.wordpress.org/themes/basics/theme-functions/ | ||
* | ||
* @package Fictionary | ||
* @since Fictionary 1.0 | ||
*/ | ||
|
||
|
||
if ( ! function_exists( 'fictionary_support' ) ) : | ||
|
||
/** | ||
* Sets up theme defaults and registers support for various WordPress features. | ||
* | ||
* @since Fictionary 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function fictionary_support() { | ||
|
||
// Enqueue editor styles. | ||
add_editor_style( 'style.css' ); | ||
|
||
// Make theme available for translation. | ||
load_theme_textdomain( 'fictionary' ); | ||
} | ||
|
||
endif; | ||
|
||
add_action( 'after_setup_theme', 'fictionary_support' ); | ||
|
||
if ( ! function_exists( 'fictionary_styles' ) ) : | ||
|
||
/** | ||
* Enqueue styles. | ||
* | ||
* @since Fictionary 1.0 | ||
* | ||
* @return void | ||
*/ | ||
function fictionary_styles() { | ||
|
||
// Register theme stylesheet. | ||
wp_register_style( | ||
'fictionary-style', | ||
get_stylesheet_directory_uri() . '/style.css', | ||
array(), | ||
wp_get_theme()->get( 'Version' ) | ||
); | ||
|
||
// Enqueue theme stylesheet. | ||
wp_enqueue_style( 'fictionary-style' ); | ||
|
||
} | ||
|
||
endif; | ||
|
||
add_action( 'wp_enqueue_scripts', 'fictionary_styles' ); |
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,15 @@ | ||
<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} --> | ||
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:group {"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"0"},"blockGap":"var:preset|spacing|20"}}} --> | ||
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:0"><!-- wp:paragraph {"align":"center","style":{"typography":{"fontStyle":"normal","fontWeight":"200","letterSpacing":"0px","textTransform":"uppercase"}},"fontSize":"large","fontFamily":"newsreader"} --> | ||
<p class="has-text-align-center has-newsreader-font-family has-large-font-size" style="font-style:normal;font-weight:200;letter-spacing:0px;text-transform:uppercase">FICTIONARY © All Rights Reserved</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"0.8rem"}}} --> | ||
<p class="has-text-align-center" style="font-size:0.8rem">Designed with <a href="https://wordpress.org" rel="nofollow">WordPress</a></p> | ||
<!-- /wp:paragraph --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> |
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,17 @@ | ||
<!-- wp:columns {"verticalAlignment":null,"isStackedOnMobile":false,"style":{"spacing":{"padding":{"right":"4vw","left":"4vw"},"blockGap":{"left":"var:preset|spacing|40"}}}} --> | ||
<div class="wp-block-columns is-not-stacked-on-mobile" style="padding-right:4vw;padding-left:4vw"><!-- wp:column {"verticalAlignment":"top","width":"20%"} --> | ||
<div class="wp-block-column is-vertically-aligned-top" style="flex-basis:20%"><!-- wp:site-logo {"width":20} /--></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"verticalAlignment":"center","width":"60%"} --> | ||
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:60%"><!-- wp:site-title {"textAlign":"center"} /--></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"width":"20%"} --> | ||
<div class="wp-block-column" style="flex-basis:20%"><!-- wp:navigation {"ref":4,"overlayMenu":"always","overlayBackgroundColor":"tertiary","overlayTextColor":"contrast","layout":{"type":"flex","justifyContent":"right"},"fontSize":"large","fontFamily":"newsreader"} /--></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --> | ||
|
||
<!-- wp:spacer {"height":"80px"} --> | ||
<div style="height:80px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> |
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,9 @@ | ||
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"default"}} --> | ||
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)"><!-- wp:query-pagination {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} --> | ||
<!-- wp:query-pagination-previous {"label":"Newer Posts"} /--> | ||
|
||
<!-- wp:query-pagination-numbers /--> | ||
|
||
<!-- wp:query-pagination-next {"label":"Older Posts"} /--> | ||
<!-- /wp:query-pagination --></div> | ||
<!-- /wp:group --> |
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,5 @@ | ||
<!-- wp:group {"style":{"spacing":{"blockGap":"0.5rem"}},"layout":{"type":"flex","flexWrap":"nowrap"}} --> | ||
<div class="wp-block-group"><!-- wp:post-terms {"term":"category","prefix":"Topic: "} /--> | ||
|
||
<!-- wp:post-terms {"term":"post_tag","prefix":"Tags: "} /--></div> | ||
<!-- /wp:group --> |
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,16 @@ | ||
<?php | ||
/** | ||
* Title: A 404 page | ||
* Slug: fictionary/404 | ||
* Inserter: no | ||
*/ | ||
|
||
?> | ||
|
||
<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"x-large"} --> | ||
<h1 class="has-text-align-center has-x-large-font-size" id="oops-that-page-can-t-be-found"><?php echo esc_html__( 'Oops! That page can’t be found.', 'fictionary' ); ?></h1> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:paragraph --> | ||
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'fictionary' ); ?></p> | ||
<!-- /wp:paragraph --> |
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: Comments | ||
* slug: fictionary/comments | ||
* inserter: no | ||
*/ | ||
|
||
?> | ||
|
||
<!-- wp:comments {"className":"wp-block-comments-query-loop"} --> | ||
<div class="wp-block-comments wp-block-comments-query-loop"> | ||
<!-- wp:comments-title {"level":3} /--> | ||
|
||
<!-- wp:comment-template --> | ||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|50"}}}} --> | ||
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--50)"> | ||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"},"style":{"spacing":{"blockGap":"0.5em"}}} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:avatar {"size":40,"style":{"spacing":{"margin":{"top":"0.5em"}}}} /--> | ||
|
||
<!-- wp:group --> | ||
<div class="wp-block-group"> | ||
<!-- wp:comment-author-name /--> | ||
|
||
<!-- wp:group {"layout":{"type":"flex"},"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5em"}}} --> | ||
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px"> | ||
<!-- wp:comment-date {"format":"F j, Y \\a\\t g:i a"} /--> | ||
|
||
<!-- wp:comment-edit-link /--> | ||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:comment-content /--> | ||
|
||
<!-- wp:comment-reply-link /--> | ||
</div> | ||
<!-- /wp:group --> | ||
<!-- /wp:comment-template --> | ||
|
||
<!-- wp:comments-pagination --> | ||
<!-- wp:comments-pagination-previous /--> | ||
<!-- wp:comments-pagination-numbers /--> | ||
<!-- wp:comments-pagination-next /--> | ||
<!-- /wp:comments-pagination --> | ||
|
||
<!-- wp:post-comments-form /--> | ||
</div> | ||
<!-- /wp:comments --> |
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,33 @@ | ||
<?php | ||
/** | ||
* Title: Default footer | ||
* Slug: fictionary/footer | ||
* Categories: footer | ||
* Block Types: core/template-part/footer | ||
*/ | ||
?> | ||
|
||
<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} --> | ||
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:group {"layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var(--wp--preset--spacing--60)","bottom":"var(--wp--preset--spacing--60)"}}}} --> | ||
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"> | ||
<!-- wp:paragraph {"align":"center"} --> | ||
<p class="has-text-align-center"> | ||
<?php | ||
/* Translators: WordPress link. */ | ||
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'fictionary' ) ) . '" rel="nofollow">WordPress</a>'; | ||
echo sprintf( | ||
esc_html__( 'Designed with %1$s', 'fictionary' ), | ||
$wordpress_link | ||
); | ||
?> | ||
</p> | ||
<!-- /wp:paragraph --> | ||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
<!-- /wp:group --> |
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,10 @@ | ||
<?php | ||
/** | ||
* Title: Hidden No Results Content | ||
* Slug: fictionary/hidden-no-results-content | ||
* Inserter: no | ||
*/ | ||
?> | ||
<!-- wp:paragraph --> | ||
<p><?php echo esc_html_x( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'fictionary' ); ?></p> | ||
<!-- /wp:paragraph --> |
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,56 @@ | ||
=== Fictionary === | ||
Contributors: Automattic | ||
Requires at least: 6.0 | ||
Tested up to: 6.4.2 | ||
Requires PHP: 5.7 | ||
License: GPLv2 or later | ||
License URI: http://www.gnu.org/licenses/gpl-2.0.html | ||
|
||
== Description == | ||
|
||
Fictionary is a typography based, opinionated blogging theme. | ||
|
||
== Changelog == | ||
|
||
= 1.0.0 = | ||
* Initial release | ||
|
||
== Copyright == | ||
|
||
Fictionary is based on Block Canvas (https://github.com/Automattic/themes/tree/trunk/block-canvas), (C) Automattic, [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html) | ||
|
||
Block Canvas WordPress Theme, (C) 2022 Automattic | ||
Block Canvas is distributed under the terms of the GNU GPL. | ||
|
||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 2 of the License, or | ||
(at your option) any later version. | ||
|
||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
|
||
Newsreader Font | ||
Copyright 2020 The Newsreader Project Authors (http://github.com/productiontype/Newsreader) | ||
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL | ||
License URL: http://scripts.sil.org/OFL | ||
Source: http://www.productiontype.com/ | ||
-- End of Newsreader Font credits -- | ||
|
||
Inter Font | ||
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter) | ||
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL | ||
License URL: http://scripts.sil.org/OFL | ||
Source: https://rsms.me/ | ||
-- End of Inter Font credits -- | ||
|
||
Images: | ||
|
||
All images are in the Public Domain | ||
fictionary_post_5.jpg: https://www.rawpixel.com/image/8799592/photo-image-public-domain-person | ||
fictionary_post_4.jpg: https://www.rawpixel.com/image/5919341/free-empty-road-image-public-domain-cc0-photo | ||
fictionary_post_3.jpg: https://www.rawpixel.com/image/3285420/free-photo-image-lake-house-cabin | ||
fictionary_post_2.jpg: https://www.rawpixel.com/image/5925727/photo-image-cloud-public-domain-sky | ||
fictionary_post_1.jpg: https://stocksnap.io/photo/space-rocket-M2IXWNZDKT |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,36 @@ | ||
/* | ||
Theme Name: Fictionary | ||
Theme URI: | ||
Author: Automattic | ||
Author URI: https://automattic.com | ||
Description: Fictionary is a typography based, opinionated blogging theme. | ||
Requires at least: 6.0 | ||
Tested up to: 6.4.2 | ||
Requires PHP: 5.7 | ||
Version: 1.0.0 | ||
License: GNU General Public License v2 or later | ||
License URI: http://www.gnu.org/licenses/gpl-2.0.html | ||
Text Domain: fictionary | ||
Tags: blog, news, one-column, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, writing, words, fiction, stories, yellow | ||
*/ | ||
|
||
/* | ||
* Control the hover stylings of outline block style. | ||
* Unnecessary once block styles are configurable via theme.json | ||
* https://github.com/WordPress/gutenberg/issues/42794 | ||
*/ | ||
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover { | ||
background-color: var(--wp--preset--color--secondary); | ||
color: var(--wp--preset--color--base); | ||
border-color: var(--wp--preset--color--secondary); | ||
} | ||
|
||
/* | ||
* Link styles | ||
* https://github.com/WordPress/gutenberg/issues/42319 | ||
*/ | ||
a { | ||
text-decoration-thickness: 0.8px !important; | ||
text-underline-offset: .1em; | ||
text-decoration-style: dotted; | ||
} |
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,46 @@ | ||
{ | ||
"settings": { | ||
"color": { | ||
"duotone": [ | ||
{ | ||
"colors": [ | ||
"#000000", | ||
"#e0fae2" | ||
], | ||
"name": "Default filter", | ||
"slug": "default-filter" | ||
} | ||
], | ||
"palette": [ | ||
{ | ||
"color": "#e0fae2", | ||
"name": "Base", | ||
"slug": "base" | ||
}, | ||
{ | ||
"color": "#000000", | ||
"name": "Contrast", | ||
"slug": "contrast" | ||
}, | ||
{ | ||
"color": "#000000", | ||
"name": "Primary", | ||
"slug": "primary" | ||
}, | ||
{ | ||
"color": "#000000", | ||
"name": "Secondary", | ||
"slug": "secondary" | ||
}, | ||
{ | ||
"color": "#effef0", | ||
"name": "Tertiary", | ||
"slug": "tertiary" | ||
} | ||
] | ||
} | ||
}, | ||
"title": "Bay", | ||
"version": 2, | ||
"$schema": "https://schemas.wp.org/trunk/theme.json" | ||
} |
Oops, something went wrong.