-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add jQuery slick carousel functionality on front end
The @wordpress/scripts package above version 21.0.2 doesn't extend the default config entries in webpack config file. Instead, the custom entry points will replace all of the default entries. The issue is described here WordPress/gutenberg#38739 . It is appeared that the issue is marked as closed but the problem still persists. This commit downgrades the @wordpress/scripts back to 21.0.2 to allow custom entry build points.
- Loading branch information
1 parent
949eb47
commit a829487
Showing
17 changed files
with
2,794 additions
and
980 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,44 @@ | ||
{ | ||
"$schema": "https://schemas.wp.org/trunk/block.json", | ||
"apiVersion": 2, | ||
"name": "create-block/related-post-slider-block", | ||
"version": "1.0.0", | ||
"title": "Related Post Slider Block", | ||
"category": "widgets", | ||
"icon": "list-view", | ||
"description": "Add related post slider block.", | ||
"supports": { | ||
"html": false, | ||
"align": [ | ||
"full", | ||
"wide" | ||
] | ||
}, | ||
"attributes": { | ||
"display": { | ||
"type": "object", | ||
"default": { | ||
"displayFeaturedImage": true, | ||
"displayCategory": true, | ||
"displayMeta": true, | ||
"displayExcerpt": true, | ||
"displayDotsIndicator": true, | ||
"displayArrowsIndicator": true, | ||
"displayReverseOrder": false | ||
} | ||
}, | ||
"excerptLength": { | ||
"type": "number", | ||
"default": 125 | ||
}, | ||
"totalPostsToShow": { | ||
"type": "number", | ||
"default": 9 | ||
}, | ||
"postsPerSlide": { | ||
"type": "number", | ||
"default": 3 | ||
} | ||
}, | ||
"textdomain": "related-post-slider-block", | ||
"editorScript": "file:./index.js", | ||
"editorStyle": "file:./index.css", | ||
"style": "file:./style-index.css" | ||
} | ||
"$schema": "https://schemas.wp.org/trunk/block.json", | ||
"apiVersion": 2, | ||
"name": "create-block/related-post-slider-block", | ||
"version": "1.0.0", | ||
"title": "Related Post Slider Block", | ||
"category": "widgets", | ||
"icon": "list-view", | ||
"description": "Add related post slider block.", | ||
"supports": { | ||
"html": false, | ||
"align": ["full", "wide"] | ||
}, | ||
"attributes": { | ||
"display":{ | ||
"type":"object", | ||
"default": { | ||
"displayFeaturedImage": true, | ||
"displayCategory": true, | ||
"displayMeta": true, | ||
"displayExcerpt": true, | ||
"displayDotsIndicator": true, | ||
"displayArrowsIndicator": true, | ||
"displayReverseOrder": false | ||
} | ||
}, | ||
"excerptLength": { | ||
"type":"number", | ||
"default": 125 | ||
}, | ||
"totalPostsToShow": { | ||
"type": "number", | ||
"default": 9 | ||
}, | ||
"postsPerSlide": { | ||
"type": "number", | ||
"default": 3 | ||
} | ||
}, | ||
"textdomain": "related-post-slider-block", | ||
"editorScript": "file:./index.js", | ||
"editorStyle": "file:./index.css", | ||
"style": "file:./index.css" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?php return array('dependencies' => array('jquery'), 'version' => '44df66d9a98681851435'); |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '2d8b6a6c0de8ecaf0558'); | ||
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'dd1e835bedef436d61e1'); |
Oops, something went wrong.