Changes from WordPress Playground
This commit is contained in:
parent
d4312a639a
commit
319b20edb6
7 changed files with 161 additions and 0 deletions
11
gadfdsa/parts/footer.html
Normal file
11
gadfdsa/parts/footer.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"80px","bottom":"30px"}}}} -->
|
||||
<div class="wp-block-group" style="padding-top:80px;padding-bottom:30px">
|
||||
<!-- wp:paragraph {"align":"center"} -->
|
||||
<p class="has-text-align-center">Proudly Powered by <a href="https://wordpress.org" rel="nofollow">WordPress</a></p>
|
||||
<!-- /wp:paragraph -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
30
gadfdsa/parts/header.html
Normal file
30
gadfdsa/parts/header.html
Normal file
|
@ -0,0 +1,30 @@
|
|||
<!-- wp:group {"layout":{"inherit":"true"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"align":"full","layout":{"type":"flex","justifyContent":"space-between"},"style":{"spacing":{"padding":{"bottom":"30px","top":"30px"}}}} -->
|
||||
<div class="wp-block-group alignfull" style="padding-bottom:30px;padding-top:30px">
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:site-logo {"width":64} /-->
|
||||
|
||||
<!-- wp:group -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:site-title /-->
|
||||
<!-- wp:site-tagline /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"}}}} /-->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:spacer {"height":50} -->
|
||||
<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
31
gadfdsa/readme.txt
Normal file
31
gadfdsa/readme.txt
Normal file
|
@ -0,0 +1,31 @@
|
|||
== gadfdsa ==
|
||||
|
||||
Contributors:
|
||||
Requires at least: 6.0
|
||||
Tested up to: 6.5
|
||||
Requires PHP: 5.7
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 1.0.0 =
|
||||
* Initial release
|
||||
|
||||
|
||||
== Copyright ==
|
||||
|
||||
gadfdsa WordPress Theme, (C) 2024
|
||||
gadfdsa 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.
|
||||
|
BIN
gadfdsa/screenshot.png
Normal file
BIN
gadfdsa/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
16
gadfdsa/style.css
Normal file
16
gadfdsa/style.css
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
Theme Name: gadfdsa
|
||||
Theme URI:
|
||||
Author:
|
||||
Author URI:
|
||||
Description:
|
||||
Requires at least: 6.0
|
||||
Tested up to: 6.5
|
||||
Requires PHP: 5.7
|
||||
Version:
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: gadfdsa
|
||||
Tags:
|
||||
*/
|
||||
|
39
gadfdsa/templates/index.html
Normal file
39
gadfdsa/templates/index.html
Normal file
|
@ -0,0 +1,39 @@
|
|||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:query {"tagName":"main","layout":{"inherit":true}} -->
|
||||
<main class="wp-block-query">
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:group -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
<!-- wp:post-featured-image {"isLink":true} /-->
|
||||
<!-- wp:post-content /-->
|
||||
<!-- wp:group {"layout":{"type":"flex"}, "style":{"typography":{"fontSize":"14px"}}} -->
|
||||
<div class="wp-block-group" style="font-size:14px">
|
||||
<!-- wp:post-author {"showAvatar":false,"showBio":false} /-->
|
||||
<!-- wp:post-date {"isLink":true} /-->
|
||||
<!-- wp:post-terms {"term":"category"} /-->
|
||||
<!-- wp:post-terms {"term": "post_tag"} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- wp:spacer {"height":40} -->
|
||||
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
<!-- wp:group {"layout":{"inherit":true}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:query-pagination -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
|
||||
<!-- wp:query-pagination-numbers /-->
|
||||
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
</main>
|
||||
<!-- /wp:query -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
34
gadfdsa/theme.json
Normal file
34
gadfdsa/theme.json
Normal file
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
"$schema": "https://schemas.wp.org/wp/6.5/theme.json",
|
||||
"settings": {
|
||||
"appearanceTools": true,
|
||||
"layout": {
|
||||
"contentSize": "620px",
|
||||
"wideSize": "1000px"
|
||||
},
|
||||
"spacing": {
|
||||
"units": [ "%", "px", "em", "rem", "vh", "vw" ]
|
||||
},
|
||||
"typography": {
|
||||
"fontFamilies": [
|
||||
{
|
||||
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
|
||||
"name": "System Font",
|
||||
"slug": "system-font"
|
||||
}
|
||||
]
|
||||
},
|
||||
"useRootPaddingAwareAlignments": true
|
||||
},
|
||||
"templateParts": [
|
||||
{
|
||||
"area": "header",
|
||||
"name": "header"
|
||||
},
|
||||
{
|
||||
"area": "footer",
|
||||
"name": "footer"
|
||||
}
|
||||
],
|
||||
"version": 2
|
||||
}
|
Loading…
Add table
Reference in a new issue