サポート » テーマ » respoのテーマによるスライダーが反映されず困ってます。

  • 記事投稿のスライダーが反映されません。

    最初からテーマにflexs sliderプラグインが組み込まれている
    海外のレスポンジブデザインテーマ”Respo”を使用しています。
    http://themnific.com/respo-theme/
    オプションのセッティングは↓2つのみです。
    1.Select a Category for Slider 1. (upload images to the post content).

    2.スライダーを表示しない。
    3.記事内投稿
    html

    <div class="flexslider">
    <ul class="slides">
    	<li><img class="◯◯" src="http://◯○" /></li>
    	<li><img class="◯◯" src="http://◯◯"" /></li>
    	<li><img class="◯◯" src="http://◯◯" alt="" /></li>
    	</ul>
    	  </div>

    全く画像すら表示されない(汗
    試したこと
    1.プラグインを全て停止
    2.Jsファイルの中身slider.start.js
    の$をjQueryに変更しても変わらずです?

    jQuery(window).load(function() {
        jQuery('.flexslider').flexslider({
              animation: "slide",
    			slideshow: true,                //Boolean: Animate slider automatically
    			slideshowSpeed: 7000,           //Integer: Set the speed of the slideshow cycling, in milliseconds
    			animationDuration: 600,         //Integer: Set the speed of animations, in milliseconds
        });
      });

    最初からsliderプラグインが組み込み系のテーマは
    何か他に簡単な設定があるのでしょうか?
    ググってもフォーラム内にはなかったので
    初歩的な質問&重複な質問でしたらすいません(汗
    良いアドバイス、ご教授のほう宜しくお願いします。

1件の返信を表示中 - 1 - 1件目 (全1件中)
  • トピック投稿者 virjin

    (@virjin)

    ひょっとしたらphpの記述が間違ってる?のかスクリプトと干渉してるかも知れません?

    <?php
    wp_enqueue_script('example',get_bloginfo('template_url') . '/js/jquery.flexslider-min.js', array('jquery'), '3.3.1');
    ?>
    <?php
    wp_enqueue_script('example',get_bloginfo('template_url') . '/js/slider.start.js', array('jquery'), '3.3.1');
    ?>
    <?php wp_head(); ?>

1件の返信を表示中 - 1 - 1件目 (全1件中)
  • トピック「respoのテーマによるスライダーが反映されず困ってます。」には新たに返信することはできません。