Richard Ayotte
Forum Replies Created
-
4.7.3 is still broken but for another reason. Looks like debugging was left on. This is on PHP 7.
Warning: fopen(/srv/bindings/code/wp-content/plugins/wp-retina-2x/wp-retina-2x.log): failed to open stream: Permission denied in /srv/bindings/code/wp-content/plugins/wp-retina-2x/wp-retina-2x.php on line 827
Warning: fwrite() expects parameter 1 to be resource, boolean given in /srv/bindings/code/wp-content/plugins/wp-retina-2x/wp-retina-2x.php on line 829
Warning: fclose() expects parameter 1 to be resource, boolean given in /srv/bindings/code/wp-content/plugins/wp-retina-2x/wp-retina-2x.php on line 830function wr2x_log( $data, $isExtra = false ) { global $wr2x_extra_debug; // if ( $isExtra && !$wr2x_extra_debug ) // return; // if ( !$isExtra && !wr2x_is_debug() ) // return; $fh = fopen( trailingslashit( WP_PLUGIN_DIR ) . 'wp-retina-2x/wp-retina-2x.log', 'a' ); $date = date( "Y-m-d H:i:s" ); fwrite( $fh, "$date: {$data}\n" ); fclose( $fh ); }Also a file named .git had to be removed. It caused problems with my own repo.
*bump*
*bump* just looking for a quick response on whether this is possible with the current version of the plugin or it would need to be patched. Thanks.
I’ve been trying to accomplish this in CSS but the styles are inline and there’s JavaScript changing the height of the containing element so some CSS tricks are failing.
Here’s my SCSS so far.
.envira-gallery-public { .envira-gallery-item:nth-child(1n+5) { display: none; } .envira-gallery-4-columns[style] { position: static !important; height: auto !important; } .envira-gallery-item[style] { position: static !important; padding-right: 10px; } }JavaScript keeps changing the height though and writing some JS to fight with the Envira JS isn’t something that I want to get into.
Sorry about the delayed response, I didn’t get ww.wp.xz.cn didn’t send the notification or it didn’t get to my mail box.
WordPress Version: 4.2.4
Envira Lite Version: 1.3.4
URL: https://dev-envirotech.pantheon.io/used-office-furniture-better-than-new/The Client Installation Photo Gallery near the bottom is generated by the [envira-gallery id=”1977″] shortcode and 19 thumbnails are shown on the page. I would like to only see the first 4 thumbnails on that page but be able to see all 19 images in the modal popup.