定制 benjaminmedia/wp-manual-cu 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

benjaminmedia/wp-manual-cu

最新稳定版本:v0.1.3

Composer 安装命令:

composer require benjaminmedia/wp-manual-cu

包简介

A plugin that allows you to manually add Specific Content Units to WordPress

关键字:

README 文档

README

a plugin that allows you to manually add Specific Content Units to WordPress

##Customization

change the width of the container (width between the banners)

.bonnier-banner-container.sticky {
width: 930px;
}

change offset from the top:

.bonnier-banner-container.sticky .banner {
top: 700px;
}

To only change offset on the left/right:

.bonnier-banner-container.sticky .left .banner {
   top: 200px;
}

##Shortcode If you want to manually add a banners somewhere, you can use the shortcode.

[banner sticky="true" cu="xxxxxx" offset="" parent-container=""]

sticky = (bool) If set to true, the banner will remain on screen while scrolling

cu = Content Unit number

offset = top Offset in pixels where the banner will start to be sticky (default = calculates the offset itself)

parent-container = jQuery selector element on which the sticky banner will scroll inside

统计信息

  • 总下载量: 339
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 14
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPLv3
  • 更新时间: 2015-11-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固