滑块旋转未出现在视觉作曲家中

时间:2018-09-02 19:08:06

标签: wordpress slider

我正在用WordPress开发自己的个人主题(http://sdemo.ir/vzzamani/) 我的文件是:

404.php
footer.php
functions.php
header.php
index.php
page.php
sidebar.php
style.css

我已经安装了js_composer(visual composer)和滑块旋转插件和智能滑块插件 当我使用智能滑块时,它可以正常工作,但是当我使用滑块旋转时,它不会出现! 我的page.php:

<?php
/**
 * 
 * The template for displaying all pages
 *
 */
get_header(); ?>

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

        <?php /* The loop */ ?>
        <?php while ( have_posts() ) : the_post(); ?>       

            <?php 
            /* check if builder used */
            $isbuilderactive = has_shortcode( get_the_content(), 'vc_row' ) || has_shortcode( get_the_content(), 'rt_row' ) ;

            /* open content container if builder not used */        
            do_action( "rt_content_container", array( "action"=>"start", "sidebar"=>$rt_global_variables['sidebar_position'], "class" => $rt_global_variables["default_content_row_width"], "echo" => $rt_global_variables['sidebar_position'] == "" && $isbuilderactive ? false : true , "overlap" => apply_filters( "rt_content_overlap", true ) ) );
            ?>

                <?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
                <div class="entry-thumbnail">
                    <?php the_post_thumbnail(); ?>
                </div>
                <?php endif; ?>         

                <?php the_content(); ?>
                <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'rt_theme' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>           

            <?php 
            /* close content container if builder not used */       
            do_action("rt_content_container",array("action"=>"end", "sidebar"=>$rt_global_variables['sidebar_position'], "class" => $rt_global_variables["default_content_row_width"], "echo" => $rt_global_variables['sidebar_position'] == "" && $isbuilderactive ? false : true ));
            ?>


            <?php
                /**
                 * Comments
                 */
                if( get_theme_mod( RT_THEMESLUG.'_allow_page_comments' ) && comments_open() ):
            ?>
                    <?php
                        /* open content container for commments if builder is used */       
                        do_action( "rt_content_container", array( "action"=>"start", "class" => $rt_global_variables["default_content_row_width"], "overlap" => false ,"echo" => true ) );
                    ?>

                        <div class='entry commententry'>
                            <?php comments_template(); ?>
                        </div>

                    <?php 
                        /* close content container for commments if builder is used */      
                        do_action( "rt_content_container", array( "action"=>"end", "overlap" => false ,"echo" => true ) );
                    ?>

            <?php endif;?>


        <?php endwhile; ?>      

    <?php else : ?>
        <?php get_template_part( 'content', 'none' ); ?>
    <?php endif; ?>

<?php get_footer(); ?>

有人可以帮助我吗?!

0 个答案:

没有答案