H1 titles to custom blog archive pages

None of my (custom) blog archive pages (e.g. example.com/blog/page2, example.com/blog/category1/, etc.) show any <h1> titles.

I found this thread from last year outlining how to add them using two custom headers. I tried to replicate it, but the process was too complicated for me to follow.

I was wondering whether this solution is still the best/only way to get h1s on custom archive pages, or if any recent theme updates over the past year have made the process easier?

Hello @KEXINO,

Thank you for the inquiry.

Since you’re using a custom archive layout and likely a custom header, you will still need to manually add the H1 element to the page, possibly using the Headline element or by following the steps provided in the previous thread. Unfortunately, there are no available options to automatically insert this element in custom layouts.

Let us know if you need additional assistance.

Best regards,
Themeco

OK thanks.

I need h1s for all the category archives and “…/page2/3/4/whatever” of the blog index page.

So I need to create a duplicate header, with the addition of a div element set as h1. That I can do.
Adding 3 headline elements, not a problem. But setting separate conditions for each of them? I haven’t a clue.:


I know how to set a condition for the entire header, for not for individual elements within a header.

Thank you for the update. Why do you need to set conditions for the elements within the header? If you can provide the site URL and login details in secure note, we’ll take a look.

i only need the h1s to appear on category archive pages. Not on posts, not on the initial blog index page, If that can be done without conditions on elements, then that would be great. I simply read the thread I referenced in my initial post.

Login creds are in a secure note here.

We tried logging in but the password for the username is incorrect. Please check the password carefully or provide another admin account.

password regenerated.

We added another Headline element in the Hero Post section of the Blog Index layout, then applied the condition category > in > {{dc:url:full_path}}, so the element is only visible on the category pages.

Let us know if this is what you’re trying to do.

The entire blog index page is now broken. I’ve cleared cache, but it’s not returning to normal.

As I mentioned, the h1s are for

  1. the paginated blog index pages (i.e. NOT “…/blog” but “…/blog/page/2/” and following
  2. Category archive pages.

The h1s also need to be unique. “[category description] [page n] [blog name]” for example

Can you please revert the blog section back to when it was working?

Would you mind providing a screenshot of the issue? The blog looks the same on our end except for the category pages with the added Headline H1 element.

Main Blog

Business Category Blog

Go to kexino.com/blog

What do you see? Here’s what I see:

This is what we see in the first page of the main blog page.

Looks like I have a DNS issue from my side.

From what I remember there shouldn’t be a hero image on …/blog/page/2/ and all following pages.

Anyway, can you please explain how to add custom h1 text for each category archive. For example, posts given the “business” category might have “Articles on business | Page 1”

I had to restore the site from the last backup point to get the blog to work, which suggests my issue is more than just DNS.

As an aside, …/blog/page/2/ should not have a hero image as per your screenshot.

Here’s how it should look:

Why would that be?