Sorting gallery thumbnails and other questions

Viewing 10 posts - 1 through 10 (of 10 total)
  • #13190
    Tim
    Participant

    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.

    #13196
    Tim
    Participant

    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?

    #13721
    sean_themighty
    Participant

    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.

    #13725
    Tim
    Participant

    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.

    #13770
    sean_themighty
    Participant

    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.

    #13773
    Tim
    Participant

    Tried that and all of my images disappeared, so I’ll wait for the theme update. Thanks.

    #14902
    Tim
    Participant

    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?

    #15125
    Daniel Tara
    Keymaster

    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.

    #15138
    Tim
    Participant

    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.

    #15191
    Tim
    Participant

    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!!

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.