I want to sort the thumbnails in a arrange of uploading Date. In the moment it sorts by the title.
I tried some things in the function.php.
this is the actually version:
Is it possible to rearange the thumbnails, or does the function only works for new pictures?
$args = array(
‘numberposts’ => 1,
‘post_type’ => ‘attachment’,
‘post_mime_type’ => ‘image’,
‘post_parent’ => get_the_ID(),
‘orderby’ => ‘post_title’,
‘order’ => ‘ASC’
Where is my problem?
This topic was modified 4 years, 3 months ago by Felbecker.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
We craft beautiful free WordPress themes with advanced functionality. Our themes are licenced under GPL and completely free, which means you can use them in any way you like, whether it’s powering up your website, giving your blog a new look, using it for some other project or modifying and redistributing them.
Never miss another release!
Subscribe to our newsletter and we'll keep you updated with new theme releases and recommendations.