nextgen-gallery returning incorrect search results
-
I posted this on Alex’s site but have not found an answer… any suggestions are appreciated…
I recently installed the NGG “Search for Images” Function to my gallery and find it has the oddest results. The result of a search gives the relevant images but the images don’t link to their pages…. or, rather, they do but the page is always some random text page or blog post. For example: the search http://tenthousandvisions.com/?s=mind results in four images. However, when clicked on they all show the content of the page “Events” even tho their URL is the correct picture/gallery page. Note that I am not using any effects and instead am using the imagebrowser.
This happens with all images searched. They always show seemingly random content – a page, a blog post, etc – from somewhere else while still displaying the correct URL in the browser. Can anyone tell me why this might be?
Everything else has been installed correctly as well. Below is the content for my ngg search page. Note that I took out all of the general search info so as to just return results from NGG.
‘
<?php get_header(); ?>
<h1 class=”pagetitle”>Search Results<?php get_breadcrumbs(); ?></h1>
<div id=”container3″>
<div class=”entry blog”>
<?php if (have_posts()) : ?>
<?php if ( function_exists( ‘ngg_images_results’ ) && have_images() ) : ?>
<h2 class=”pagetitle”>Image Search Results</h2>
<?php ngg_images_results(); ?>
<?php endif; ?>
<?php elseif ( function_exists( ‘ngg_images_results’ ) && have_images() ) : ?>
<h2 class=”pagetitle”>Image Search Results</h2>
<?php ngg_images_results(); ?>
<?php else : ?>
<h2 class=”center”>No posts found. Try a different search?</h2>
<?php get_search_form(); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>’
- The topic ‘nextgen-gallery returning incorrect search results’ is closed to new replies.