• Hey everyone!

    My wordpress familiarity is like a 5/10.

    I’m setting up this website, but I have this ” ); ” at the top of the page. I assumed it was something in the header.php but couldn’t find it. I’m wondering if someone knew where I could find it to erase that bit?

    I would be forever grateful!
    Thanks kindly!

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • It’s a jetpack thing if I remember correctly. Just go into jetpack and shut off smiley in traffic or stats

    Thread Starter bjoelc

    (@bjoelc)

    Appreciate the comment, I don’t think that’s it, I don’t have jetpack installed!

    Oh, okay. Then it’s just extra code that someone didn’t remove.

    Thread Starter bjoelc

    (@bjoelc)

    any advice on how to remove it? I can’t find the line that the code is in

    If you have FTP access that would be my suggestion. Then edit header.php file. It’s right after body tag.

    If you don’t have FTP you can edit in WP itself by going to APPEARANCE > THEME EDITOR

    Then look on the right for Theme Header that will be the header.php file.
    you’ll see it right here

    View post on imgur.com

    Thread Starter bjoelc

    (@bjoelc)

    Thanks so much for checking. Here’s what I have for theme header, I’ve looked I just can’t find the damn thing:

    <?php global $qode_options_proya, $wp_query; ?>
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>” />
    <?php
    if (isset($_SERVER[‘HTTP_USER_AGENT’]) && (strpos($_SERVER[‘HTTP_USER_AGENT’], ‘MSIE’) !== false)) {
    echo(‘<meta content=”IE=edge,chrome=1″ http-equiv=”X-UA-Compatible”>’);
    } ?>

    <title><?php wp_title(”) ?></title>

    <?php
    /**
    * qode_header_meta hook
    *
    * @see qode_header_meta() – hooked with 10
    * @see qode_user_scalable_meta() – hooked with 10
    */
    do_action(‘qode_header_meta’);
    ?>

    <link rel=”profile” href=”https://gmpg.org/xfn/11&#8243; />
    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />
    <?php if(qode_options()->getOption(‘favicon_image’) !== ”){ ?>
    <link rel=”shortcut icon” type=”image/x-icon” href=”<?php echo esc_url($qode_options_proya[‘favicon_image’]); ?>”>
    <link rel=”apple-touch-icon” href=”<?php echo esc_url($qode_options_proya[‘favicon_image’]); ?>”/>
    <?php } ?>
    <?php wp_head(); ?>
    </head>

    <body <?php body_class(); ?> itemscope itemtype=”https://schema.org/WebPage”&gt;

    <?php
    $params = qode_header_parameters();
    extract($params);

    echo qode_get_module_template_part(‘templates/parts/ajax-loader’, ‘header’);

    echo qode_get_module_template_part(‘templates/side-area/side-area’, ‘header’, ”, $params);
    ?>

    <div class=”wrapper”>
    <div class=”wrapper_inner”>

    <?php do_action(‘qode_after_wrapper_inner’); ?>

    <!– Google Analytics start –>
    <?php if (qode_options()->getOptionValue(‘google_analytics_code’) != “”){?>
    <script>
    var _gaq = _gaq || [];
    _gaq.push([‘_setAccount’, ‘<?php echo $qode_options_proya[‘google_analytics_code’]; ?>’]);
    _gaq.push([‘_trackPageview’]);

    (function() {
    var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
    ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl&#8217; : ‘https://www&#8217;) + ‘.google-analytics.com/ga.js’;
    var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
    })();
    </script>
    <?php } ?>
    <!– Google Analytics end –>

    <?php
    if($enable_vertical_menu) {
    echo qode_get_module_template_part(‘templates/vertical-header’, ‘header’, ”, $params);
    }else{
    switch($header_bottom_appearance){
    case ‘stick menu_bottom’:
    $header_appearance_slug = ‘stick_menu_bottom’;
    break;
    case ‘fixed fixed_minimal’:
    $header_appearance_slug = ‘fixed_minimal’;
    break;
    default:
    $header_appearance_slug = $header_bottom_appearance;
    break;
    }
    echo qode_get_module_template_part(‘templates/header-appearance/header’, ‘header’, $header_appearance_slug, $params);
    }

    echo qode_get_module_template_part(‘templates/parts/back-to-top’, ‘header’, ”, $params);
    echo qode_get_module_template_part(‘templates/popup-menu/popup-menu’, ‘header’, ”, $params);
    echo qode_get_module_template_part(‘templates/parts/fullscreen-search’, ‘header’, ”, $params);
    ?>

    <?php if(qode_options()->getOptionValue(‘paspartu’) == ‘yes’){ ?>
    <div class=”paspartu_outer <?php echo qode_get_paspartu_class(); ?>”>
    <?php if(qode_options()->getOptionValue(‘vertical_area’) == “yes” && qode_options()->getOptionValue(‘vertical_menu_inside_paspartu’) == ‘no’) { ?>
    <div class=”paspartu_middle_inner”>
    <?php }?>

    <?php if((qode_options()->getOptionValue(‘paspartu_on_top’) == ‘yes’ && qode_options()->getOptionValue(‘paspartu_on_top_fixed’) == ‘yes’) ||
    (qode_options()->getOptionValue(‘vertical_area’) == “yes” && qode_options()->getOptionValue(‘vertical_menu_inside_paspartu’) == ‘yes’)){ ?>
    <div class=”paspartu_top”></div>
    <?php }?>

    <div class=”paspartu_left”></div>
    <div class=”paspartu_right”></div>
    <div class=”paspartu_inner”>
    <?php } ?>

    <?php if(is_active_sidebar(‘left_side_fixed’)){ ?>
    <div class=”qode_left_side_fixed”>
    <?php
    dynamic_sidebar(‘left_side_fixed’);
    ?>
    </div>
    <?php } ?>

    <div class=”content <?php echo qode_get_content_class(); ?>”>
    <?php
    $animation = get_post_meta($id, “qode_show-animation”, true);
    if (!empty($_SESSION[‘qode_animation’]) && $animation == “”){ $animation = $_SESSION[‘qode_animation’]; }
    if(in_array(qode_options()->getOptionValue(‘page_transitions’), array(‘1’, ‘2’, ‘3’, ‘4’)) || in_array($animation, array(“updown”,”fade”,”updown_fade”,”leftright”))){ ?>
    <div class=”meta”>

    <?php
    /**
    * qode_ajax_meta hook
    *
    * @hooked qode_ajax_meta – 10
    */
    do_action(‘qode_ajax_meta’); ?>

    <span id=”qode_page_id”><?php echo $wp_query->get_queried_object_id(); ?></span>
    <div class=”body_classes”><?php echo implode( ‘,’, get_body_class()); ?></div>
    </div>
    <?php } ?>
    <div class=”content_inner <?php echo $animation;?> “>
    <?php if(in_array(qode_options()->getOptionValue(‘page_transitions’), array(‘1’, ‘2’, ‘3’, ‘4’)) || in_array($animation, array(“updown”,”fade”,”updown_fade”,”leftright”))){
    do_action(‘qode_visual_composer_custom_shortcodce_css’);
    } ?>

    I think you might need to go to support for your theme… There’s a plugin called Qode which probably came with that theme… you might try to disable that or look at its settings.

    Thanks for that. That won’t help but I did just notice you have an open token and a missing ending to your Google UA number. There’s no closing </script>

    Hello! When I searched your source code, the first instance I saw of this set of characters occurred in the wpemojiSettings JavaScript – this may be the culprit. This guide suggests adding lines to your function.php file to resolve the issue.

    // REMOVE WP EMOJI
    remove_action('wp_head', 'print_emoji_detection_script', 7);
    remove_action('wp_print_styles', 'print_emoji_styles');
    
    remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
    remove_action( 'admin_print_styles', 'print_emoji_styles' );
    Thread Starter bjoelc

    (@bjoelc)

    thanks for all the replies! You guys are fantastic.

    I trie a number of different remove wp emoji codes, but to no avail. I could get a hold of Qode to see if it’s something they could fix, I just don’t want to pay them 50$ to do so ??

    Such a strange scenario. I’ve been going through the code line by line but i can’t find anything.

    Hi there,

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    Hope this helps ??

    It’s an open script tag. It needs closing. Then it’ll go away.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘); In my header’ is closed to new replies.