Ugly Browse Buttons – wrong placement
-
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 siteby 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.
The topic ‘Ugly Browse Buttons – wrong placement’ is closed to new replies.