Need some help

This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 4 years, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #15463
    AndrasFabian
    AndrasFabian
    Participant

    Hi,

    At first congratulations to you search plugin, it is the 4th paid plugin I tried and this is very useful.

    I need just a very simple (for you) plus feature maybe you can send me in a short php.

    I would like to place a search form on the result page, but it must be dynamic:

    the actual Ajax Search Pro search form in which the search is initiated.

    Maybe it should be an echo dynamic shortcode of the original.

    Can you please send me this short php?

    Thank you very much in advance and Bests!

    András Fábián

    #15473
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    For each search shortcode there is a PHP shortcode available that you can use, you can find it here:
    – Click toggle: https://i.imgur.com/RwGcAxz.png
    – PHP shortcode there: https://i.imgur.com/NreYHsF.png

    If you need a specific layout for your search instance, you can also try the Shortcode Generator script as well.

    Best,
    Ernest Marcinko

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


    #15492
    AndrasFabian
    AndrasFabian
    Participant

    Thanks, I know these options, but it is not what I need unfortunately.

    I have 3 search boxes on different pages of my site with different settings.

    I need to get displayed always that searchbox on the result page where the search was initiated.

    If I search from searchbox ID=1 – on the result page searchbox ID=1 is displayed.
    If I search from searchbox ID=2 – on the result page searchbox ID=2 is displayed.
    If I search from searchbox ID=3 – on the result page searchbox ID=3 is displayed.

    This can be achieved by a dynamic shortcode in php.

    If you can not supply this code I have to hide the searchbox on the result page, otherwise the searches will messed up.

    Can you help me, please?

    #15506
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Sure, I believe this is something you are looking for:

    <?php
    $sid = isset($_POST&#91;'p_asid'&#93;) ? $_POST&#91;'p_asid'&#93; : (isset($_GET&#91;'p_asid'&#93;) ? $_GET&#91;'p_asid'&#93; : 1);
    echo do_shortcode('&#91;wd_asp id='.($sid + 0).'&#93;');
    ?>
    Best,
    Ernest Marcinko

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


    #15507
    AndrasFabian
    AndrasFabian
    Participant

    Yep, THAT’S IT! I’ve tried and it works.

    Thank you very very much.

    Your plugin is the best multifunctional search plugin in the market.

    With this additional php this plugin is fit to every option one can ever need!!

    Bests!!!

    #15509
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

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


Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.