1 wendy_croft Jun 10, 2011 20:18
3 wendy_croft Jun 11, 2011 12:21
Hi Sam,
thanks for your prompt reply. This is the code I used:
<?php // ------------------------ TITLE FOR THE CURRENT REQUEST ------------------------
request_title( array(
'title_before'=> '<h2>',
'title_after' => '</h2>',
'title_none' => '',
'glue' => ' - ',
'title_single_disp' => false,
'format' => 'htmlbody',
) );
It works perfectly for posts, but not for pages. All my blog posts have one title, but the pages have two. How do I fix double titling on the pages?
4 sam2kb Jun 11, 2011 17:29
Add this param
'title_page_disp' => false,
5 wendy_croft Jul 02, 2011 15:14
Sorry, I haven't looked in here for ages. Thank you, Sam2kb, it worked perfectly!
You da man!
Welcome to the forums!
Edit the skin you're using, set 'title_single_disp' => false in request_title function. It's usually in index.main.php or page.main.php file