整合图片滑动模块.docVIP

  • 6
  • 0
  • 约 4页
  • 2017-06-08 发布于河南
  • 举报
整合图片滑动模块

我们需要什么?   在开始之前我们需要先下载 SmoothGallery 2.0   第一步,将所需文件放到合适的地方。   解压下载到的smoothgallery   将解压得到的css文件夹复制到wordpress目录wp-content/themes/your_theme_name   将scripts文件夹复制到wp-content/themes/your_theme_name   一旦我们完成这一步,我们就有了在博客上运行SmoothGallery的所需效果代码文件   第二步:在博客主模板代码的Header部分添加CSS和script文件的连接,以便在博客页面进行调用   将以下几行代码添加到主模板代码的Header部分 !–Css SmoothGallery– link rel ”stylesheet” href ” ?php bloginfo ’template_url’ ; ? /css/jd.gallery.css” type ”text/css” media ”screen”/ !–JS Mootools– script type ”text/javascript” src ” ?php bloginfo ’template_url’ ; ? /scripts/mootools.v1.11.js” !–JS SmoothGallery–

文档评论(0)

1亿VIP精品文档

相关文档