Recent Topics

1 Jun 10, 2011 20:18    

My b2evolution Version: 4.0.5

Hi there,

I'm running b2evolution v 4.0.5, and have been doing well with customizing and blogging on it. However, now that I've started using the Pages feature, a problem has come up: double titles. I've got rid of it on blog posts, but how in the world do I get rid of it on pages?

This screenshot shows the problem.

http://i27.servimg.com/u/f27/15/17/76/82/screen10.jpg

http://wendycockcroftwebdesign.com/blog/blogs/blog1.php/tutorials

2 Jun 10, 2011 20:24

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

3 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 Jun 11, 2011 17:29

Add this param

'title_page_disp' => false,

5 Jul 02, 2011 15:14

Sorry, I haven't looked in here for ages. Thank you, Sam2kb, it worked perfectly!

You da man!


Form is loading...