WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm facing a design, that has two titles. I have no clue how can I two titles in wordpress.

In a nutshell: Creating a page, there you can set the title. How can I have two titles there? Or similar effect?

enter image description here

share|improve this question
up vote 3 down vote accepted

Strictly speaking title is column in posts database table so it is not easy (or makes sense) to add one more title.

But it is trivial to emulate by using custom field to store additional title (or anything else).

share|improve this answer
Yes! Thats the solution I'm looking for. However, I can't seem the custom fields to work. Tried get_post_custom_values('second_header');, but nop. – Kalle H. Väravas Aug 7 '11 at 19:35
@Kalle you should use get_post_meta() – Rarst Aug 7 '11 at 20:10
Your correct. I found it out myself, but forgot to put echo in front. Anyways, works perfectly. Saved me lots of valuable time. Thanks alot! – Kalle H. Väravas Aug 7 '11 at 20:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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