How to add a blog title in ethos

How to I add a h1 title to this page?

Hi,

I checked and can see that you are not using xtheme or PRO theme.

To add blog title in Ethos Stack, you can add the code below in your child theme’s functions.php file.

function add_blog_title() {
  if(is_home()) { ?>
     <header class="x-header-landmark x-container max width">
        <h1 class="h-landmark"><span>My Blog</span></h1>
      </header>
<?php      
  }
}

add_action( 'x_before_view_global__slider-below', 'add_blog_title', 10 );

Change My Blog with the text that you like.

Hope this helps

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.