This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 15 posts - 17,596 through 17,610 (of 18,415 total)
  • Author
    Posts
  • in reply to: Not working on Site #3733
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Please check out the relevant documentation part: http://wp-dreams.com/demo/related-posts-pro/docs/#getting_started_placing_the_instance_to_the_frontend

    It will most likely answer your question.

    in reply to: Not showing my product categories #3732
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    The custom taxonomy term class is programatically limited to 50 terms per taxonomy. You can unlock this limit by opening the \ajax-search-pro\backend\settings\class\customtaxonomyterm.class.php and go to line 110 where you should see this:
    [php]$terms[$taxonomy] = array_slice($terms[$taxonomy], 0, 50, true);[/php]
    change that to:
    [php]$terms[$taxonomy] = array_slice($terms[$taxonomy], 0, 500, true);[/php]
    and it should show ever category now.

    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I did a bit of a research, and this might be a wordpress related bug. The search uses the general get_permalink() function to return the correct url, but for some reason it fails. Before touching anything you should try these steps:

    • Save the permalink settings again on the wordpress settings panel
    • Deactivate/activate WooCommerce and Ajax Search Pro

    This should refresh the permalink cache, and it might help.

    If not, then another solution is to connect a function to the results link filter and add the “produkt” part manually:

    If the upper mentioned solutions are not working, then add the following code to your themes functions.php file. It will try to fix the url.

    [php]
    add_filter( "asp_results", "asp_fix_woocommerce_link", 1, 1 );

    function asp_fix_woocommerce_link( $results ) {
    $home_url = home_url();

    if (strpos($home_url, "hundbutik") === false) {
    foreach ($results as $k=>$v) {
    $results[$k]->link = str_replace("hundbutik/", "hundbutik/produkt/", $results[$k]->link);
    }
    }

    return $results;
    }
    [/php]

    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    It looks like the z-index of the sidebar is much higher than the results box. With a simple custom css you can fix this:
    [html]
    .vertical.ajaxsearchpro {
    z-index: 99999999999 !important;
    }
    [/html]
    You can add this to the search plugins Theme Options->Custom CSS or any of the theme stylesheet files.

    in reply to: qtranslate support and date sorting #3723
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Thank you very much, and have a nice day!

    If you want, you can leave a rating on the plugin on your codecanyon downloads page, it helps me more than anything.

    in reply to: qtranslate support and date sorting #3721
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    The sorting is indeed a bug, just confirmed it on my test servers. Luckily there is a quick solution in your case. If you open up wp-content/plugins/ajax-search-pro/includes/search_content.class.php and go to lines 545-547, where you should see this:
    [php]
    if (count($all_pageposts)>0) {
    usort($all_pageposts, array($this, ‘compare_by_rp’));
    }
    [/php]
    Please remove of comment out these lines and the date sorting should work immediately. I’ve added this to the known bug list so the soon released next version will contain a bugfix.

    I’ve also installed the recent qtranslate to another test server and the code is indeed not working for some reason. After more digging I’ve found that there is a compatibility issue with qtranslate after certain wordpress versions including the function I used. So I figured out another way, which is working on my end.

    Try this code instead of the one I provided before:
    [php]
    add_filter( "asp_results", "asp_qt_correct_url", 1, 1 );

    function asp_qt_correct_url( $results ) {
    foreach ($results as $k=>$v) {
    // Correct the url manually
    $current_home = trailingslashit(home_url()) . qtrans_getLanguage();
    $results[$k]->link = str_replace(home_url(), $current_home, $results[$k]->link);
    }
    return $results;
    }
    [/php]

    I hope if will work on your side as well.

    in reply to: qtranslate support and date sorting #3716
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Try to disable the relevace sorting on the “Relevance Options” panel. The date/title sorting is only secondary if the relevance is enabled.

    I googled for similar issues, and there is a known bug with one of the qtranslates filters, where it does not return the correct url if the permalinks are enabled.

    The best way around this is to apply a filter on the search results, like this:
    [php]
    add_filter( "asp_results", "asp_qt_correct_url", 1, 1 );

    function asp_qt_correct_url( $results ) {
    foreach ($results as $k=>$v) {
    // Correct the url manually
    $results[$k]->link = qtrans_convertURL( $results[$k]->link );
    }
    return $results;
    }
    [/php]

    Put the code above to your themes functions.php file. If the qtranslate documentation is correct, this should solve the issue.

    in reply to: Can't adjust anything on the setting page #3715
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Try to delete the Lite version in the plugin manager and deactivate/activate the pro version again. This sounds like a 3rd party javascript issue. You can also try to temporary disable all the other plugins and see if it works then. If so, then it’s definitely a 3rd party issue. Let me know how it goes.

    Could you also provide temporary admin/ftp access? I would like to check if there are any errors on the console. You can add access by editing your initial post in this topic.

    in reply to: more text in search results #3710
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Well, looks like these options are working for me. I was able to change the color, font size, everything.

    I’m using google chrome as browser. Are you sure you tried to change the fonts on the Theme options->Typography panel? http://i.imgur.com/ONq6lDK.png
    May I ask what browser are you using?

    in reply to: more text in search results #3706
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Could you please provide temporary admin access to check on those options?

    You can edit your first post in this topic for that 😉

    in reply to: No post description #3704
    Ernest MarcinkoErnest Marcinko
    Keymaster
    • Are you using any kind of content builder, like visual composer?
    • Is your actual post content text, or are there any shortcodes?
    • Are you searching custom post types?

    Based on the screenshot there is no post content available or it’s stored in another field.

    in reply to: more text in search results #3700
    Ernest MarcinkoErnest Marcinko
    Keymaster

    I think I see what you mean now. You want the bigger result height.
    There is an option for that as well.

    If you go to the same panel Theme options -> Vertical results then there is an option called One result item height, which is currently 70 pixels: https://i.imgur.com/4UwwnoG.png

    If you increase that value, the results will show more text 😉

    in reply to: more text in search results #3698
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    On the Layout options -> Results Layout panel there is an option called Description length where you can enter the length in characters: http://i.imgur.com/1NTThxZ.png

    You can modify the result layout on the Theme Options -> Vertical results panel. There are many options, so you can modify every detail of the theme: http://i.imgur.com/2TN5ux5.png

    in reply to: No post description #3697
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Could you please re-upload the screenshot, it looks like it doesn’t get through.

    Are you using any kind of content builder, like visual composer?
    Is your actual post content text, or are there any shortcodes?

    If so, then try to enable the “Run shortcodes found in post content” option and disable the “Strip shortcodes from post content” on the “Advanced options” panel.

    And additionally modify the “HTML Tags exclude from stripping content” option on the same panel to this value:
    [html]<span><a><abbr><b><p><div>[/html]

    Screenshot: https://i.imgur.com/3SZwHxZ.png

    This might ensure that no extra content is stripped away from the results.

    in reply to: tag code display in the filters #3679
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Please check your configuration. You had some custom field values set to sample values: http://i.imgur.com/UoUXQgH.png
    So the search probably tries to match these sample values, but they don’t exist.

    Also check the documentation first on this, it’s explained there with details: http://wp-dreams.com/demo/wp-ajax-search-pro3/docs/#frontend_search_settings_creating_custom_selectors_from_custom_fields

Viewing 15 posts - 17,596 through 17,610 (of 18,415 total)