• Resolved Kins

    (@kins)


    Hello,

    I have set a blog page (archive) on a page I have build (nothing fancy : I put just a title h1 and for the try, a container spectra + h1 header). I have set it in blog page with the option in WP (reading > static page +> articles page = page I built).

    All works BUT there nothing showing above the blog structure (articles + sidebar). In the code there is also nothing.

    I tried to use the button in astra option (customizing blog/archive => blog title). On and off : nothing happen.

    What can i do? Have you a trick or a snippet to put in functions.php?

    Thank you


    Edit I have tried a custom page header and display on the blog / archive page => no result

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @kins, sorry for the long delay.

    Did you mean you would like the Blog post page has a Page Title? Try the following snippet and see if it works for you

    add_action('astra_template_parts_content_top', 'custom_blog_header',10);
    function custom_blog_header(){
    	if(	is_home() ){
    		echo '<h1 class="entry-title astra-blog-header"> Blog </h1>';
    	}
    	return ;
    }

    Kind regards,
    Herman ??

    Thread Starter Kins

    (@kins)

    Hi @bsfherman .
    I resolve this. There was a kind of secret submenu to do this. Just had to style it with CSS (no problem).

    Thank though

    Hello, I would be interested to know how you solved the problem ??

    Where should be this menu?

    Thread Starter Kins

    (@kins)

    @jidwictut9 here is the screecast sent to me by the dev: https://share.getcloudapp.com/kpuAEm65

    U have to click on a title in the menu (we don’t see it as clickable, but it is)

    Hi @kins, thanks for sharing.

    Please mark this thread as Resolved and feel free to start a new thread if there is anything else related to Astra we can help you with.

    Kind regards,
    Herman ??

    Thread Starter Kins

    (@kins)

    ok

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Title of blog not showing’ is closed to new replies.