Support » Plugin: WP Photo Album Plus » Remove link and image titles

  • Resolved NewSha

    (@newsha)


    I use “slideshow of the photos in an album” gallery type.

    Since I’m producing a multilingual website, I need to remove or rename title attributes in the following places:

    Class wppa-arrow link title – Next, Previous, [number of photos] back and [number of photos] forward;
    Class wppa-film-1 image title – Double click to start/stop slideshow running.

    I’m ok with changing a couple of lines of code in the plugin folder or altering some fields in the database. Just direct me what files should I be looking at.

    https://wordpress.org/plugins/wp-photo-album-plus/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    If your multi lingual system properly defines the locale, the translations would be done automaticly, provided that the language files in wppa for the languages exist.

    Example: this works with qTranslate.

    See file wppa-non-admin.php line 443-537

    Thread Starter NewSha

    (@newsha)

    Thanks for your reply!

    I’m using xili-language plugin and xili-dictionary for translations. Using this plugin, unfortunately I can’t find some of the terms from WP Photo Album Plus to translate. There is a huge list of terms that are available for translation, but the ones that I need are missing.

    It would be perfectly fine for me simply to remove those link and image titles (‘Next’, ‘Previous’, ‘[number of photos] back’, ‘[number of photos] forward’ and ‘Double click to start/stop slideshow running’).

    Please, direct me how can I do this.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    wppa-slideshow.php, various locations. search for title= with an editor like notepad++

    Thread Starter NewSha

    (@newsha)

    Thank you! I found the most of them in wppa-slideshow.php and ‘Double click to start/stop slideshow running’ in wppa-init.en.js.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Almost good. the file wppa-init.en.js. will be automaticly re-created after changing any setting, so your mods get lost there.
    Edit wppa-non-admin.php somewhere between lines 443 and 537, where it comes from.

    for plugins in front-end side, xili-language is able to redirect the plugin text domain to the theme text domain, so it is possible to personalize translation of terms in the front side with xili-dictionary. (without changing source 😉

    xili-language author

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove link and image titles’ is closed to new replies.