Forums › Forums › Search & Filter Pro › Custom post type search problem
Tagged: Custom post type search
- This topic has 7 replies, 2 voices, and was last updated 10 years, 8 months ago by
Anonymous.
-
Anonymous(Private) May 12, 2015 at 8:26 am #17266
I am using wp4.2.2 with the last version of Filter&search pro. My problem is when i chose to retrieve data from my proper post type called -portfilio with a taxonomy filter, i can have my sub-category figured in my page and available for select, but the results are always come from wp post type -blog. And i tried at different pages nothing changed.
Could you please provider same guidance for that?
Thanks!
nicholas.
Anonymous(Private) May 23, 2015 at 4:38 am #18142Hi Ross thank you for your concern, i have resolved this problem by installing a additional plugin called Query Wrangler, i don’t know why when i display with shortcodes i don’t need this plugin, it works perfectly ,however when i display via archive i do need this plugin to retrieve data from taxonomy categories. (i’am using a theme Presscore)
Now, i have new question. for example i display with my search.php via Ajax , how to make Ajax function to not reload the widgets(where contain my S&F form) but only the product content in the pagination page. Since i click the pagination selector, my widget is reload with product content.
Please see my link :www.china-heavy-equipment.com
I try to trace in the wp-admin/admin-ajax.php ; wp-admin/inculdes/ajax-actions.php; and S&F plugin/public/class-search-filter-handle-ajax-post. …..
Any suggestion?Thank you!
Nicholas.Ross Moderator(Private) May 25, 2015 at 11:30 am #18189Hi there
I deleted the code – can you use something like pastebin or githubs gists so I can see better?
Thanks
Anonymous(Private) May 25, 2015 at 1:42 pm #18198Hi Ross,
Please find the pagenation.php code at :https://gist.github.com/anonymous/700733780d0fddcdada4
Thanks!
Ross Moderator(Private) June 3, 2015 at 5:43 pm #18831Hi Tang
Just getting back to this now
So I see your search page:
http://www.china-heavy-equipment.com/?sfid=13425
Everything looks like its working, but to make the pagination work you must change the option
pagination selectorto.page-links aand then your ajax will work.Thanks
-
AuthorPosts