Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.