IMPLEMENTED: H1 Title on Wordpress editor not showing

I must admit BB is getting awesome.

Just to help and improve bricks itself I wanted to add a small suggestion.

When online using Wordpress editor, for exmple on privacy policy, H1 title isn’t showing. So in order to see it published you need to manually ad a second H1 title on Gutember because the 1st one isn’t showing.

Maybe this isn’t a problem itsef and there is something I am not aware of.

Anyway, this is getting huge. Awesome work guys!!

1 Like

Hi Pedro,
Unlike h2-h6, the h1 tag may only be inserted once per page. As soon as you insert the title in Gutenberg, you have your h1.

Now you only have to ensure in your post or page templates that the post_title is output in an h1 tag (which is automatically the case with the post title element, for example).

Best regards,
timmse

1 Like

Let me explain myself better. I’not using any template at all because this is such a simple page (privacy policy for example)

This is what I need to do in Wordpress editor:

In order to get this:

Thanks again timmse!
Hope my comments help you improve this amazing tool. I’m quite happy with it.

I’m using the latest BB version, with PHP 8.1.6 and wordpress 6.2

Aaaah now I understand!
In the delivery state, only the content is displayed for pages.

In general, the purpose of a site builder like Bricks is to create templates and individual layouts, which is why we provide as little as possible.

As I said, creating a template that applies to your pages is done in a few clicks.

  1. Create a new template of the type Single
  2. Add a Condition of » Post Type » Pages
  3. Add the Post title element
  4. Add a Post Content Element Source Wordpress
  5. Add a Post Content Element Source Bricks (so that your individual Bricks pages are also output)

Done :slight_smile:

However, I will add this to the ToDo list as a suggestion for improvement, as it is only one more line of code and makes perfect sense.

Best regards,
timmse

1 Like

Templates work amazingly fast, but in privacy policy and cookie policy gutemberg editor seems enough.

Hope you find my comments usefull!

Your are doing a really great job man

Bricks Builder does not control the display of non-template pages. From your screenshot, those pages were edited in Gutenberg and Bricks has nothing to do with them. You can create a default page template for both pages if you want more control over their display.

That’s not true - there are default templates that take effect if no custom templates have been created. Accordingly, we have adapted the default templates in Bricks 1.8 beta so that:

  1. For Pages: The post title (h1) is output.
  2. For Posts: The post title uses h1 instead of h3.

As with any beta release, please do not use it on any production/live website. It is only meant for testing in a local/staging environment.

Best regards,
timmse

2 Likes

Changes working fine timmse!