Archived topic
How to get GenerateBlocks to work
20 replies · Started by Jo on June 16, 2021
Hi Elvin,
I can´t get to ELEMENTS - FOOTER. Just don´t get it in my Guttenberg editor... I wish I could sent you the screenshot so you´d see...!
The footer doesn´t appear in the editor at all. Only in the finished page!
Hi there,
to send us screenshots either use a service like IMGUR or save your screenshot to a share drive ( like dropbox / google drive etc ) or your WordPress Media Library and send us the URL to the file.
Hi David,
thanks for the advice. Here are my screenshots
1. https://spunkyhornets.com/wp-content/uploads/2021/08/Update-not-possible.jpg (GP did not update today, nor give me a way to select update)
2. https://spunkyhornets.com/wp-content/uploads/2021/08/NoFooterinELEMENTS.jpg
(There´s no footer in ELEMENTS, but the damn footer is still appearing on my page)
3. https://spunkyhornets.com/wp-content/uploads/2021/08/Screenshot-2021-08-16-115957.jpg (I can not "FOOTER" in the blocks section so as to generate a new footer to overwrite the old one as was suggested before.
Kind regards from Berlin
Jo
OK:
1. Make sure you have your license key added:
https://docs.generatepress.com/article/updating-gp-premium/#activating-updates
2. On your site you have:
© 2021 Spunky Hornets • Built with GeneratePress
This is the Themes Copyright option. You can enable the Module in Appearance > GeneratePress.
Then go to Customizer > Layout > Footer, and update the Copyright field to display your own text.
Let us know if you have a particular Footer design you have in mind, and i can advise on the best way to do that.
Hi David, thank you very much for your help!!!
1. The update worked fine now, without me adding my licence key again. I had done this before of course.
2. I enabled COPYRIGHT (not called footer here) in the Appearance > GeneratePress options and then I could change i in the customizer.
So, thanks again, I really like your support!
For someone who is not an everyday-website designer the mixture of Generate Press, Blocks and the Customizer and what to do where can be kind of overwhelming. I´ve been working with ELEMENTOR before to create my websies starting from your templates and this is my first try to do it with your Blocks module, so... well i´s new and I´d really like to have some good tutorials to get the habg of it. Are you planning to offer some? Could be a get idea....
Kind regards from Berlin
Jo
Glad to hear that.
You might be interested in our YouTube channel which does show some of the uses for the Block Element and some other general pointers:
https://www.youtube.com/channel/UCoHk-JZFs1N-iI2DQlIKVnA
Which have several supporting docs found here:
https://docs.generatepress.com/?s=block+element
I think the tricky part will be fathoming what does what.
And starting with a Site Library import can be overwhelming to new users as where do i go to change stuff.
Some pointers:
1. As a general rule the Customizer is responsible for the global styling ( fonts, colors ) and layout ( container width, sidebars, blog columns etc ) and for enabling an option and its location, such as the Navigations. Unless a specific style is added to content in the editor ( or Element ) or Custom CSS is being used, your site will use these styles globally. I advise where possible to use Customizer Styles over adding them directly in the editor.
1.1 Apart from the Site Identity, the Copyright module and the Mobile Menu labels are the only things where you can change the content itself in the Customizer.
2. Elements are a GP specific add-on, and come in several flavours:
2.1) Layout Element - this provides the same options and a few more as the Disable Elements, Sidebars and Content Container meta box you will see in the Post Editor.
With them can use the Layout Element to overwrite changes globally that you define in the Customizer, such as the Displaying the Title, the sidebar configuration or setting the Content Container to Full Width.
And as GP uses a cascading mentality the Layout Meta Box for an individual post wins over the Layout Element which wins over the Customizer.
2.2) Header Element - was introduced way before Block Editor, and today unless you like working with HTML, has very limited uses as Block Elements are far superior to its editing controls. The one thing it still has pride of place for is to set the Merged Header option, not the Header Element > Page Hero requires no content, to merge the Header with the first content on your site.
2.3) Hook Elements - for adding 'code' to your site, such as a Google Tag or other relevant PHP Snippet or Shortcode into your site.
2.4) Block Elements - this is where the real fun begins :) Coming in two distinct flavours:
a) Hooks - like the Hook element but with a the Block Editor you can insert your static or dynamic content into any one of the theme hooks for displaying across your site. You'll see some of the commons hooks placements here:
https://docs.generatepress.com/article/hooks-visual-guide/
Within those options we provided some predefined templates, such as the Page Hero or Post Meta, those set some defaults for you, such as the Hook for where the page hero is displayed, and some contextual options such as removing the Title from the theme.
In some specific instances o Hooks, such as the footer these actually replace the Theme Elements.
b) Content Templates - a little more tough to explain, similar to using an Elementor Theme Template, except these only replace the content area of the templates, as opposed to replacing the entire content and sidebars for example.
The docs and videos i linked to at the top are the best place to get a handle on how to use them.
FINAl Note - power tip :)
Whenever you view a page as a logged in user, you will see the Elements link in the Admin Bar, if there are any Elements active on the page, which provides a sub menu with links to all those currently active.
I hope this helps! Happy to answer any other specific questions.