Плагины не работают только в моей теме что делать?
-
Всем привет! Первый раз сделал тему под ВП. Но плагины не работают (Lightbox Plus ColorBox). При установке дэфолтовой темы всё запускается. Подскажите пожалуйста в чём проблема? КОд ниже:
<?php /** * The template for displaying all pages * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 Template Name: Singlers */ ?> <?php include('header_sin.php'); ?> <div class="main"> <!--<div class="text"> Copyright © 2014. All Rights Reserved. GTX-Design. Tel.: +38 066 036 71 99, Skype: o.alekseev79<br>Copyright © 2014. All Rights Reserved. GTX-Design. Tel.: +38 066 036 71 99, Skype: o.alekseev79 </div> <div class="bannersmoll"> </div>--> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <div class="headtext"><?php the_title(); ?></div> <div class="content"><?php the_content(); ?></div> </div> <!--<div class="nav">--> <ul id="navigation"> <li class="home"><a href="http://gtx-design.com/" title="home"></a></li> <li class="services"><a href="http://gtx-design.com/services/" title="Services"></a></li> <li class="printed"><a href="http://gtx-design.com/print/" title="Printed"></a></li> <li class="web"><a href="http://gtx-design.com/web-3/" title="Web"></a></li> <li class="pack"><a href="http://gtx-design.com/pack/" title="Pack"></a></li> <li class="animation"><a href="http://gtx-design.com/animation/" title="Animation"></a></li> <li class="otherworks"><a href="http://gtx-design.com/other/" title="Other works"></a></li> <li class="photo"><a href="http://gtx-design.com/photo/" title="Photo"></a></li> <li class="contact"><a href="http://gtx-design.com/contacts/" title="Contact"></a></li> </ul> <script type="text/javascript"> $(function() { $('#navigation a').stop().animate({'marginLeft':'-125px'},1000); $('#navigation > li').hover( function () { $('a',$(this)).stop().animate({'marginLeft':'-2px'},200); }, function () { $('a',$(this)).stop().animate({'marginLeft':'-125px'},200); } ); }); </script> <?php endwhile; else: ?> <div class="headtext">error...</div> <div class="texts"> <div class="posttext"> данной страницы не существует. </div> </div> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php include('footer_sin.php'); ?>
Просмотр 3 ответов — с 1 по 3 (всего 3)
Просмотр 3 ответов — с 1 по 3 (всего 3)
- Тема «Плагины не работают только в моей теме что делать?» закрыта для новых ответов.