wordpress / gutenberg-starter-theme Goto Github PK
View Code? Open in Web Editor NEWA simple theme for testing Gutenberg.
License: GNU General Public License v2.0
A simple theme for testing Gutenberg.
License: GNU General Public License v2.0
The Heading block popup toolbar only has h2-h4, but the settings panel includes h1-h6. And even if the settings panel removes h5 and h6, it's still valid HTML markup and should be styled appropriately.
Hi @WordPress
If I am adding the "Read more" element in Gutenberg, the html-block-element css rules would not be applied on the front end.
This is a snippet from the generated code from the front page listing all posts.
<div class="entry-content">
<p>Introtext...</p>
<a href="url/to/post" class="more-link">Continue reading<span class="screen-reader-text"> „Test“</span></a>
</div>
The a-tag gets a max-width, the paddings and the margins. But none of them would be applied as the a-tag by default is not an html-block-element. Probably you should add a specific rule for the .more-link
class.
Up till today, adding an image and setting it's alignment (Left, Right, Center, None) would cause the text to wrap around as expected.
Adding the alignment to an image block next to a text block does not work as expected.
More info in the comment section of this post:
https://themeshaper.com/2018/02/15/styling-themes-for-gutenberg/comment-page-1/#comment-170699
Dan
Just opening a ticket here to start the discussion.
Left align post titles and drop them down to 2em like in Gutenberg
Versions: WP 4.9.6 | Gutenberg 2.9.2 | GST 1.0.0 | Chrome 66.0.3359.181
This may be a known issue, but the image block is not rendering. Here is my homepage:
In playing with this I figured out how to recreate the issue.
I will try to debug this later if I find time, but work is crazy the next couple of weeks...
hey all,
This is more of a "wish list" than an issue.
It would be really nice if the primary navigation could allow users to skip all the sub-links, and arrow from one top link to another. This would mean users who can't use a mouse would save LOTS of tabs. The sub-menus would still need to be available, but the keyboard user wouldn't need to tab through them to get to the next thing.
Adobe Accessible Mega Menu has this:
https://adobe-accessibility.github.io/Accessible-Mega-Menu/
So we don't have to manually center every block by hand. Is there a shared class we can call on?
Hi,
Anyway to modernize the dev workflow ? npm, sass, composer...
Thanks in advance
Would it make sense to break the enqueuing of the block.css file from enqueuing with wp_enqueue_scripts and enqueue it with enqueue_block_assets instead?
gutenberg-starter-theme/functions.php
Line 142 in b77d211
My thought for this approach is that if people want to apply future block styles and have them visible in the editor, they can add to the block.css file and those styles would automatically show up in the editor and not require them to add another CSS file and enqueue it with enqueue_block_assets.
I realize that this may mess things up if the code for centering non wide and full width blocks goes in this same file [https://github.com//issues/30]. However, maybe this could be moved to the style.css file as a generic styling for the frontend only?
NOTE: I may be completely missing a place where block styles for the frontend and editor would go! :) But figured it would be helpful if it doesn't already exist :)
This CSS causes browser upscaling.
gutenberg-starter-theme/css/blocks.css
Lines 151 to 153 in 0661152
along with this CSS
gutenberg-starter-theme/css/blocks.css
Lines 160 to 166 in 0661152
It is counter to aligning left or right to make the image 100% width.
Gutenberg's demo post doesn't get displayed as it should, I assume some recent changes broke it?
The custom font is missing, an image and the video is left aligned, as is a button where you can't read the text
This is a fairly straightforward issue, but it requires a bit of discussion. The theme declares support for featured images, but does not display them on the front end. I used this theme for a test recently, and this point caused some confusion.
Should we:
1. Remove theme support for featured images?
This makes sense if we're committed to having the front end look just like the backend editor. But I do think it's helpful for people too see where featured images live inside of Gutenberg.
2. Keep it, and add featured images on the front end.
This solves for potential confusion, but it also means that posts on the front end won't look 100% like they do inside of the editor.
3. Keep things the way they are.
Any thoughts?
If you want to put this in the WP repo, the readme.txt file needs accurate information.
According to https://wpseek.com/pluginfilecheck/ this theme requires WP 4.5, but the whole concept is for Gutenberg, so it probably should be 5.0, but I ran it on 4.9 just fine.
gutenberg-starter-theme/readme.txt
Line 6 in 0661152
Also need Requires PHP header.
And the Contributors header should be an actual .org username
and need a description
See https://wordpress.org/plugins/developers/readme-validator/
Hi,
Thanks a lot for this theme. I'm forking it for personal purposes, and I found a mistake related to site-title
in header.php
.
Nothing can meet the condition below:
if ( is_front_page() && is_home() )
Just throwing this question.
Any plans on adding the sass functionality and WP Gulp / Gulp functionality?
Hello,
does it support the Site editor?
I am clicked Appearence -> Editor and it shows the blank page
I am trying to install the Gutenberg Starter theme and it says to down load the ZIP file and upload the theme. When I click on download ZIP it isn't downloading as a .ZIP file it is a simple folder named gutenberg-starter-theme-master. I can't select it for upload, it just opens the folder... What am I doing wrong? I looked everywhere for an answer and don't find anything. Thanks in advance!
A list of things to remove:
Describe the bug
Colors are not being appropriately rendered on the front-end of core blocks, as they're not defined within the theme's styles.
Expected behavior
The colors (background/color) are applied on the front-end, with the use of proper contextual color classes.
Additional context
From the Gutenberg doc on the editor color palette (link):
Themes are responsible for creating the classes that apply the colors in different contexts. Core blocks use "color" and "background-color" contexts. So to correctly apply "strong magenta" to all contexts of core blocks a theme should implement the following classes:
.has-strong-magenta-background-color {
background-color: #313131;
}
.has-strong-magenta-color {
color: #f78da7;
}
With the addition of slugs, we can now have translatable names for each color defined in the editor-color-palette
.
Here's the info on color palettes from the Gutenberg repo.
Why in this official theme for gutenberg, backend and frontend does not match the view? how developers will make themes compatible with gutenberg, even if this theme is not relevant? because this is the official wodpress repository.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.