WordPress.org

Ready to get started?Download WordPress

Forums

Lightbox Plus Colorbox
[resolved] how to add "of" text to number count... I.E. 1 "of" 3, 2 "of" 3", (5 posts)

  1. jStormThaKid
    Member
    Posted 1 year ago #

    I am trying to just simply add "of" to the code, but I can't seem to find where it needs to go... I simply want the lightbox to read 1 "of" 3, 2 "of" 3", etc...

    http://wordpress.org/extend/plugins/lightbox-plus/

  2. DigitalEssence
    Member
    Posted 1 year ago #

    I had the same issue as you. The current/total numbering appears to be broken and was just displaying 68 78 88 instead of 6 of 8, 7 of 8 etc.

    If you go to the settings > interface > Image Grouping > Grouping Labels and what I added was "one" and "of" in the first and second box respectively and I now get "image 3 of 7" output in my lightbox. I'm sure this isn't how it's supposed to be done but I can move on now.

    I noticed that the readme says: "Fixed image X of X problem, can disable Image X of X" so I'm wondering if I'm missing something simple here?

  3. blakevond
    Member
    Posted 1 year ago #

    Thanks for the tip DigitalEssence. Worked like a charm.

  4. jStormThaKid
    Member
    Posted 1 year ago #

    Hey DigitalEssence, Thank You for taking the time to respond to this! It helped out alot!

  5. rschulze
    Member
    Posted 1 year ago #

    It's in the Javascript.
    /wp-content/plugins/lightbox-plus/js/jquery.colorbox.1.3.32.js
    line 35:
    Just delete the "image", save and upload. Then you'll have your "# of #", instead of "image # of #".

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.