krisscross90
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Custom Post Search] Taxonomy Hierarchy in DropdownThanks Shane!
It’s because I’ve enabled hidden images AND added the sale-price code from my previous post.
Everything worked fine before this, but I really needed the functionality that hidden images gives the user when using lightbox (shows all of the images without using pagination).
It’s basically hiding the image as it should, but I would also need it to hide the text and price too. I just can’t figure out how to do this and was hoping someone could give me some pointers.
Here is my custom gallery template for the page:
<?php /** Template Page for the gallery overview Follow variables are useable : $gallery : Contain all about the gallery $images : Contain all images, path, title $pagination : Contain the pagination content You can check the content when you insert the tag <?php var_dump($variable) ?> If you would like to show the timestamp of the image ,you can use <?php echo $exif['created_timestamp'] ?> **/ ?> <?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?><?php if (!empty ($gallery)) : ?> <div class="ngg-galleryoverview" id="<?php echo $gallery->anchor ?>"> <?php if ($gallery->show_slideshow) { ?> <!-- Slideshow link --> <div class="slideshowlink"> <a class="slideshowlink" href="<?php echo nextgen_esc_url($gallery->slideshow_link) ?>"> <?php echo $gallery->slideshow_link_text ?> </a> </div> <?php } ?> <?php if ($gallery->show_piclens) { ?> <!-- Piclense link --> <div class="piclenselink"> <a class="piclenselink" href="<?php echo nextgen_esc_url($gallery->piclens_link) ?>"> <?php _e('[View with PicLens]','nggallery'); ?> </a> </div> <?php } ?> <!-- Thumbnails --> <?php $i = 0; ?> <?php foreach ( $images as $image ) : ?> <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $image->style ?> > <div class="ngg-gallery-thumbnail2" > <a href="<?php echo nextgen_esc_url($image->imageURL) ?>" title="<?php echo esc_attr($image->description) ?>" data-src="<?php echo nextgen_esc_url($image->imageURL); ?>" data-thumbnail="<?php echo nextgen_esc_url($image->thumbnailURL); ?>" data-image-id="<?php echo esc_attr($image->pid); ?>" data-title="<?php echo esc_attr($image->alttext); ?>" data-description="<?php echo esc_attr($image->description); ?>" <?php echo $image->thumbcode ?> > <?php if ( !$image->hidden ) { ?> <img title="<?php echo esc_attr($image->alttext) ?>" alt="<?php echo esc_attr($image->alttext) ?>" src="<?php echo nextgen_esc_url($image->thumbnailURL) ?>" <?php echo $image->size ?> /> <?php } ?> </a> <div class="sale-price"> <span class="was-price"><?php echo nggcf_get_field($image->pid, "Price Was"); ?></span> <span class="now-price"><?php echo nggcf_get_field($image->pid, "Price Now"); ?></span> </div> <p><?php echo esc_attr($image->alttext) ?></p> </div> </div> <?php if ( $image->hidden ) continue; ?> <?php if ($gallery->columns > 0): ?> <?php if ((($i + 1) % $gallery->columns) == 0 ): ?> <br style="clear: both" /> <?php endif; ?> <?php endif; ?> <?php $i++; ?> <?php endforeach; ?> <!-- Pagination --> <?php echo $pagination ?> </div> <?php endif; ?>
Forum: Plugins
In reply to: [WP-ShowHide] Can this be used with other plugins?Thank you!
I didn’t. We decided to remove the plugin and just use the built in woocommerce lightbox instead. I hope you find some answers ??
Forum: Plugins
In reply to: [Tiny Carousel Horizontal Slider] Image Alt AttributesThank you!
Forum: Plugins
In reply to: Woocommerce click and collectI would really like to know this too.
Forum: Plugins
In reply to: [Projects by WooThemes] Projects duplicatingThanks James! That works perfectly!
Forum: Plugins
In reply to: [Projects by WooThemes] Projects duplicatingthanks for your quick reply! I did add the shortcode to the projects page as I couldn’t figure out how to lay out the projects in 3 columns without this. Can you tell me how to set it up in 3 columns without using the shortcode please?
Forum: Plugins
In reply to: [Awesome Filterable Portfolio] Link Image to Page?This used to work for me, but now when I left click on the image it brings up the lightbox viewer. However if I right click > open in new tab the page opens fine. Can anyone tell me how to disable the image lightbox feature so this works again please? Thanks!
Forum: Plugins
In reply to: [WooCommerce] Variable Product – Is this the best way??This is just what I’m looking for!! Would anyone know if it’s possible to have images to click on instead of a dropdown box to choose the colour of an item for example?
Forum: Reviews
In reply to: [JQuery Accordion Menu Widget] Works well, and nice looking.May i ask, how did you get this plugin to convert into a mobile select menu using the responsive select menu plugin? I can’t seem to get it to work on my website. Many thanks in advance!
Hi Setnaps. No i didn’t find a solution unfortunately. I’ve just saved my changes to a txt file on my computer and everytime I update, I just copy over my code. Bit of a hassle though! Hope you find some answers! ??
Forum: Plugins
In reply to: [Plugin: Infinite Scroll] How to use with Tetris theme?Did anyone find this out yet? I think i’ve found all of the selectors, except the next selector. The theme only seems to allow you to go to the next page by clicking the corresponding number (there’s no “next” button).
Thanks!Turns out my gallery was defaulted to an unknown template. Nextgen set the global default to blank in Gallery > Gallery Settings > NextGEN Basic Thumbnails … and then edited the gallery page and re-saved the ATP set gallery to also use the default (blank) template and its now working! Thanks Nextgen!! Great support! ??
I’ve also tried using the ATP button on my page which gives the same: [Not a valid template]. My website is https://millionairewall.ie/gallery/