Ask your WordPress questions! Pay money and get answers fast! (more info)

Modification of a Plugin: Tiled Galleries Carousel W/out Jetpack WordPress

  • SOLVED

There is a plugin called Tiled Galleries Carousel Without Jetpack – WordPress Plugin located [[LINK href="https://themepacific.com/wp-plugins/tiled-galleries-carousel-without-jetpack-wordpress-plugin/"]]here[[/LINK]]

What I would like is to deactivate fully the comments, image name, comment submit form, and meta data of the images. Normally, I just look for the CSS selector and use display: none !important; but what I'd like is to have these sections removed from the code of the plugin all together. Rename it with Modified at the end so it doesn't update and that it.

See the image below so you know what I mean. I don't want any of this to even load up, because when I just use CSS you see loading in the bottom of the screen but doesn't display, I'd like to remedy this by removing the appropriate code from the plugin.

http://www.ledesma.co/wp-content/uploads/2014/12/Screen-Shot-2014-12-19-at-6.48.06-PM.png

Let me know,
JL

Answers (1)

2014-12-19

Bob answers:

There are already plugin which can be helpful

like
[[LINK href="https://wordpress.org/plugins/wp-photoswipe/"]]https://wordpress.org/plugins/wp-photoswipe/[[/LINK]]
[[LINK href="https://wordpress.org/plugins/photoswipe-for-nextgen-gallery/"]]https://wordpress.org/plugins/photoswipe-for-nextgen-gallery/[[/LINK]]
[[LINK href="http://codecanyon.net/item/justified-image-grid-premium-wordpress-gallery/2594251?ref=Firsh"]]http://codecanyon.net/item/justified-image-grid-premium-wordpress-gallery/2594251?ref=Firsh[[/LINK]]


Jorge Ledesma comments:

the 1st one you mention is the old version.

the 2nd one you mention I already have Nextgen Pro and Plus and Photoswipe implementation is the old one as well. Photoswipe has been re-written by Dimitry and its version 4, the one I noted above. So those suggestions wouldn't work for me.


Bob comments:

To hide comment form you can add following code in your theme's functions.php file


function filter_media_comment_status( $open, $post_id ) {
$post = get_post( $post_id );
if( $post->post_type == 'attachment' ) {
return false;
}
return $open;
}
add_filter( 'comments_open', 'filter_media_comment_status', 10 , 2 );


Bob comments:

Here is updated plugin for you.
[[LINK href="http://wp-lovers.com/wpquestions/tiled-gallery-carousel-without-jetpack.zip"]]http://wp-lovers.com/wpquestions/tiled-gallery-carousel-without-jetpack.zip[[/LINK]]