Forums › Forums › Search & Filter Pro › ajax loading not working
- This topic has 86 replies, 2 voices, and was last updated 10 years, 2 months ago by Anonymous.
-
Ross Moderator(Private) June 3, 2014 at 4:58 pm #1186
Nope, what port should I be using? Any other settings?
Ross Moderator(Private) June 3, 2014 at 5:06 pm #1189Ok I’m in ๐ Will see if I can do this modification, but if not you will have to try to follow the tutorial! BRB
Ross Moderator(Private) June 3, 2014 at 5:14 pm #1193Woohoo ๐ Its working, and as I mentioned before…
This template is not using the main WordPress loop
Instead it makes its own query within the page itself:
query_posts('numberposts=-1&post_type=post&paged='.$paged);
Which I think it not so good..
I copied the masonry template to
sf-masonry
and removed this line and added in some stuff to use the main loop ๐if (have_posts()) : while (have_posts()) : the_post();
๐
Anonymous(Private) June 3, 2014 at 5:28 pm #1195i have got only last question – promise:
this is my search form code-changed as you suggested:
<div id=”search”>
<?php include (TEMPLATEPATH . “/searchform.php”); ?>
</div><form class=”search” action=”http://maneuver.nazwa.pl/WWW/nstyle/?sfid=55″ method=”get”>
<input name=”s” type=”text” id=”search” size=”30″ onfocus=”if(this.value == ‘<?php _e(‘Szukaj produktu’, THEME_LANGUAGE_DOMAIN) ?>…’) { this.value = ”; }” onblur=”if(this.value == ”) { this.value = ‘<?php _e(‘Szukaj produktu’, THEME_LANGUAGE_DOMAIN) ?>…’; }” value=”<?php _e(‘Szukaj produktu’, THEME_LANGUAGE_DOMAIN) ?>…” >
<input type=”submit” value=”Search” id=”searchsubmit” class=”hidden” />
</form>what should i change to display the list correctly (with the template you made)?
Ross Moderator(Private) June 3, 2014 at 5:45 pm #1201To me this looks correct…? As long as the code you posted is inside “searchform.php” then it seems right…
What URL do you get when you submit the form?
-
AuthorPosts