• Hi,

    I keep getting this error since trying to put a Google Analytics code into the site:

    PHP Parse error: syntax error, unexpected $end, expecting ‘)’

    I’m guessing its something to do with this but have tried to change several times:

    <?php
    /**
    * Template Name: Business Template
    *
    * Displays the Business Template of the theme.
    *
    * @package ThemeGrill
    * @subpackage Spacious
    * @since Spacious 1.0
    */
    ?>

    <?php get_header(); ?>

    <div id=”content” class=”clearfix”>

    <?php
    if( is_active_sidebar( ‘spacious_business_page_top_section_sidebar’ ) ) {
    // Calling the business page top section sidebar if it exists.
    if ( !dynamic_sidebar( ‘spacious_business_page_top_section_sidebar’ ) ):
    endif;
    }

    if( is_active_sidebar( ‘spacious_business_page_middle_section_left_half_sidebar’ ) || is_active_sidebar( ‘spacious_business_page_middle_section_right_half_sidebar’ )) {
    ?>
    <!– <div class=”clearfix”> –>
    <div class=”tg-one-half”>
    <?php
    // Calling the business page middle section left half sidebar if it exists.
    if ( !dynamic_sidebar( ‘spacious_business_page_middle_section_left_half_sidebar’ ) ):
    endif;
    ?>
    </div>
    <div class=”tg-one-half tg-one-half-last”>
    <?php
    // Calling the business page middle section right half sidebar if it exists.
    if ( !dynamic_sidebar(

  • The topic ‘Error-Business Page’ is closed to new replies.