/
var
/
www
/
vhosts
/
ihelp.ro
/
ajutam.ro
/
wp-content
/
plugins
/
give
/
blocks
/
donor-wall
/
data
/
/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/blocks/donor-wall/data
mkdir
upload
Name
Size
Mode
Actions
attributes.js
1213
0644
edit
dl
rm
options.js
703
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/blocks/donor-wall/data/attributes.js
(1213B)
/** * WordPress dependencies */ const { __ } = wp.i18n; /** * Block Attributes */ const blockAttributes = { donorsPerPage: { type: 'string', default: '12', }, formID: { type: 'string', default: '0', }, ids: { type: 'string', default: '', }, orderBy: { type: 'string', default: 'post_date', }, order: { type: 'string', default: 'DESC', }, paged: { type: 'string', default: '1', }, columns: { type: 'string', default: 'best-fit', }, showAvatar: { type: 'boolean', default: true, }, showName: { type: 'boolean', default: true, }, showCompanyName: { type: 'boolean', default: false, }, showTotal: { type: 'boolean', default: true, }, showDate: { type: 'boolean', default: true, }, showComments: { type: 'boolean', default: true, }, showAnonymous: { type: 'boolean', default: true, }, onlyComments: { type: 'boolean', default: false, }, commentLength: { type: 'string', default: '140', }, readMoreText: { type: 'string', default: __( 'Read more' ), }, loadMoreText: { type: 'string', default: __( 'Load more' ), }, avatarSize: { type: 'string', default: '60', }, }; export default blockAttributes;
Save
cmd:
run