Skip to content

Commit

Permalink
multiple post_type
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome committed Feb 3, 2021
1 parent acac2cb commit 6afdab0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
CHANGELOG
---------

##1.1.5
#### Feature
- Latest post component allow multiple post_type

##1.1.4
#### Bugfix
- Allow empty tag
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name":"metabolism/acf-extensions",
"version": "1.1.4",
"version": "1.1.5",
"type": "wordpress-plugin",
"description": "ACF Extensions plugin with component, components, hidden field ans latest posts field",
"license": "GPL-3.0-or-later"
Expand Down
6 changes: 3 additions & 3 deletions fields/class-acf-field-latest_posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ function render_field_settings( $field ) {
'type' => 'select',
'name' => 'post_type',
'choices' => acf_get_pretty_post_types(),
'multiple' => 0,
'ui' => 0,
'allow_null' => 1,
'multiple' => 1,
'ui' => 1,
'allow_null' => 0,
'placeholder' => __("All post types",'acf'),
));

Expand Down

0 comments on commit 6afdab0

Please sign in to comment.