badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Reply To: Page Title Wrap not showing on Blog page

#4686
thebobajob
Member

Hi

I tried that before I contacted you, as per the instructions, the title simply will not appear. The only way I can get it to appear is to change

if( ( ( '' != attitude_header_title() ) || ( $attitude_show_breadcrumb == 'true' && function_exists( 'bcn_display_list' ) ) ) && !( is_home() || is_front_page() ) ) {

to

if( ( ( '' != attitude_header_title() ) || ( $attitude_show_breadcrumb == 'true' && function_exists( 'bcn_display_list' ) ) ) && !( /*is_home() ||*/ is_front_page() ) ) {

and add in

elseif( is_home()  ) {
		$attitude_header_title = "Blog";
	}

to

function attitude_header_title() {

which obviously isn’t satisfactory as it’s hardcoded.

If I put in

elseif( is_home()  ) {
		$attitude_header_title = get_the_title();
	}

I get the title of the first post.

Bob