A Quick help is needed

This topic contains 53 replies, has 2 voices, and was last updated by daro201370 daro201370 1 year, 1 month ago.

Viewing 15 posts - 1 through 15 (of 54 total)
  • Author
    Posts
  • #34241
    daro201370
    daro201370
    Participant

    Hi sir,

    I bought your plugin today. I have configured some settings using documentation provided. But I need a quick help with the followings:

    1. How to make the search results be redirected to the theme’s search page. Here is my website:

    https://www.khmeradverts.com

    2. Is there a setting for displaying Ajax Search for a mobile devices below 640px; or I have to use a css selector with display: none (I dont want to use that because it ll causes high page loads based on gtmetrix.com)

    Many thanks in advance.

    Regards

    Thon

    #34242
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Thon,

    1. You can set the redirection options here.

    2. There is this option, however that uses a user agent check on server side, and not a width check. If you prefer the 640px width check, then a custom selector is the best choice:

    @media only screen and (max-width:640px) {
        .asp_w {
            display: none !important;
        }
    }
    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #34243
    daro201370
    daro201370
    Participant

    Thank you for your support.

    1. I did try that, but it does not work as I may have set redirection URL incorrectly. Can you please set it for my website?

    2. That is ok. Thanks

    Cheers
    Thon

    #34244
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    The default options are the correct ones usually: https://i.imgur.com/NcfpYgE.png
    I quickly checked your site, it uses the default search results page URL, so that configuration will redirect to the results page.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #34245
    daro201370
    daro201370
    Participant

    Hi,

    Thank you for support.

    I dont see any setting in the image above? What is the default setting for the redirection URL I should configure in the plugin’s setting?

    Cheers
    Thon

    #34246
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    These settings can be found after you create your first search bar.
    Then you click on the settings icon to access the search settings.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #34247
    daro201370
    daro201370
    Participant

    Hi,

    Thank you for your support. yes I know that, but your link here:

    View post on imgur.com

    does not show how to configure redirection URL for my theme’s search result page?

    Cheers
    Thon

    #34248
    daro201370
    daro201370
    Participant

    Hi,

    sorry I missed that. However, I did that too before asking for help here.

    The result search page is showing default wordpress page as seen in the attachment.

    Cheers
    Thon

    Attachments:
    You must be logged in to view attached files.
    #34250
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Thank you!

    Is that page not correct? That seems to be the results page to me. The query parameters look right as well.
    What page it should redirect to? Or are the results there incorrect?

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #34251
    daro201370
    daro201370
    Participant

    that is not what expected. The display is wordpress default display; that is not good for my website. Here is the theme’s display on search result page:

    https://www.khmeradverts.com/?s=&category=&location=&a=true

    Is it possible to display them like that?

    Cheers
    Thon

    #34257
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    I guess this is some sort of a custom search then. It looks like it uses two additional custom arguments. Try the custom URL like this:

    ?s={phrase}&category&location&a=true

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #34259
    daro201370
    daro201370
    Participant

    Hi sir,

    thanks for your support.

    I did that put the codes you suggested before posting this for help which was still saved in the settings, but it showed default wp display; now it works. It could be a cache or I am not expert! It is showing theme’s display now.

    I have trouble inserting your short code into the header in this way:

    <?php echo do_shortcode(‘[wd_asp id=3]‘); ?>

    please see error attached.

    the ajax search box is shown, but with errors. This is due to AIT Themes not allowing php codes being inserted into header.php; it allows only for curly brackets like this:

    {do_shortcode(‘[wd_asp id=3]‘)}

    When I used that curly line above, it wont show anything. Do you have pure PHP code (not shortcode) which can be used in php template?

    Cheers
    Thon

    Attachments:
    You must be logged in to view attached files.
    #34261
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    You may need to ask them how to place a shortcode or a PHP code there, because this:

    <?php echo do_shortcode(‘[wd_asp id=3]‘); ?>

    ..is pure PHP. It calls the do_shortcode function to execute the given shortcode. You can try directly invoking the shortcode handled, but it is basically the same thing:

    WD_ASP_Search_Shortcode::getInstance()->handle(array('id' => 3));

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #34263
    daro201370
    daro201370
    Participant

    Hi sir,

    Thanks. I have sent a message to Theme’s support for help.

    I have also tried this:

    {(‘[wd_asp id=3]‘)}

    It shows and generates the same error.

    Thanks
    Thon

    #34264
    daro201370
    daro201370
    Participant

    Hi Sir,

    Will my conversations with you be displayed to other users?

    If yes, can you please hide them as I dont want people to spam or hack my website above.

    I appreciate your help.

    Cheers
    Thon

Viewing 15 posts - 1 through 15 (of 54 total)

You must be logged in to reply to this topic.