Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

How can I change the Gallery ID?

by

Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › How can I change the Gallery ID?

  • This topic has 10 replies, 4 voices, and was last updated 5 years, 9 months ago by Peter.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • September 2, 2016 at 8:52 am #13693
    Jarkko58
    Member

    Gallery ID is assigned automatically. How can I change it?

    September 2, 2016 at 12:03 pm #74062
    wzp
    Moderator

    Do this:

    https://support.tipsandtricks-hq.com/forums/topic/wp-photo-seller-change-url-of-album-and-gallery-id-to-name-i-want

    September 5, 2016 at 2:40 pm #74063
    Jarkko58
    Member

    Thank you for your message.

    I want to change the ID of the gallery (Not the url). If I change the url, the ID remains the same. ??

    September 5, 2016 at 2:47 pm #74064
    Jarkko58
    Member

    I need to change the order of the galleries.

    But I can not use ‘Names’ to sort, because I dont want them in alphabetic order. I can not use ‘Date’ to sort, because I want to add the newest photos now and later the oldest ones.

    I need to order them with custom ID.

    September 6, 2016 at 12:03 am #74065
    Peter
    Member

    You can’t change the ID number of a gallery because it is a “primary” database key.

    Why don’t you use the ID sort option? You can sort by ID ascending or descending.

    September 6, 2016 at 11:33 am #74066
    Jarkko58
    Member

    Hi Peter,

    If I use ID sort option it will show the galleries in the same order I have created them.

    I will have about 200 galleries. I want to add first the newest ones. Then later on I will be adding the oldest galleries. But in the future I will add also new galleries.

    If I use ID descending sort option, and add the oldest galleries later, they will be shown first in the frontpage.

    If I use ID ascending sort option, new galleries in the future will not be first in the list.

    September 7, 2016 at 12:14 am #74067
    Peter
    Member

    I am little confused by your explanation but I think you may be asking for either:

    1) sorting by the date a gallery has been updated,

    OR,

    2) displaying the latest added photos across all galleries.

    Number 1 is currently not possible but we can probably add it in a future release.

    Number 2 is currently available as a shortcode.

    Example:

    To display the latest 100 photos added put the following code on a page:

    [WPS_latest_photos number_photos=”100″]

    The above will display the latest 100 added photos across all of your galleries.

    Please confirm which of the above best matches what you are after.

    September 7, 2016 at 11:01 am #74068
    Peter
    Member

    Update:

    I have added the ability to sort by date “updated” for a gallery. I think this will achieve what you are looking for.

    September 7, 2016 at 3:36 pm #74069
    Jarkko58
    Member

    Hi Peter,

    Thank you for your help. It is not quite what I was looking for but it could work (I will check it later).

    I am planning to use albums. I would make one album for every year. And I want to show in the homepage the galleries of the present and the past year.

    For example this year I want to show in the homepage the galleries from the albums 2016 and 2015. Next year I will make a new album called 2017 and want to show the galleries of the albums 2016 and 2017.

    Is there a shortcode to show gallerien of the 2 latest albums?

    (I would like to use shortcode that my client can add his photos without my help..)

    July 13, 2019 at 8:11 pm #74070
    iancc
    Member

    the Latest Photos are displayed with Template 1 is there a way to change that?

    July 22, 2019 at 1:35 am #74071
    Peter
    Member

    Hi iancc,

    Currently the latest photos shortcode feature is only available in the template 1 option.

    I will see what can be done about extending this feature with other templates.

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ