WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove text 'image' and counter (1/10) at RPS Image Gallery (2 posts)

  1. TimoElshof
    Member
    Posted 1 year ago #

    Hello,

    I have installed RPS Image Gallery and I'm very happy with it. I would like to remove or translate the word 'image' which is displayed left in the black bar. Further on, I would like to remove the image counter (1/10, 2/10, 3/10 ..) Is this possible?

  2. TimoElshof
    Member
    Posted 1 year ago #

    I figured it out:

    If you want to make the titles and the black bar at the bottom dissapear, change 'true' into 'false':

    // fancybox attributes
    'fb_title_show' => 'true',

    If you want to change the word 'Image' change the word 'Image' in this piece of code:

    // not editable via shortcode
    'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
    return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? '   ' + title : '') + '</span>';

Topic Closed

This topic has been closed to new replies.

About this Topic