When active the theme, the site broken

  • Resolved
    Posted in: BlackFyre  
  • Member
    evZek
    September 27, 2015 at 5:48 am #67765

    screenshot
    http://puu.sh/kpERE/5fc291b366.png

    ID );$selected = isset( $values[‘overall_rating’] ) ? esc_attr( $values[‘overall_rating’][0] ) : ”;$creteria_1_text = isset( $values[‘creteria_1_text’] ) ? esc_attr( $values[‘creteria_1_text’][0] ) : ”;$creteria_1 = isset( $values[‘creteria_1’] ) ? esc_attr( $values[‘creteria_1’][0] ) : ”;$creteria_2_text = isset( $values[‘creteria_2_text’] ) ? esc_attr( $values[‘creteria_2_text’][0] ) : ”;$creteria_2 = isset( $values[‘creteria_2’] ) ? esc_attr( $values[‘creteria_2’][0] ) : ”;$creteria_3_text = isset( $values[‘creteria_3_text’] ) ? esc_attr( $values[‘creteria_3_text’][0] ) : ”;$creteria_3 = isset( $values[‘creteria_3’] ) ? esc_attr( $values[‘creteria_3’][0] ) : ”;$creteria_4_text = isset( $values[‘creteria_4_text’] ) ? esc_attr( $values[‘creteria_4_text’][0] ) : ”;$creteria_4 = isset( $values[‘creteria_4’] ) ? esc_attr( $values[‘creteria_4’][0] ) : ”;$creteria_5_text = isset( $values[‘creteria_5_text’] ) ? esc_attr( $values[‘creteria_5_text’][0] ) : ”;$creteria_5 = isset( $values[‘creteria_5’] ) ? esc_attr( $values[‘creteria_5’][0] ) : ”;$check = isset( $values[‘my_meta_box_check’] ) ? esc_attr( $values[‘my_meta_box_check’][0] ) : ”;wp_nonce_field( ‘my_meta_box_nonce’, ‘meta_box_nonce’ );?>
    Over All Score

    Critera 1

    Critera 1 Score

    Critera 2

    Critera 2 Score

    Critera 3

    Critera 3 Score

    Critera 4

    Critera 4 Score

    Critera 5

    Critera 5 Score

    array( // on allow a tags’href’ => array() // and those anchords can only have href attribute));// Probably a good idea to make sure your data is setif( isset( $_POST[‘creteria_1_text’] ) )update_post_meta( $post_id, ‘creteria_1_text’, wp_kses( $_POST[‘creteria_1_text’], $allowed ) );if( isset( $_POST[‘overall_rating’] ) )update_post_meta( $post_id, ‘overall_rating’, esc_attr( $_POST[‘overall_rating’] ) );if( isset( $_POST[‘creteria_1’] ) )update_post_meta( $post_id, ‘creteria_1’, esc_attr( $_POST[‘creteria_1’] ) );if( isset( $_POST[‘creteria_2_text’] ) )update_post_meta( $post_id, ‘creteria_2_text’, wp_kses( $_POST[‘creteria_2_text’], $allowed ) );if( isset( $_POST[‘creteria_2’] ) )update_post_meta( $post_id, ‘creteria_2’, esc_attr( $_POST[‘creteria_2’] ) );if( isset( $_POST[‘creteria_3_text’] ) )update_post_meta( $post_id, ‘creteria_3_text’, wp_kses( $_POST[‘creteria_3_text’], $allowed ) );if( isset( $_POST[‘creteria_3’] ) )update_post_meta( $post_id, ‘creteria_3’, esc_attr( $_POST[‘creteria_3’] ) );if( isset( $_POST[‘creteria_4_text’] ) )update_post_meta( $post_id, ‘creteria_4_text’, wp_kses( $_POST[‘creteria_4_text’], $allowed ) );if( isset( $_POST[‘creteria_4’] ) )update_post_meta( $post_id, ‘creteria_4’, esc_attr( $_POST[‘creteria_4’] ) );if( isset( $_POST[‘creteria_5_text’] ) )update_post_meta( $post_id, ‘creteria_5_text’, wp_kses( $_POST[‘creteria_5_text’], $allowed ) );if( isset( $_POST[‘creteria_5’] ) )update_post_meta( $post_id, ‘creteria_5’, esc_attr( $_POST[‘creteria_5’] ) );}// function for show rating content//$key_1_value = get_post_meta($post->ID, ‘my_meta_box_text’, true);?>
    Parse error: syntax error, unexpected ‘}’ in /home/desmanet/public_html/gamerstime/wp-content/themes/blackfyre/post_templates.php on line 1

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.