Support » Plugin: Honeypot for Contact Form 7 » Custom frontpage template being ignored after submit

  • TheDyke

    (@thedyke)


    Hi,

    My frontpage is a static page with a custom template (index-x.php). After submitting the form (CF without Ajax), the template is being ignored and uses index.php instead, which messes up the frontpage.

    It works fine in these circumstances:

    – When I disable Honeypot
    – Or: When it’s NOT used on the frontpage but on other pages (also with a custom layout template)

    Tested with:

    HP 2.1, CF 5.4.1, WP 5.6.1
    HP 2.1, CF 5.5.3, WP 5.6.1
    HP 2.1, CF 5.5.3, WP 5.8.1

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter TheDyke

    (@thedyke)

    Well I ‘fixed’ it by avoiding the Static Page option at Settings, and renamed the custom template to: home.php

    Plugin Author Ryan

    (@nocean)

    H @thedyke – apologies for the slow reply. Honeypot doesn’t change anything in relation to WordPress’ internal template hierarchy or redirection — it simply checks a value and returns a Boolean value to the Contact Form 7 plugin. I wonder if maybe there is another conflict, but it isn’t obvious unless Honeypot is installed for some reason.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.