How to fix InstaBuilder 2.0 not showing titles

Out of the box, InstaBuilder 2.0 does not show a title for the root page of your site. Sub-pages seem to work correctly. This is happening for me with v2.1.6.

What you’ll see in your generated web code is something like this. Notice the duplicate title tags, with the blank tag displaying first. The title you configure will be in the second <title> section, and thus won’t get displayed.

<meta name="robots" content="index,follow">
<!-- cut text here -->
<title>InstaBuilder page title is here</title>

There’s an easy fix.

Open /wp-content/plugins/instabuilder2/inc/layout.php and navigate to line 453.

Comment out the line as highlighted below to fix the titles not showing:

<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

/* COMMENT OUT THIS LINE <title><?php wp_title('|', true, 'right'); ?></title>*/

$meta_desc = ( is_array($meta) && isset($data['meta_desc']) ) ? esc_textarea($data['meta_desc']) : '';
if ( !empty($meta_desc) ) {
	echo '<meta name="description" content="' . str_replace(array("\r", "\n"), ' ', esc_attr($meta_desc)) . '">' . "\n";



Leave a Reply

Your email address will not be published. Required fields are marked *