Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Block: Latest Posts CPT #9013

Closed
philliproth opened this issue Aug 15, 2018 · 11 comments
Closed

Update Block: Latest Posts CPT #9013

philliproth opened this issue Aug 15, 2018 · 11 comments
Labels
[Block] Latest Posts Affects the Latest Posts Block [Feature] Blocks Overall functionality of blocks [Type] Enhancement A suggestion for improvement.

Comments

@philliproth
Copy link

I would love the "Latest Posts"-Block to have a drop down for choosing either the regular posts or if one or several custom post type are enabled the opportunity to choose on of them.

  • add a select drop down when one or more custom post types are anabled

post

@Soean Soean added [Type] Enhancement A suggestion for improvement. [Feature] Blocks Overall functionality of blocks labels Aug 15, 2018
@Soean
Copy link
Member

Soean commented Aug 15, 2018

Related to #1594

@ghost
Copy link

ghost commented Aug 15, 2018

Addition: In order to fully reflect a custom information architecture, the drop down 'Category' has be be replaced/completed with the taxonomies registered for the selected custom post type.

@philliproth
Copy link
Author

Right; be better to switch "Category" and "Post type" aswell then :-)

@0aveRyan
Copy link
Contributor

When this gets added, the default selected post type should be the current post type...

i.e. - User is creating a new Movie item, dropdown should default to movies CPT, user is editing a Comic Book, dropdown should default to comic_books.

@kjellr kjellr mentioned this issue Aug 23, 2018
2 tasks
@mtias
Copy link
Member

mtias commented Aug 24, 2018

Also related #2662

@kjellr kjellr mentioned this issue Sep 7, 2018
5 tasks
@sarahmonster sarahmonster added the [Block] Latest Posts Affects the Latest Posts Block label Nov 1, 2018
@klihelp
Copy link

klihelp commented Jun 13, 2019

+1 Using this for Articles post type which exactly works the same as the regular post type.

@klihelp
Copy link

klihelp commented Jun 13, 2019

Also related to the Archive block.

@draganescu
Copy link
Contributor

@Ringish started some exploration on this issue.

@Ringish
Copy link
Contributor

Ringish commented Mar 12, 2020

Here's a first working commit.

And as @draganescu mentioned at #20046 I should move it to the QueryControls!

ezgif-3-cbf4b52b789c

@paaljoachim
Copy link
Contributor

Based on @ntsekouras Nik's comment here: #20831 (comment)
Should this issue be closed?

@Mamaduka
Copy link
Member

I think we can close this issue. The query block can be used to display posts from different post types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Latest Posts Affects the Latest Posts Block [Feature] Blocks Overall functionality of blocks [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

10 participants