Skip to content

Conversation

@lukaspodmelle
Copy link

Fixed error caused by 'post_type' being empty on new custom post creation. Updated frontend code to display a message when there are no images set in the gallery, instead of an error.

lukaspodmelle and others added 3 commits May 21, 2023 23:40
updated 'display on frontend' code
Fixed error when creating new item of custom post_type caused by 'post_type' being empty
@code-mtn
Copy link

code-mtn commented Oct 12, 2024

@lukaspodmelle thank you for your edits. I am listing images in the frontend, I want to show them randomly, but the last image I added appears at the end. How can I show random or last added image at the beginning. I wrote some codes but orderby doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants