0

I am currently displaying my title liek this <?php wp_title( '|', true, 'right' ); ?> it works fine for every page besides home page where tab currently says Blog title | Blog tagline is there a way I can change it to Blog tagline | Blog title ? Without affecting other pages.

0

Yes, you can include a check for is_home() or is_front_page() and return a different title based on that.

Update: TwentyEleven does it like this for example (lines 27 to 45).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.