├── screenshot.jpg
├── assets
└── fonts
│ └── pt-serif
│ ├── pt-serif-v17-latin-700.woff2
│ ├── pt-serif-v17-latin-italic.woff2
│ ├── pt-serif-v17-latin-regular.woff2
│ └── pt-serif-v17-latin-700italic.woff2
├── templates
├── index.html
├── page.html
├── 404.html
├── search.html
├── archive.html
└── single.html
├── functions.php
├── parts
├── header.html
├── footer.html
└── loop.html
├── README.md
├── style.css
├── readme.txt
└── theme.json
/screenshot.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andersnoren/davis-blocks/HEAD/screenshot.jpg
--------------------------------------------------------------------------------
/assets/fonts/pt-serif/pt-serif-v17-latin-700.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andersnoren/davis-blocks/HEAD/assets/fonts/pt-serif/pt-serif-v17-latin-700.woff2
--------------------------------------------------------------------------------
/assets/fonts/pt-serif/pt-serif-v17-latin-italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andersnoren/davis-blocks/HEAD/assets/fonts/pt-serif/pt-serif-v17-latin-italic.woff2
--------------------------------------------------------------------------------
/assets/fonts/pt-serif/pt-serif-v17-latin-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andersnoren/davis-blocks/HEAD/assets/fonts/pt-serif/pt-serif-v17-latin-regular.woff2
--------------------------------------------------------------------------------
/assets/fonts/pt-serif/pt-serif-v17-latin-700italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/andersnoren/davis-blocks/HEAD/assets/fonts/pt-serif/pt-serif-v17-latin-700italic.woff2
--------------------------------------------------------------------------------
/templates/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/templates/page.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/templates/404.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Page Not Found
8 |
9 |
10 |
11 | The page you are looking for could not be found. It might have been deleted, renamed, or it did not exist in the first place. You can search the site below, or return to the front page.
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/templates/search.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/functions.php:
--------------------------------------------------------------------------------
1 | get( 'Version' ) );
19 | }
20 | add_action( 'wp_enqueue_scripts', 'davis_blocks_styles' );
21 |
22 |
23 | /* -----------------------------------------------------------------------------------------------
24 | REGISTER BLOCK STYLES
25 | --------------------------------------------------------------------------------------------------- */
26 |
27 | function davis_blocks_register_block_styles() {
28 | register_block_style( 'core/separator', array(
29 | 'name' => 'davis-separator',
30 | 'label' => esc_html__( 'Diamonds', 'davis-blocks' ),
31 | ) );
32 | }
33 | add_action( 'init', 'davis_blocks_register_block_styles' );
34 |
--------------------------------------------------------------------------------
/parts/header.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/parts/footer.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
© 2023
12 |
13 |
14 |
15 |
16 |
17 |
18 |
Theme by Anders Norén
19 |
20 |
21 |
--------------------------------------------------------------------------------
/templates/archive.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Davis Blocks
2 |
3 | Davis Blocks is a clean, simple and fast block theme built for Full Site Editing. It can be used out of the box as a lightweight blog theme, or as a foundation for greater things when customized in the Site Editor.
4 |
5 | 
6 |
7 | You can download the latest stable release of Davis Blocks [from WordPress.org](https://wordpress.org/themes/davis-blocks/).
8 |
9 | ## Installing Davis Blocks
10 | 1. Download the latest stable version of Davis Blocks through the link above, unzip it and upload the theme folder to `wp-content/themes/` in your WordPress installation. You can also install it through Themes → Add New in your WordPress installation.
11 | 2. Activate the theme.
12 |
13 | ## Contributing
14 | Do you have a bug report or feature request? Feel free to create an issue, and I’ll take a look at it. You can also create a pull request if you have a solution ready.
15 |
16 | Keep in mind that I maintain my themes in my spare time. Even though I deeply appreciate any and all contributions, I can’t guarantee I’ll take a look at them quickly.
17 |
18 | ## Buy me a coffee
19 | Do you want to support the continued development of Davis Blocks? You can send me a PayPal donation [here](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=anders%40andersnoren%2ese&lc=US&item_name=Free%20WordPress%20Themes%20from%20Anders%20Noren¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted).
20 |
21 | ## Requirements
22 | - WordPress 6.0+
23 | - PHP 5.6+
24 | - License: [GPLv2](https://www.gnu.org/licenses/gpl-2.0.html) or later
25 |
26 | ## Resources
27 | - [About Davis Blocks](https://andersnoren.se/teman/davis-blocks-wordpress-theme/)
28 | - [Davis Blocks demo site](https://wp-themes.com/davis-blocks/)
29 |
--------------------------------------------------------------------------------
/parts/loop.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/style.css:
--------------------------------------------------------------------------------
1 | /* ---------------------------------------------------------------------------------------------
2 |
3 | Theme Name: Davis Blocks
4 | Text Domain: davis-blocks
5 | Version: 0.2.3
6 | Description: Davis Blocks is a clean, simple and fast block theme built for Full Site Editing. It can be used out of the box as a lightweight blog theme, or as a foundation for greater things when customized in the Site Editor.
7 | Tags: blog, one-column, custom-background, custom-colors, custom-menu, editor-style, featured-images, sticky-post, threaded-comments, translation-ready, block-styles, wide-blocks, full-site-editing
8 | Author: Anders Norén
9 | Author URI: https://andersnoren.se
10 | Theme URI: https://andersnoren.se/teman/davis-blocks-wordpress-theme/
11 | License: GNU General Public License version 2.0
12 | License URI: https://gnu.org/licenses/gpl-2.0.html
13 | Requires PHP: 5.6
14 | Tested up to: 6.5
15 |
16 | /* --------------------------------------------------------------------------------------------- */
17 |
18 | body {
19 | -moz-osx-font-smoothing: grayscale;
20 | -webkit-font-smoothing: antialiased;
21 | }
22 |
23 | a { text-underline-offset: .15em; }
24 |
25 | /* Input styles */
26 |
27 | input, textarea, select, button {
28 | background-color: inherit;
29 | border-radius: 0;
30 | font-family: inherit;
31 | font-size: inherit;
32 | }
33 |
34 | input, textarea, select {
35 | background-color: var( --wp--preset--color--background );
36 | border: .1rem solid var( --wp--preset--color--secondary );
37 | color: var( --wp--preset--color--foreground );
38 | padding: .5em;
39 | }
40 |
41 | /* Editor Post Title */
42 |
43 | .editor-post-title__input { text-align: center; }
44 |
45 | /* Block: Navigation */
46 |
47 | .wp-block-navigation__responsive-container-close {
48 | right: 50%;
49 | transform: translateX( 50% );
50 | }
51 |
52 | /* Block: Search Form */
53 |
54 | .wp-block-search__input,
55 | .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
56 | border-color: var(--wp--preset--color--secondary) !important;
57 | }
58 |
59 | /* Block: Separator */
60 |
61 | hr.is-style-davis-separator {
62 | border: none;
63 | border-bottom: .5px solid;
64 | border-top: .5px solid;
65 | overflow: visible !important;
66 | position: relative;
67 | }
68 |
69 | hr.is-style-davis-separator:before,
70 | hr.is-style-davis-separator:after {
71 | background-color: var( --wp--preset--color--background );
72 | border: 1px solid;
73 | box-sizing: border-box;
74 | content: "";
75 | height: 12px;
76 | position: absolute;
77 | top: calc( 50% - 6px );
78 | transform: rotate( 45deg );
79 | width: 12px;
80 | }
81 |
82 | hr.is-style-davis-separator:before { left: calc( 50% - 14px ); }
83 | hr.is-style-davis-separator:after { left: calc( 50% + 2px ); }
--------------------------------------------------------------------------------
/templates/single.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
67 |
68 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/readme.txt:
--------------------------------------------------------------------------------
1 | === Davis Blocks ===
2 | Contributors: Anlino
3 | Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=anders%40andersnoren%2ese&lc=US&item_name=Free%20WordPress%20Themes%20from%20Anders%20Noren¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
4 | Requires at least: 6.2
5 | Requires PHP: 5.6
6 | Tested up to: 6.5
7 | Stable tag: trunk
8 | License: GPLv2 or later
9 | License URI: https://gnu.org/licenses/gpl-2.0.html
10 |
11 |
12 | == Installation ==
13 |
14 | 1. Make sure you're running WordPress 6.0 or later.
15 | 2. Upload the theme.
16 | 3. Activate the theme.
17 |
18 |
19 | == Copyright ==
20 |
21 | Davis Blocks WordPress Theme, Copyright (c) 2022 Anders Norén.
22 |
23 | Davis Blocks is derived from the Tove theme, Copyright (c) 2021 Anders Norén.
24 | Tove is distributed under the terms of the GNU GPL version 2.0.
25 |
26 | Davis Blocks bundles the following third-party resources:
27 |
28 | PT Serif font
29 | License: SIL Open Font License, 1.1
30 | Source: https://fonts.google.com/specimen/PT+Serif
31 |
32 | Photograph in screenshot.png
33 | Author: Karol Dach
34 | License: CC0
35 | Source: https://stocksnap.io/photo/architectural-design-2XJ1VEE57Q
36 |
37 | Code from Wei
38 | Copyright (c) 2021 Rich Tabor
39 | License: GPLv2, https://www.gnu.org/licenses/gpl-2.0.html
40 | Source: https://wordpress.org/themes/wei/
41 | Included as part of:
42 | - Temporary alignment styles in style.css.
43 | - Overall Templates and Template Parts structure.
44 |
45 |
46 | == Changelog ==
47 |
48 | Version 0.2.3 (2024-05-03)
49 | -------------------------
50 | - Updated stylesheet enqueues to make sure the parent theme stylesheets are loaded even when a child theme is active.
51 |
52 | Version 0.2.2 (2024-03-02)
53 | -------------------------
54 | - Bumped "Tested up to" to 6.4.
55 | - Fixed the visuals of the Davis separator style.
56 | - Fixed border width in templates.
57 |
58 | Version 0.2.1 (2023-08-21)
59 | -------------------------
60 | - Removed opt-in of the opinionated wp-block-styles, since it causes issues with pull quote styles in 6.3.
61 | - Updated styles to account for removal of wp-block-styles.
62 |
63 | Version 0.2 (2023-02-08)
64 | -------------------------
65 | - Bumped "Tested up to" and "Requires at least" to 6.1.
66 | - Removed some custom styles for the search form and tables from style.css.
67 | - Bumped copyright year in the footer to 2023.
68 | - Changed the menu icon to a text button, to better match the original Davis.
69 | - WordPress 6.1 updates:
70 | - Added Spacing Sizes support, and updated templates and template parts to use it.
71 | - Added button, heading and caption element styles in theme.json.
72 | - Added theme.json hover effects, and removed the old CSS for it.
73 | - Enables fluid font sizes in theme.json.
74 | - Enabled useRootPaddingAwareAlignments in theme.json, and removed custom alignment styles in CSS.
75 | - Enabled blockGap in theme.json.
76 |
77 | Version 0.1.4 (2022-10-07)
78 | -------------------------
79 | - Removed index.php, since it's no longer needed to pass the WordPress.org automatic theme review.
80 |
81 | Version 0.1.3 (2022-09-27)
82 | -------------------------
83 | - Updated
32 |