Change h3 to h4 tags for block headlines?

Posted in: Newspaper
Post count: 8

I use a table of contents plugin which automatically finds h3 tags on the page and adds them.

Because the block headlines all seem to use H3 tags, it interferes with my Table of Contents.

Is there a way to change the h3 tags to h4, or remove the h tags completely from the block headlines?

Thanks,

Will

Further: I am using cloud templates, and trying to work with Block 15 for adding random posts to the bottom of my pages.

Post count: 35449

Hi,

The Header of blocks is set using the h4 -> https://www.screencast.com/t/nC7EgRWwc only the title of post is set using h3 -> https://www.screencast.com/t/YUkhmO2px
Unfortunately there is no settings in theme to change those, you can change theme only manually in the theme files, but when you’ll make an update you’ll lose all those changes if you can not make theme in a child theme.

Thank you for our understanding!

Post count: 8

Thanks Calin, I don’t mind modifying the theme file manually, aware of update overwriting.

Could you point me to the file name(s) I would need to edit?

Thanks,

Will

Post count: 35449

Hi,

For example if you want to change the h4 from the header blocks you need to go in wp-content/themes/Newspaper/includes/block_templates/td_block_template_1.php
-> https://www.screencast.com/t/Sfgugzt7
( this will change only for block 1 ).

In order to change the post title h you need to go in wp-content/themes/Newspaper/includes/wp_booster/td_module.php
-> https://www.screencast.com/t/L9StdPLSt

Hope this will help you!
Thanks.

Post count: 8

Thanks Calin, worked like a charm. Will remember to redo it upon updating my theme.

Thanks again,

Will

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.