• Resolved atomic77

    (@atomic77)


    Hi, I found a small bug related to Ugly Browse Buttons.
    When I set “size=0.8” in:
    [wppa type=”thumbs” album=”3″ size=”0.8″][/wppa]

    Buttons are placed on top of the page, not in the middle, because height of the image is wrong ($wppa[‘fullsize’] is 0.8)
    my small fix in wppa-functions.php, line 1989:
    $gfs = ( is_numeric( $wppa['fullsize'] ) && $wppa['fullsize'] > '0' ) ? $wppa['fullsize'] : $fs;
    to:
    $gfs = ( is_numeric( $wppa['fullsize'] ) && $wppa['fullsize'] > '1' ) ? $wppa['fullsize'] : $fs;
    Of course I don’t know if this won’t brake something else, but it’s working on my site

    by the way: breadcrumbs names shows not translated (strings are translated in po / mo files)
    I mean “Featured photos” path and “Page:” popup. I checked two different themes. The rest of strings are translated, language is set to pl_PL.

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

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

    (@opajaap)

    $gfs = ( is_numeric( $wppa[‘fullsize’] ) && $wppa[‘fullsize’] > ‘0’ ) ? $wppa[‘fullsize’] : $fs;
    to:
    $gfs = ( is_numeric( $wppa[‘fullsize’] ) && $wppa[‘fullsize’] > ‘1’ ) ? $wppa[‘fullsize’] : $fs;

    ‘You don’t need to be complex to be brilliant!’ Thanx a lot!

    The language issue: these strings are not translated in the language file.
    If you list them here including the translations, i can put them into.
    You can also enhance the translations yourself. Read this topic: http://wppa.opajaap.nl/wppa-tutorial/how-to-translate-wppa/ and send me the new files when done.

Viewing 1 replies (of 1 total)

The topic ‘Ugly Browse Buttons – wrong placement’ is closed to new replies.