Site logo

[Resolved] Some settings of Gutenberg’s default modules are not available on GP

Home Forums Support [Resolved] Some settings of Gutenberg’s default modules are not available on GP

Home Forums Support Some settings of Gutenberg’s default modules are not available on GP

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #2592754
    lionet

    The sticky setting of the group block disappeared after using the GP theme. I haven’t used Gutenberg before. I don’t know if the GP theme hides it intentionally or because of the update problem. Please tell me how to solve it.

    #2592755
    lionet

    For the convenience of supporting judgment, I have tried it with all plug-ins turned off. When no plug-ins use the default theme, the position setting of the group block is displayed.

    #2592759
    lionet

    Another one was found, and the Link style of the design module was also hidden.

    I have a bad feeling that Gutenberg has been updated too fast, and the design of some places has conflicted with the update of the GP theme.

    #2593157
    David
    Staff
    Customer Support

    Hi there,

    some of the features that WP adds to the block editor requires either theme supports to be added or for a Block Based theme to be used.

    Which things are most important that are missing for you ? And we can advise on how to add them or how to apply using other methods.

    As a general rule if you require options to build more custom designs then we recommend you use the GenerateBlocks plugin for that.

    #2593297
    lionet

    I read the documentation of GP and referred to some of your past discussions. Why GP does not open some convenient modules is because Gutenberg already has it. GP keeps it simple and provides support where needed.

    I think this concept is very good, all I am suitable for building website workflow, try to reduce the use of GB and GBP, I am not saying not to use, but suitable for use when necessary. I like the GB container very much, but it is not efficient in layout, so I consider using Gutenberg’s groud block as a container, so that you don’t need to set the troublesome things of margins during layout, and Gutenberg There is a quick way to provide a very streamlined and efficient way.

    I have to say, that’s what I like about GP, it’s supposed to be Gutenberg’s super rocket rather than a Gutenberg replacement.

    So I hope to use Gutenberg’s quick to build when setting some fixed and relatively few changes, and use GB when I need to design some effects.

    By the way, I have already purchased two paid versions, so I regard them as GP, I didn’t bother about which function is provided by which part, I will pay anyway, I don’t know if this forum can discuss about GB content.

    I mean, I don’t know how to use GB’s grid blocks very much, I always mess up the layout, using FLEX is convenient, but Gutenberg’s is more intuitive and convenient.

    I need to quickly set up the layout of the webpage, and then concentrate on excepting the content and details. This point GB is great in details, but, as I said before, in terms of containers, GB is too detailed, I don’t know How to use it, whether it’s desktop or mobile, my layout is always weird.

    Of course, if possible, I hope that some of the latest Gutenberg default styles can provide support, so that people with similar needs can choose the right block at the right place to improve work efficiency.

    6.2 is released, and Gutenberg has some great designs, such as the layout, which is simple and fool-proof enough to improve efficiency. Includes site editor.

    GP makes up for it, don’t know how GP will develop in the future, but I hope it can be used as a super rocket instead of trying to replace Gutenberg.

    I don’t know how much I have said, hahaha.

    #2593364
    lionet

    https://wordpress.org/gutenberg/

    If possible, I would like to know how to add the style settings of these blocks and some newly added basic function settings on the basis of GP.

    Such as outer margin and inner margin container settings, sticky settings.

    #2593402
    lionet

    I suddenly found that the wordpress preview is using the wp6.3 version, have I crossed?

    #2594327
    David
    Staff
    Customer Support

    Thank you for taking the time to provide such detailed feedback and considered opinion.
    We hear very much some of the complexities that GB brings. And in the next series of updates we will be addressing those.
    So users have a choice of how they can use GB, whether that be “basic” mode or “rocket power” mode 🙂

    I would stick with 6.2 :).

    To add spacing to the core blocks add this PHP Snippet to your site:

    add_theme_support( 'custom-spacing' );

    #2594463
    lionet

    Thanks so much David, great to hear that.

    When you say some theme support needs to be provided, I think the official documentation might have it, but I don’t know where to find it. Google found no related articles, nor did the official documentation.

    Can you give me a link, I want to know where I can customize these functions? This way I can add only what I need.

    By the way, will “these” supporters join the GP? Because I consider adding these codes through code snippet plug, I don’t know if GP has updated these supports, will it have any impact.

    Do you think I use child themes or fragments to add functionality? I hope you can give me some advice.

    #2594473
    lionet

    I found the documentation by searching for keywords, but it might take some time to learn.

    https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/#opt-in-features

    is it here?

    Am I understanding that GP just added some of these features?
    If so, which ones did it add?

    In order not to cause a conflict, I would like to know these.

    #2594487
    David
    Staff
    Customer Support

    Thats correct, the spacing one that needs to added is this:

    https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/#spacing-control

    For the others you can see what GP adds in its functions.php

    See here:

    https://github.com/tomusborne/generatepress/blob/master/functions.php

    #2594545
    lionet

    Awesome, very restrained, which opens up so many possibilities for customization.

    ##1.

    I think the core block only needs to add the spacing function and sticky function, that is, the position attribute, and it is perfect. The default block is suitable for places that are cumbersome but do not need to be repeated. In my personal opinion, other places should be handed over to GB.

    But I can’t find it. How to enable the newly added sticky function?

    ##2.

    Also, my question may be a bit too many, and it may not be easy to answer, because I don’t know what GP will update. I know it’s hard to explain clearly, because the situation will change at any time.

    I’m thinking I should use a child theme or a plugin to handle these extra functional requirements?

    Although I know this is not easy to answer, but I still want to hear your suggestions.

    After all, no theme is suitable for everyone, and the GP theme only needs to focus on performance. I need to do some personalized “fusion” between GP and Gutenberg.

    My work may need to quickly build some site prototypes and quick layouts in some places. In order to better combine the respective advantages of GP theme and Gutenberg.

    Should I use a plugin, or a snippet plugin, or a child theme?

    #2596024
    David
    Staff
    Customer Support

    ##1 Position sticky requires theme.json to enable. Which is built for block themes and we haven’t “integrated” it with GP yet.

    https://make.wordpress.org/core/2023/03/07/sticky-position-block-support/

    However, if you need that option we can assist with some CSS (?)

    ##2 I’m thinking I should use a child theme or a plugin to handle these extra functional requirements?

    Yes, for adding the PHP Snippets we recommend using a Child Theme or plugin to add those.
    I personally prefer a Child Theme, but for convenience some users like the Code Snippets or equivalent plugin

    #2596191
    lionet

    These infrequently used functions such as stickiness are not needed for the time being, and I am looking forward to the update of GP or GB. I’ll take your advice then, I’ve decided to use a child theme for these extra features.

    In order to better respond to the GP theme, do we need to pay attention to anything when making personalized child themes? If you guys update as often as Gutenberg, do I need to worry about compatibility issues?

    In other words, I hope to develop other additional functions without affecting GP and GPP, which will help me improve workflow efficiency. When creating subtopics, I don’t want to change the functions of GP or GPP.

    Oh, by the way, I don’t know where to modify the avatar, hahaha, I should hang around here for a long time, it’s strange not to have an avatar.

    #2596249
    lionet

    As a premise, if GP doesn’t become code bloat, I basically won’t change the theme.

    In theory, I should put all the functions and styles added later on the child theme.

    I’m not familiar with child theme development, so based on that, here’s what I’m worried about:

    1. Will the code added to the functions.php file cause problems due to GP updates? Like functional duplication?

    2. Will the code added to the functions.php file cause problems due to updates to the Gutenberg editor?

    All focused on subtopics?

    Or, style focused on child themes, while functionality opts for custom plugins?

    Which is better for productivity and which is better for performance?

    I want to hear your advice.

Viewing 15 posts - 1 through 15 (of 18 total)
  • You must be logged in to reply to this topic.