fgms / wp-plugin-cpt
Wordpress plugin to add custom post types ie awards, testimonials, specials and slideshow custom post types
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:wordpress-plugin
Requires
- php: >=5.4
- composer/installers: ~1.0
- kenwheeler/slick: @dev
- sturple/wordpress-utilities: ~1.0
- wpackagist-plugin/piklist: >0.9
This package is not auto-updated.
Last update: 2025-03-30 08:03:58 UTC
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]