响应式菜单在主页中快速关闭

时间:2019-02-04 10:32:23

标签: php css wordpress menu responsive

我在“响应式”菜单上遇到问题,当我单击该菜单时,它会快速打开和关闭,但这只是在主菜单中发生,因为在其他页面中却没有发生。所有页面都使用相同的menu.php,我恢复了备份的menu.php文件,并且发生了相同的事情,我还恢复了homepage.php和header.php,并且没有任何变化,相同的问题。

<?php /* Template Name: Home Page */ ?>

<?php include ( TEMPLATEPATH . '/header.php'); ?>
<?php include ( TEMPLATEPATH . '/includes/nav/menu-sup.php'); ?>
<?php include ( TEMPLATEPATH . '/includes/varios/quick-contact.php'); ?>

    <?php if ( have_posts() ) : ?>

        <?php while ( have_posts() ) : the_post(); ?>

            <?php include ( TEMPLATEPATH . '/includes/home/slider.php'); ?>
            <div align="center">
    <a href="http://page.org/page/" target="_blank"><img src="http://www.page.org/wp-content/themes/page/images/22.jpg" /></a>
        <a href="http://pagecalendar" target="_blank"><img src="http://www.page.org/wp-content/themes/page/images/portal31.png" /></a>  
    <a href="https://www.facebook.com/pg/page.org/photos/?tab=album&album_id=168951596363636788" target="_blank"><img src="http://www.page.org/wp-content/themes/page/images/GOLF.png" /></a>
    <!--<a href="http://page.org/padel" target="_blank"><img src="http://www.page.org/wp-content/themes/page/images/PADELRESP.gif" /></a>-->
    <a href="http://page.org/no-category/forjm/#anchor/" target="_blank"><img src="http://www.page.org/wp-content/themes/page/images/bannerweb2.png" /></a>

</div>
            <?php include ( TEMPLATEPATH . '/includes/intros/home-intro.php'); ?>
            <?php include ( TEMPLATEPATH . '/includes/home/colaborate.php'); ?>
            <div align="center">
       <a href="http://www.radio.com" target="_blank"> <img src="http://www.page.org/wp-content/themes/page/images/radio3mobile.png" /></a>
      <!-- <a href="http://www.page.org/document_oficials/N1 Magazine.pdf" target="_blank"> <img src="http://www.page.org/wp-content/themes/page/images/magazinemobile.jpg" /></a>-->
      <a href="http://page.org/magazine/" target="_blank"> <img src="http://www.page.org/wp-content/themes/page/images/magazinemobile.jpg" /></a>
</div>
            <?php include ( TEMPLATEPATH . '/includes/home/loop-news.php'); ?>

        <?php endwhile; ?>

    <?php else: ?>
        <?php include ( TEMPLATEPATH . '/includes/vars/loop-void.php'); ?>
    <?php endif; ?>

    <!--<?php include ( TEMPLATEPATH . '/includes/home/newsletter.php'); ?>-->

<?php include ( TEMPLATEPATH . '/includes/nav/menu-inf.php'); ?>  
<?php include ( TEMPLATEPATH . '/footer.php'); ?>

0 个答案:

没有答案