Changing title of a page dynamically from within a plugin

Every WordPress page can be described as having two titles: The page/post title, which is displayed within the page/post via the the_title() function call The html <title></title> tag that displays the title on top of the browser I am writing a plugin which at one point should change the title of a page dynamically (well, … Read more

How to change the seperator in the title

Change title separator. I’m working with the underscores starter theme. I want to make a small change to the title. Change the separator from “Post title | site name” to “Post title – site name” The simple way of doing this was to put <title><?php wp_title(‘-‘, true, ‘right’ ); ?><?php bloginfo( ‘name’ ); ?></title> in … Read more