[Resolved] How to enable honeypot on search form.

Home Forums Support How to enable honeypot on search form.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1391163
    Shah Hamoshah

    Hi,
    FYi, i’m using theme “Split” at the moment.

    Pls advice on how to enable honeypot on search form.
    In case there’s a code snippet for it; kindly share for me to activate it using Code Snippet plugin.

    Tq

    #1391237
    David
    Staff
    Customer Support

    Hi there,

    that would be related to the Form Plugin you’re using. You will need to check with that plugins support.

    #1391820
    Shah Hamoshah

    Hi David,
    I’am actually using a very simple search form based on code snippet provided in this forum:

    add_shortcode( ‘search’, ‘tu_search_shortcode’ );
    function tu_search_shortcode() {
    ob_start();
    get_search_form();
    $ret = ob_get_contents();
    ob_end_clean();
    return $ret;
    }

    Would you be able to advise me perhaps another code snippet or extension of this snippet so that honeypot enabled?

    #1391833
    David
    Staff
    Customer Support

    That code simply creates a shortcode that calls the core get_search_form() function.
    The behaviour of that form is out of our control.

    I have never actually heard of a honeypot for a search form, and from my searches on google neither does it seem has anyone else.

    I am afraid this is out of our scope – you would need have this custom developed.
    Maybe asked on StackOveflow or use a service like codeable

    #1391837
    Shah Hamoshah

    Roger David.
    Tq for the feedback.

    #1392122
    David
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.