Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterHi!
It’s not that the plugin is not recognizing them, it is unfortunately not possible. The plugin can return posts, any custom post types (like forum posts, portfolio items, etc..), buddypress users, buddypress activity stream but not categories or taxonomies. It’s unfortunately not yet possible 🙁
You are not the first one to request this, so I’m working on the next version, which will contain this feature, but it needs proper testing before I can release it. I can send you a pre-release copy once it’s ready to upload to codecanyon.
Ernest Marcinko
KeymasterHi!
I can see now. I have changed the javascript source to minified and it cleared the error from the javascript console, and the tabs started working as expected. It should work fine now.
Ernest Marcinko
KeymasterHi!
Could you pin-point me where the issue is exactly? I tried to disable-enable the plugin to see if there is any difference, but I could not find any for the first look.
Ernest Marcinko
KeymasterHi!
Thank you for your kind words!
There is no built in way yet, but you can try to export the wp_ajaxsearchpro database table (or it’s contents) via phpmyadmin or your preferred database editor tool. This will only export the search instance settings – other submenu settings like caching, fulltext, statistics will remain untouched.
Ernest Marcinko
KeymasterHi!
I have changed the ajax handler on the compatibility options menu and it started working. I have no idea what the problem was, but it seems fine to me now – at least I hope so.
Ernest Marcinko
KeymasterIt’s because the results are set to “hovering” and not “blocking”.
Go to the search Layout options panel -> Results layout position -> Blocking (pushes content)
It is also described on the documentation link I sent you earlier.
Ernest Marcinko
KeymasterI’m not familiar with visual composer unfortunately. But I believe you can separate the page to rows with without using any html code.
You should look up the visual composer documentation or tutorials on how to put shortcodes into separated rows.
There is also an insight in the ajax search pro documentation on how to use and insert the search and results shortcode if you want to use them on a different position: http://wp-dreams.com/demo/wp-ajax-search-pro3/docs/#positioning_the_results_elswhere
Ernest Marcinko
Keymaster[html]
<div class=’dsoai’ style=’asd asd’>
[asdaisjd]
</div>
[/html]
asdasd-
This reply was modified 11 years, 8 months ago by
Ernest Marcinko.
Ernest Marcinko
KeymasterHi!
We are using a theme, where you can separate the page into two halfs, and one half holds the search shortcode and the other one the results shortcode. You can mimic this with the following html code:
[html]
<div style=’float: left; margin: 5%; width:39%; min-height: 200px;’>
[wpdreams_ajaxsearchpro id=1]
</div>
<div style=’float: right; margin: 5%; width:39%; min-height: 200px;’>
[wpdreams_ajaxsearchpro_results id=1 element='div']
</div>
<div style=’clear: both;’></div>
[/html]As for the ipad issue, I’m aware of that. Unfortunately haven’t found a solution to hide the keyboard automatically after clicking the search button. I’m in contact with other mobile developers, so I’m sure we will come up with a solution very soon.
Ernest Marcinko
Keymaster[html]
asd
[/html][php]
<div class=’WHAT’>
yo!
</div>
[/php]Ernest Marcinko
KeymasterHi!
Thank you for the proper details on your ticket. I can’t see the search however on your website activated. Could you place it somewhere (perhaps on a separate page) so I can see it?
Ernest Marcinko
KeymasterHi!
Try to open up the Cache settings page (from the ajax search pro menu) and save it once. I think it should probably solve the problem.
Ernest Marcinko
KeymasterHi!
I don’t know if you managed to fix the hover effect, but it looks all right for me (maybe I’m wrong). If it still persist, then please send me 1-2 screenshots of exactly where it appears.
Also, the null description problem is fixed now, it was indeed a problem with the search code!
Ernest Marcinko
KeymasterHi!
Sure, sorry about the late response, I had some issues with the support system! (moving to ssl connection soon)
I will get back to you in a couple of hours.
Ernest Marcinko
KeymasterHi!
It’s not exactly like that. The $allpageposts variable holds an array() of objects, and each object is one result.
Here is a quick snippet I had just written, it takes all the categories from a post and appends it to the end of the post title:add_filter( 'asp_pagepost_results', 'my_results_modify', 1, 1 ); function my_results_modify( $pageposts ) { foreach ($pageposts as $k=>$v) { /** The structure is: object(stdClass) { ["title"] => "Post title" ["id"] => 1234 ["date"] => "2014-08-06 12:48:19" ["content"] => "Post content ["author"] => "author" ["post_type"] => "post" ["image"] => "http://..." ["link"] => "http://..." } */ // Get the post categories $post_categories = wp_get_post_categories( $pageposts[$k]->id ); $cats = ""; // Concatenate category names to the $cats variable foreach($post_categories as $c){ $cat = get_category( $c ); $cats = " ".$cat->name; } // Modify the post title $pageposts[$k]->title .= " ".$cats; } return $pageposts; }I’ve also added the structure in the commented section, so you can see which variables you can access and change.
-
This reply was modified 11 years, 8 months ago by
-
AuthorPosts