Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterHi!
Have you enabled the Search for buddypress users option on the General Options -> Buddypress panel? http://i.imgur.com/3lucsJJ.png
Ernest Marcinko
KeymasterThank you for the details, helped me a lot.
There was indeed a bug related to multisite installs. I’ve corrected and noted the fix for the upcoming version.
I’ve also added a few lines of custom CSS to the search’s custom CSS field, because there was an extra padding and the font size was overridden by the theme. It should work as expected now.
Ernest Marcinko
KeymasterSure.
Can you provide temporary admin/ftp access? I’m afraid I will need both for this, since I need to see the issue. (and I might need to apply a few changes if needed).
You can edit your first post, where you can add these details or upload a txt document with your next reply. Both methods are safe, only visible for me and you.Ernest Marcinko
KeymasterHi!
– Do you mean if you click on the “Search Statistics” submenu you get an empty page or nothing?
– You can use the “Priorities” submenu to increase the priority of a result. It’s not bound to a keyword – meaning if the page ‘sticky’ appears in the results list, it will be prioritized in order. You can read more about this in the documentation: http://wp-dreams.com/demo/wp-ajax-search-pro3/docs/#result_priorities
Ernest Marcinko
KeymasterHi!
1. Do you have any taxonomies? I can’t see any. This function uses the wordpress built in get_taxonomies function, so it should return the taxonomies if you have any registered.
2. Categories doesn’t have images by default. If the image is stored as some kind of custom field, it might be possible to retrieve it and create filtering function based on this article: https://wp-dreams.com/knowledge-base/showing-the-post-type-name-in-post-title/
3. I just tested, it works for me. Can you explain when it’s not working? I tried it several times on your frontpage, and it worked everytime.
4. It was because empty categories are hidden in wordpress by default. I made a quick modification, now all the 136 categories are visible. (even the empty ones)
5. You need to exclude all those categories which you don’t want to use on the “Advanced Options -> Exclude categories” as well.
Ernest Marcinko
KeymasterHi!
I like this idea. I made a note to create some kind of feature for this in the future version.
Ernest Marcinko
KeymasterHi!
Please update your plugin to version 3.5. It is available for download on codecanyon.
Carefully follow the steps for updating, since you are using a hihgly outdated version: https://wp-dreams.com/knowledge-base/updating-from-older-versions/
Let me know if the problem persist after the successful update.
Ernest Marcinko
KeymasterThanks.
Here, the following CSS is working in all of my browsers:[html]
input.autocomplete {
padding: 0 6px !important;
}input.orig {
color: #b40808 !important;
padding: 0 6px !important;
font-size: 14px !important;
}
[/html]It changes the font size, color and fixes the paddig forced by the theme.
Ernest Marcinko
KeymasterHi!
It was all caused by a small issue: not the proper block was used in visual composer. The “WP Text” block is not good for shortcodes, because it runs the content filter twice and it alters the HTML code. I changed that block to a simple text block, and all the problems are solved.
Ernest Marcinko
KeymasterHard to tell without seeing it.
Can you link me to a page where the search is active?
December 22, 2014 at 10:18 am in reply to: After Install – Not Visible for User – Post Problems #3289Ernest Marcinko
KeymasterHi!
For big sites I would recommend to turn off the content and excerpt relevance, it can be a bit resource heavy if you have very long descriptions: https://i.imgur.com/0MbNhHP.png
If you have many posts, then title relevance is more than enough.
Are you sure you placed the php code correctly? If the shortcode works, then the php should work as well without problems. Also try to turn off the “Run the title filter” and “Run the content filter” on the bottom of the “Content Options” panel: https://i.imgur.com/ClY2aP1.png
The plugin was tested multiple times with 10 000+ posts and run without a problem, so it’s either a configuration issue or an unknown bug.
Do you have a test environment or development version of your site, where I could test the plugin?
Ernest Marcinko
KeymasterHi!
It’s most likely because your theme overrides it with a stronger CSS rule. You can solve both of these issues via very simple custom css codes, like:
[html]
/* This is the search phrase input */
/* these are only sample values, change them to whatever you like */
input.orig {
color: #FFFFFF !important;
font-size: 14px;
text-align: left;
/* ..etc */
}/* These are the keyword colors */
p.asp-try a {
color: blue !important;
}
[/html]You can use/edit this code to your needs and add it to your themes custom css file, or into the search plugins “Theme options -> Custom CSS” field.
Ernest Marcinko
KeymasterHi Rob!
If I understand correctly you want to hide those settings (terms and custom fields) on the front end, which are not related to the selected custom post type.
If this is the case, then it’s not possible. This is a very specific problem, I don’t think I would be able to integrate as a feature. I think this would be only possible with heavy plugin modifications only.
I would rather suggest to create separate search instances for each custom post type, if you have many terms and many different custom fields related to them.
Ernest Marcinko
KeymasterWell there are lots of different factors to this:
1. Amazon is using a custom built software with an highly optimized database
2. Their servers worth billions of dollars on a dedicated distributed network cluster
3. Their search engine probably uses different dedicated server networks with an optimized and indexed database with different layers of cachingAnd that’s just 3 things. A wordpress powered website will never ever come even close to the speed of an amazon or imdb like search engine. For instants speed you will need a much better database architecture than wordpress, a much better specialized (non generic) cms built for your purposes and an insanely fast server.
I know people kind of expect that speed because they are used to it from google, amazon, imdb etc.., but it’s not possible within the limits of a simple wordpress installation. It might be possible without it – with a custom build software (preferably not written in php) and with a better database engine. WordPress is a great solution to skip these steps as it provides a comfortable CMS system, but the speed is usually the price.
Ernest Marcinko
KeymasterThanks, got them.
Just needed a minor modification, the final code is:
[php]
add_filter( "asp_results", "asp_pods_image_results", 1, 1 );function asp_pods_image_results( $results ) {
foreach ($results as $k=>$v) {
// get the term images
if ($results[$k]->image != null && $results[$k]->image != "")
continue;
$pod = pods("stores");
$pod->fetch($results[$k]->id);
$icon = $pod->get_field("icon");
if ($icon != null && $icon != "")
$results[$k]->image = $icon;
}return $results;
}
[/php]It should work now.
-
AuthorPosts