Changing a page title while the page is being built

It seems that the way you attached your function to the document_title_parts filter is wrong. As per WordPress documentation, document_title_parts only accepts one parameters, array $title. So it doesn’t make sense that when you have 2 parameters in your function. I suggest you do something like this: function custom_document_title( $title_parts ) { // Here is … Read more

I have a problem with Home Page title

This is more of an SEO question than a WordPress one… Changes won’t happen until after Google re-crawls your site – that is, the next time a googlebot visits your site and updates their information about your site. Wait for the next time they do. The rate/timing for the next googlebot crawl varies by site

reformat entry-title with two different styles

ok found out – added this to my content-page.php maybe not nice, but works for now… <?php $pieces = explode(‘:’, the_title( ”, ”, false ), 2 ); if (2 == count($pieces)) : ?> <h1 class=”entry-title”><span><span style=”font-size: 24px;”><?php print $pieces[0]; ?>: </span><span><?php print $pieces[1]; ?></span></span></h1> <?php else : ?> <h1 class=”entry-title”><?php the_title(); ?></h1> <?php endif; ?>