fgms/wp-plugin-cpt 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

fgms/wp-plugin-cpt

Composer 安装命令:

composer require fgms/wp-plugin-cpt

包简介

Wordpress plugin to add custom post types ie awards, testimonials, specials and slideshow custom post types

README 文档

README

Description

This is a wordpress custom post type plugin for the following post types.

  • Awards
  • Testimonials
  • Specials
  • Slideshows
  • Galleries
  • Announcements
  • Media Clippings
  • Newsletters
  • Real Estate

Settings.

Settings -> CPT Settings

Custom Post type Enables

Slideshows -> Settings

Add default slideshow dimensions. Add default secondary slideshow dimensions. Select Secondary defaults to Feature Image / Slideshow.

Galleries -> Settings

Add Filters for galleries, specifically for feature gallery.

Real Estate -> Settings

Price Units. Area Units. Custom menu. Title for index. Pre text for index. Post text for index. Call to action for display page. Table Columns ( select columns, label and order).

Post Types

Awards

Testimonials

Specials

Slideshows

Galleries

Announcements

Media Clippings

Newsletters

Real Estate

Shortcodes

[fgallery]

The [fgallery] shortcode accepts the following attribute.

Attribute Default Description
width 100px width of thumb
height auto height of thumb
class adds class attribute
alt adds alt tag
thumb uses a different image as the thumb
group this adds group to gallery to link images to one group

[fgallery alt="this is the alttext" thumb="absolute/path/to/image" width="150px" height="100%" class="my-class" ][/fgallery]

[page_gallery]

Attribute Description
id The post id of the gallery post
feature This allows feature image or not default is false
filter This adds filters default is true

[page_gallery id="344" feature="true" filter="false" ]

[slick_carousel] and [slick_slide]

This carousel uses jquery plugin from Ken Wheeler at https://github.com/kenwheeler/slick

Attribute Default Description
id slick-carousel-default selector id of
accessibilty true
autoplay false
infinite false
responsive [{breakpoint: 1199, settings: { slidesToShow : 3}},{breakpoint: 989, settings : {slidesToShow : 2}},{breakpoint: 480, settings: {slidesToShow: 1}}]
slidesperrow 3
slidestoshow 3
slidestoscroll 1
speed 300
dots true
arrows true
prevarrow
nextarrow
[slick_carousel id="my_slick_id" dots="false"]
  [slick_slide]<img src />[/slick_slide]
  [slick_slide]<img src />[/slick_slide]
  [slick_slide]<img src />[/slick_slide]
[/slick_carousel]

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2017-08-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固