Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterHi!
I’ve successfully managed to add the search bar to the theme header file.
Ernest Marcinko
KeymasterHi!
The custom field configuration was incorrect.
On the Frontend search Settings -> Custom fields you have a Uitleenbaar custom field selector created.
This was using the “_uitleenbaar” custom field, which is not defined on any post, so it didn’t return any results. I have selected the “uitlenbaar” insteand and I have started getting results.Some post may not show yet, as the “uitlenbaar” custom field is not yet defined on them. You will have to edit those posts and save them to have the “uitlenbaar” custom field set.
Ernest Marcinko
KeymasterHi!
I think you are looking for changing the width of the actual items. The image size is somewhat actually smaller than the item width. So I rather suggest changing the item width instead of the image width.
On the Theme -> Isotopic layout panel, you are able to do that. The default width is 150px. If I may recommed, you should try a percentage value like 25% or 20% or 32%. Percentage values will stretch the items to better fit the content width. I only recently discovered that percentage values work better than exact pixels.
Ernest Marcinko
KeymasterHi!
Do you have an idea where would you like to put the search?
I also need ftp access to make modifications to theme files. I can’t promise I can make it, but I will try.
Ernest Marcinko
KeymasterHi!
If you have updated from an older version, please read the important update notes in the documentation: http://wpdreams.gitbooks.io/ajax-search-pro-documentation/content/update_notes.html
It will most likely help.
Ernest Marcinko
KeymasterHi!
The url of the documentation is: http://wpdreams.gitbooks.io/ajax-search-pro-documentation/content/
You can find this link in the package you download from codecanyon under the documentation folder, also on the demo front page, also under the demo help menu and also on the product description page on codecanyon.
Ernest Marcinko
KeymasterWell, in that case I rather recommend using 2 instances if you can.
The search for related posts is done within 1 database query, so only the total number is adjustable per instance.
Ernest Marcinko
KeymasterOkays, I have a few more questions though, please go through these:
1. Is the shortcode put after the wp_head() call?
2. Does the shortcode work in the content (post or page)?
3. If you put some other plugin shortcode to the header.php does it work?
4. If you put the shortcode to the footer.php, does it work?
5. If you switch the theme to default and put the shortcode to the header.php does it work?These will help me understand the problem, but it doesn’t look like is related to the plugin. The missing stylesheet and shortcode indicates a theme (or core) related problem, but we will see after you try the upper mentioned tests.
Ernest Marcinko
KeymasterHi!
I can’t see the plugin files included in the header (scripts, stylesheets, inline script declarations).
It looks like the plugin is deactivated, or the theme is missing the wp_head() function call in the header.php file.Ernest Marcinko
KeymasterHi!
I’m not sure if I understand correctly.
I have searched for ‘njema’ and got these results: http://i.imgur.com/23PGvSB.png
These results are product tags, not products. You can’t filter a taxonomy by another taxonomy, it’s not possible. Is this the issue, or is it something else?
Ernest Marcinko
KeymasterHi!
I’m not sure if I understand correctly, but if you want to show both posts and products within the same related posts pro instance, then all you need to do is select which post types you want on the Content Options panel: http://i.imgur.com/I1fSiFt.png
Ernest Marcinko
KeymasterHi!
Slow loading can be cause by many things as you might have read it in the documentation.
1. What does the average request runtime on the performance tracker submenu? (Performance tracker)
If it’s below 3-4 seconds, then something else is clogging up the ajax request.
2. What type of hosting do you use? Shared or VPS? What are the server specifications?
3. How many plugins do you have activated? Plugins count greatly descrease the ajax performance globally.Ernest Marcinko
KeymasterHi!
There are template files available for each result layout. There are no options to achieve this unfortunately, the only possible way is to edit these result template files.
You can find them in the ajax-search-pro/includes/views/results/ folder. If you check these files, each one holds a commented part on the beginning explaining a few things.
It might be possible to add the missing HTML code to the corresponding result template. I’ve implemented this new templating system for these cases, however it’s up to the user to edit them to his needs.
If you have any questions I gladly answer if I can, but I honestly don’t know what code should you add/remove to have the star rating integrated with the results.
Ernest Marcinko
KeymasterHi!
Sorry, I missed that. It was the same issue in that file as the first. It should work now.
Ernest Marcinko
KeymasterHi!
Thank you for the detailed description and the error logs, it helped me a lot.
The problem was an unsupported function call, which was introduced in plugin version 4. It seems like that in rare cases some wordpress installs does not have this enabled. I’ve made a tiny modification on the search code, it should work now.
This code part is going to be replaced in the upcoming version, so you don’t have to worry about it anymore.
-
AuthorPosts