Change the head title of single page
-
Hello,
I have a website, where one of the pages is a blog page and it’s based on a different theme than all the other pages.
I would like this page to have a different title than the pages based on the second theme. So, I have a whole website called f.e. My Website (theme 1) and I need to have one of pages (the one on theme 2) named My Website Blog.This is the code I have in my header.php of this theme (surfarama):
<div id="site-title" style="color: #09f;"> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></div>
I don’t know, how to modificate it to make word “blog” to appear in the page title.
Could anyone help me?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Change the head title of single page’ is closed to new replies.