Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
用 HTML/CSS 构建了一个主题,并定制了一个循环插件,使其成为一个带有分页的画廊。工作完美,现在将主题变成了 wordpress,并且寻呼机正在添加额外的数字,例如每个图像之间的空白幻灯片。有人见过这个吗?
解决了,奇怪。是 wordpress<br />自动添加 break ( ) 标签的问题。没有帮助大声笑。如果您遇到这种情况,请尝试将其添加到模板文件的顶部,
<br />
<?php remove_filter ('the_content', 'wpautop'); ?>
您还可以使用 'slideExpr' 选项来指定应将哪些元素用作幻灯片。
http://jquery.malsup.com/cycle/slideExpr.html