Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterHi Wayne!
To create such layout you need a good knowledge of custom fields. The image you sent me is the demo search engine with custom field filters. What it does, is filters the results that match the criteria, as configured on the back-end.
Each of the filters has a related custom field to it. For example the price slider on that picture is connected to the “price” custom field, which is set to a number at every post. So you will need to know which custom fields you want to use first.There is a short description in the documentation on how to create and use these filter boxes, please read it very carefully: Custom Field Filters
I’m sure you will understand it quickly, it’s intuitive once you get the hang of it.
To get that exact design, select the “Demo – Isotopic Blue” (last option) from the theme selector list, which is the first option on the Theme Options panel.
Ernest Marcinko
KeymasterThat’s sounds like a fair and useful request.
I will add this feature to the next version for sure.
Ernest Marcinko
KeymasterHi!
It think I see the problem. The error console says the following:
Uncaught TypeError: $(…).accordion is not a function
originating from: http://mattreynolds.net/wp-content/plugins/otw-blog-manager/assets/js/otw-admin-bm-functions.js?ver=4.2.2
Then this error subsequently causes everything else to fail.
It’s the “otw-blog-manager” plugin tried to load it’s resources, but something failed on the way. Since those resources are not needed on the ajax search pro pages, I found a solution.I’ve added a conditional statement to unload the script handlers for the ajax search pro pages. Will include this in the upcoming version as well.
Ernest Marcinko
KeymasterYou are very welcome! Happy to help you!
I take you on your offer if I get to Taiwan! 🙂
If you like the plugin, you can leave a rating on it as well on your codecanyon downloads page.
Have a nice day, and let me know if you need any more help!
Ernest Marcinko
KeymasterHm, I think it only appears if the content is a certain length. If the content fits, then it is not displayed. I tried to add a few more lines to the Test 2 (en) post, and because it’s long enough, it displays the read more button.
You might have to ask the theme developer how to change that to display the read more always.
Ernest Marcinko
KeymasterThank you for the details!
I think I did it! I added an extra line of code to the Related Posts Pro plugin, and now it does not show there.
I did the following modification for my future reference:
file: includes/hooks.php +line 217
code: [php](!is_single() && !is_home() && !is_archive() && $options[‘show_under_content’] == 1)[/php]Ernest Marcinko
KeymasterCan you provide temporary FTP details as well? I can check the code, maybe there is something I can change to make it work, I’m not sure.
You can upload FTP in a .txt file, or edit the first post in this ticket to add the details safely.
Ernest Marcinko
KeymasterThank you for the details!
Well, I don’t know exactly why it is displayed there, maybe the theme executes the content filter in the archive listings. There is no option to change that unfortunately, it depends on the theme itself.
However I found a possible solution, I hope it is ok for you 🙂
If you enter a post excerpt, then that will be displayed in the category archive, instead of the post:- First, enable the excerpts in the editor if it’s disabled: http://i.imgur.com/TdQAs2N.png
- Enter the “excerpt” text in the post excerpt field. It should be a short description, or a few senteces from the post: http://i.imgur.com/kjsfsbM.png
- After saving the post, the theme will display the excerpt on the archive pages: http://i.imgur.com/LIHhudI.png
I hope this solution is ok with you. Let me know if you need any more help!
Ernest Marcinko
KeymasterYou are welcome 🙂
Can you please activate the admin account so I can log in and check/change your plugin configuration? I don’t know what’s causing it yet.
Ernest Marcinko
KeymasterHi!
I’m guessing that the page runs the content filter twice for some reason.
If open up related posts pro settings and go to the Content Options panel and scroll down, there is an option Run the content filter?: https://i.imgur.com/bngHMlh.png
Try to turning that off, I have a feeling it will help 🙂
August 5, 2015 at 1:18 pm in reply to: Problem with woocommerce. does not find all our products #5512Ernest Marcinko
KeymasterYou don’t need to disable anything, I’ve already fixed the issue, it does not exclude any categories now.
For future reference, if you need to exclude categories or terms, you can read more about how it work in the following chapters of the documentation:
- Excluding categories & terms
- Excluding/Including categories & terms from the front-end settings list only
Ernest Marcinko
KeymasterEnd of this week, or beginning of next week tops as I will be on vacation from wednesday next week.
August 5, 2015 at 10:54 am in reply to: Problem with woocommerce. does not find all our products #5504Ernest Marcinko
KeymasterHi!
It’s actually not that. When I disabled the category/term exclusion it started to work again. Then I remembered someone had a similar bug, which is related to a certain configuration. It basically happens when categories are excluded on the frontend search settings page and the settings are hidden.
Anyways, I have fixed the bug in the code, the upcoming version has this fixed, so you don’t have to worry about updates.To get more results don’t forget to enable the Search in content option, as I noticed it’s disabled.
Ernest Marcinko
KeymasterHi
Well, this would be only possible by making tiny modifications to the code.
Try opening up the wp-content/plugins/ajax-search-pro/search.php file and scroll to line 236, which should be empty. Add these lines there:[php]
$all_sites = wp_get_sites();
$search[‘data’][‘selected-blogs’] = array();
foreach ($all_sites as $_site) {
$search[‘data’][‘selected-blogs’][] = $_site[‘blog_id’];
}
[/php]I haven’t tested this, but I’m guessing it should work.
The active blog means the one that’s used at the moment. For example you have 10 sites and all of them have the ajax search widget on the sidebar. If you do a search on the first site, it will return results from the first, if you open the second site and do a search, it will return results from the second and so on…
Ernest Marcinko
KeymasterHi!
It mostly depends on the server performance, but there is a section you can read in the documentation with a few crucial tips on how to improve the search performance:
-
AuthorPosts