0

我安装了一个 WooThemes OnePager 作为主题,并且该主题带有一个特色滑块。滑块只能容纳 10 张图像。在使用 OnePager 模拟 iBook(用于 Ipad)时,我需要 10 多张图像。我无法在 Javascript 中找到更改它的位置,而且我不知道如何更改它(因为我对 Javascript 不够先进)。

这是带有所有 Javascript 文件的 WooSlider 的 GitHub: https ://github.com/woothemes/flexslider

这是供下载和检查的 OnePager 主题:http: //sacredstring.com/timeandregan/theonepager.zip

上述站点也是安装了 OnePager 的站点。

在“theme-options.php”文件中有代码

$options[] = array( 'name' => __( 'Number of Slides', 'woothemes' ),
                'desc' => __( 'Select the number of slides that should appear in the featured slider.', 'woothemes' ),
                'id' => $shortname . '_featured_entries',
                'std' => '3',
                'type' => 'select',
                'options' => $slide_options );

任何见解都非常感谢。

4

1 回答 1

0

啊! 找到了。谢谢尼科尔坎德森。一个简单的错误 - 我的硬盘上没有正确的 OnePager 并一直在另一个主题中搜索:/ errg

在“theme-options.php”文件中有这行代码:

// More Options
$slide_options = array();
$total_possible_slides = 10;
for ( $i = 1; $i <= $total_possible_slides; $i++ ) { $slide_options[] = $i; }

将可能的幻灯片更改为 30 并且它可以工作。

于 2013-10-29T06:54:59.583 回答