nezumi
Forum Replies Created
-
Thanks!!
Hi,
I do currently use an older version of PHP, because I’m migrating an outdated site to a new version based on WordPress. Unfortunately, I have to maintain this php (5.6.40) version temporarily, to keep the old site in the air while I’m busy migrating. So it will probably fix itself after upgrading the PHP.But I’d like to be able to arrange my new site in the mean time, this is why I hoped you’d be able to provide the previous version so I could bring my gallery in order before switching the user acces to the new site.
Thanks for your quick reply!It seems Safari for Mac displays this exact same behavior.
Firefox, Chrome and Internet Explorer display the slider correctly.
When I change the user agent for Safari to internet explorer (development settings), the slider also displays correctly.Hold on!
I found the culprit! And you’ll be happy to know it is nothing URIS related!Jetpack’s feature “Photon” was hijacking my images and resizing them quite zealously.
Turning Photon off fixed everything. It seems to be a common bug.Hope this helps anyone having the same problem!
This solved my problem too!
I have the same problem.
Looking in the running script with firebug it calls for the url: https://www.mysiteurl.com/undefinedWhich obviously returns a 404 error and a broken image icon.
It drives me crazy. How can I remove this sixth ghost slide?Forum: Plugins
In reply to: [WP Customer Reviews] Adding Image to ReviewsI did a quick and dirty work-around to be able to show an image without fiddling too much with the functionality:
In wp-customers-review.php
replaceif ($this->options['show_fields']['fwebsite'] == 1 && $review->reviewer_url != '') { $review->review_text .= '<br /><small><a href="' . $review->reviewer_url . '">' . $review->reviewer_url . '</a></small>'; }
with
if ($this->options['show_fields']['fwebsite'] == 1 && $review->reviewer_url != '') { $review->review_text .= '<br /><div style="max-width: 400px" ><a href="' . $review->reviewer_url . '"><img src="' . $review->reviewer_url . '" style="max-width:100%;"></a></div>'; }
The max width attributes prevents the image from breaking your layout. You can change the 400px to any width you wish.
Entering an image URL in the old website field on the web form, now renders and image in the review.
In wp-customers-review.php and wp-customers-review-admin.php:
Finish by changing all instances of “Website:” in the label texts into “Image URL:” and your visitors will know what to do. (Be sure to leave all of the “fwebsite” code snippits alone.)
So yes, you lose the standard website field by doing this, but you can always add it back as a custom fields on the review form.Edit: You could probably do the same trick with one of the custom fields, but this yielded the immediate result I was after.
Forum: Themes and Templates
In reply to: [Hatch] how to remove bio from mobile version of hatch?In the mobile CSS section, for the line that begins with #author-bio.
Replace the css styling for the mobile author-bio with:
#author-bio { display: none; }This will prevent it from displaying.
Note, if you know the name of the div, you can hide other items like this too.