WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] What are the additional numbers in a gallery ID? (3 posts)

  1. tingc888
    Member
    Posted 1 year ago #

    When I look at the html output from a gallery shortcode, there's an ID associated with the gallery div that says

    id="gallery-175-2"

    I know 175 refers to the post ID. But the 2? What is that referring to?

  2. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    That indicates that there are two posts with the ID 175 and for recognition of that the second one is automatically assigned the number 2 by WordPress.

  3. tingc888
    Member
    Posted 1 year ago #

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic