I know this first question has been asked but I have yet to find an answer.
Is there any way to rearrage gallery thumbnails that actually works? I’m using Minimatica as a photography portfolio with five blog posts for categories and when I add images to the gallery for each, I would like to have some control over the order of thumbnails, so I can have the newer ones first. Is it possible to do this?
Header and menu – How can I change the background colour and header/menu texts so I have a black background and light coloured text? Changing the background on the Appearance tab works, but trying to change the text colour is a fail. I’d also like the black background/lighter text on my posts/galleries too.
Thanks. I love the theme, there’s just these two tweaks to add to my site and I’ll be perfectly happy with it.
I forgot my last question. It may not be Minimatica specific but I’ve been unable to find a solution that works to this either..
In the pop up window for the image files, there’s an image count, “Image 2 of 4” etc. How can I get rid of this, please?sean_themightyParticipant
Tim, it’s shockingly easy and I’m really surprised this has gone unanswered so much.
Head over to functions.php find the function “minimatica_post_gallery()” where you’ll find an array “$args”. Just add these two keys to the end of the existing list:
‘orderby’ => ‘post_title’
‘order’ => ‘ASC’
Now your posts will be sorted by title with newest on top. If you want oldest on top, just change ASC to DESC. You will have to rename your titles. Putting numbers in front is easiest.
Oh, and be sure you add the commas to the end of the argument keys except for the last one.
Does that rearrange posts or the thumbnails within them? I just want to add new images to an existing post and have the newest thumbnails first, not arrange the posts themselves. Thanks.sean_themightyParticipant
Tim, this rearranges the thumbnails within the default gallery template. So if you make a new page, and set it as a gallery page, this will sort your thumbnails.
When you add new media to the page, it will sort it all again. So If you have your media titles numbered, you can have the higher numbers posted first. That way anything you add is on top.
Tried that and all of my images disappeared, so I’ll wait for the theme update. Thanks.
So has anyone managed to work out how to do this satisfactorily yet?
I don’t really want to update the theme, if this function has been added to 1.0.9, because I’ll lose all my modifications and I really don’t want to have to try to remember all my edits!
Surely this gallery sort can be arranged with a line or two of code?Daniel TaraKeymaster
I think that you’re unable to rearrange the gallery thumbnails because you’re using the gallery post format instead of the gallery shortcode. Try using the standard post format and insert a gallery shortcode and then you’ll be able to rearrange the thumbnails.
Hi.. I had a go at reworking my posts using the create gallery feature with standard post format and I could create thumbnails, but clicking them gave me a page not found error. So I deleted the images from the library and tried again after reupping them – same result. So then I deleted the images and the post itself and made a new post, reupped the images as a gallery with the standard post format and the same thing happened. The thumbnails show up, but clicking them returns ‘page not found’.
So I deleted the post, used gallery format and reloaded everything in the same way as I had them before, and it all works. But of course I can’t reorder my thumbnails, so I’m screwed.
In addition, using standard posting and setting a featured image puts the featured image into the post above the gallery, which doesn’t work anyway because if you don’t get the missing page error, the image loads into the post and not in the lightbox.
I’ve been messing about for hours, deleting, reloading, renaming, rewriting posts and the gallery feature does not appear to work with this theme.
If it does, a tutorial might be useful because nothing I’ve found online solves the many problems I have had getting this to work. The only way I can get it to work is by using the method I’ve used, which is not good because there’s no control over the thumbs!!
You must be logged in to reply to this topic.