kznadalin
Forum Replies Created
-
Forum: Plugins
In reply to: [NextGEN Gallery Voting] Missing steps – please helpAlso, how does one clear the NGG cache? It sure would be great if that was all it took!
Forum: Plugins
In reply to: [NextGEN Gallery Voting] Missing steps – please helpShauno, did I put the code in the correct location within the code, as shown above? I’m thinking I might want to add this code to every single template to make sure it’s there, as long as I’m putting it in the right place.
Forum: Plugins
In reply to: [NextGEN Gallery Voting] Missing steps – please helpUpdate: I found the icon under Edit Page, top right corner of the kitchen sink, which says NextGEN Gallery – Attach to Post. I was able to add a gallery to a page, and it displays. I also added the code
<?php echo nggv_imageVoteForm($image->pid); ?>
to the template on the backend on the FTP site.I made sure NOT to select a specific gallery template to display the images. However, the voting under each photo does not display. With any suggestions, I would be so thankful! I really want to get image voting going on this website.
Here is the code, with the suggested code added at the bottom:
<div class=”ngg-gallery-thumbnail”>
get_image_url($image, ‘full’, TRUE))?>”
title=”<?php echo esc_attr($image->description)?>”
data-src=”<?php echo esc_attr($storage->get_image_url($image)); ?>”
data-thumbnail=”<?php echo esc_attr($storage->get_image_url($image, ‘thumb’)); ?>”
data-image-id=”<?php echo esc_attr($image->{$image->id_field}); ?>”
data-title=”<?php echo esc_attr($image->alttext); ?>”
data-description=”<?php echo esc_attr(stripslashes($image->description)); ?>”
<?php echo $effect_code ?>>
<img
title=”<?php echo esc_attr($image->alttext)?>”
alt=”<?php echo esc_attr($image->alttext)?>”
src=”<?php echo esc_attr($storage->get_image_url($image, $thumbnail_size_name, TRUE))?>”
width=”<?php echo esc_attr($thumb_size[‘width’])?>”
height=”<?php echo esc_attr($thumb_size[‘height’])?>”
style=”max-width:none;”
/>
</div>
<?php
$this->end_element();
?>
</div>
<?php echo nggv_imageVoteForm($image->pid); ?>
<?php
$this->end_element();
?>What am I doing wrong?
Forum: Fixing WordPress
In reply to: Every post URL returns a 404 error.I’m actually having the same problem, but changing the URL permalink is not helping.