File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
packages/block-library/src/query Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change 22 * WordPress dependencies
33 */
44import { __ } from '@wordpress/i18n' ;
5- import { postList } from '@wordpress/icons' ;
65
76/**
87 * Internal dependencies
@@ -15,31 +14,6 @@ import {
1514} from './icons' ;
1615
1716const variations = [
18- {
19- name : 'posts-list' ,
20- title : __ ( 'Posts List' ) ,
21- description : __ (
22- 'Display a list of your most recent posts, excluding sticky posts.'
23- ) ,
24- icon : postList ,
25- attributes : {
26- namespace : 'core/posts-list' ,
27- query : {
28- perPage : 4 ,
29- pages : 1 ,
30- offset : 0 ,
31- postType : 'post' ,
32- order : 'desc' ,
33- orderBy : 'date' ,
34- author : '' ,
35- search : '' ,
36- sticky : 'exclude' ,
37- inherit : false ,
38- } ,
39- } ,
40- scope : [ 'inserter' ] ,
41- isActive : [ 'namespace' , 'query.postType' ] ,
42- } ,
4317 {
4418 name : 'title-date' ,
4519 title : __ ( 'Title & Date' ) ,
You can’t perform that action at this time.
0 commit comments