I would like to add a small piece of text (the page title) to the left of the hamburger menu icon, which is used on all device types. I want the logo, the page title and the hamburger menu all to be aligned horizontally. I have tried various hooks but can’t get all 3 elements in one line in the header.
I’ve noticed this does not work on the blog posts page (/blog). The page title either shows nothing left of the hamburger menu or sometimes the blog title of the first blog post in the feed (not “Blog” which I want).
The hook is <h3> <?php the_title( ‘<h3>’, ‘</h3>’ ); ?> </h3> and is place before_logo.