Wordpress header.php问题

时间:2014-04-25 13:41:47

标签: wordpress wordpress-plugin wordpress-theming openshift http-caching

我下载了revolution slider插件但是从后端卸载了它,因为它没有满足我的需求。我目前正在使用jQuery Slider by iWebRays但我收到此错误

Fatal error: Call to undefined function putrevslider(in /var/lib/openshift/myappid/app-root/data/themes/MaruahWP/header.php on line 73

在我的header.php文件中(完全)

    <?php
    $my_walker = new my_menu_walker();

    $menu_ins = wp_nav_menu(array(
        'container' => 'div',
        'container_class' => 'nav-container',
        'menu_class' => 'wsite-menu-default',
        'menu_id' => '',
        'theme_location' => 'primary_level',
        'echo' => false,
        'walker'=> $my_walker
        )); ?>
    <!DOCTYPE html>
    <html>

    <head>
    <title><?php wp_title(); ?></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <!--<script src="<?php bloginfo('template_directory'); ?>/js/menus.js" type="text/javascript"></script>-->
        <!--<script type='text/javascript'><!--
            function initFlyouts(){initPublishedFlyoutMenus(<?php echo json_encode($my_walker->menu_json) ?>,"<?php echo $my_walker->menu_json[0]['id'] ?>","<li><a href=\'#\'>{{title}}<\/a><\/li>' ?>,'active',false)}
            window.onload = initFlyouts;
        </script>
        //-->
    <!--<script src="<?php bloginfo('template_directory'); ?>/js/jquery.zrssfeed.min.js" type="text/javascript"></script>-->
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/base.css" />
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/style.css" />
    <link href='//fonts.googleapis.com/css?family=Merriweather:400,300,700' rel='stylesheet' type='text/css' />
    <link href='//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,700,400italic,700italic' rel='stylesheet' type='text/css' />
    <?php wp_head(); ?>
    <script type="text/javascript" src="//s7.addthis.com/js/250/addthis_widget.js#pubid=YOUR-PROFILE-ID"></script>
  </head>

  <body class='tall-header-page  wsite-theme-light'>
  <div class="top-background">
    <div id="header-wrap">
      <div class="container">
        <table id="header">
          <tr>
            <td id="header-right">
              <table>
                <tr>
                    <td class="search"><!--<?php get_search_form(); ?>--></td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </div><!-- end container -->
    </div><!-- end header-wrap -->

    <div id="nav-wrap">
        <div class="container header-align-outer">
            <div class="header-align-mid">
                <div class="header-align-inner">
                    <div class="phone-number"></div>
                    <div id="logo"><span class='wsite-logo'><a href='/'><img src="<?php bloginfo('template_directory'); ?>/images/1389017374.png" /></a></span>
                    <div class="social"><div style="text-align:left;"><div style="height:0px;overflow:hidden"></div>
    <span class="wsite-social wsite-social-default"><a class='first-child wsite-social-item wsite-social-facebook' href='http://facebook.com/MARUAHsg' target='_blank'><span class='wsite-social-item-inner'></span></a><a class='wsite-social-item wsite-social-twitter' href='http://twitter.com/maruahsg' target='_blank'><span class='wsite-social-item-inner'></span></a><a class='last-child wsite-social-item wsite-social-mail' href='mailto:maruahsg@gmail.com' target='_blank'><span class='wsite-social-item-inner'></span></a></span>
    <div style="height:0px;overflow:hidden"></div></div></div></div>
                    <div class="nav-spacer"></div>
                    <?php echo($menu_ins); ?>
                </div><!-- end header align inner -->
            </div><!-- end header align mid -->
        </div><!-- end container -->    
    </div><!-- end top background -->

    <div id="banner-wrap" class="wsite-background">
      <div class="container">
        <div id="banner">

            <div class="wsite-header"><!--The header error seems to appear here--></div>

          <div style="clear:both;"></div>

        </div><!-- end banner -->
      </div><!-- end container -->
    </div><!-- end banner-wrap -->

我删除了头文件但它注意到但是当我把它放回去时我得到错误,即使我没有putrevslider那里。以下是我在OpenShift上的link网站

0 个答案:

没有答案