Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • me too. No more Mails after 4.9.1 🙁

    Thread Starter timo0306

    (@timo0306)

    tnx a lot. Didn’t know what happens exactly if setting WP_CACHE to false, thanks for this information. I got my “A” back on securityheaders.io 🙂 And because of nginx and http2 (and cache enabler of course 🙂 i’m still far below 1s loadtime. Great!

    Thread Starter timo0306

    (@timo0306)

    no, thats not possible. Nginx config is editable by my hoster only, in my account i can only add redirects for nginx.

    Thread Starter timo0306

    (@timo0306)

    i’ve got a _very_ quick&dirty solution because of (evil) editing the source.
    Edit plugins->contact-form-7->includes->contact-form

    public function screen_reader_response() {
    		$class = 'screen-reader-response';
    		$role = '';
    		$content = '';
    		if ( is_amp_endpoint() ) {
    			$content = 'send me an e-mail: <a href="my mailadress">my mailadress</a>';
    		}
    ...

    So thats show up my e-mail adress instead of showing _nothing_/no contact form.
    Yes, thats ugly, i know. tested to add input from an custom field aka “is-amped-alt-text”, but there are some sanitize rules i guess showing no “a” tag. and even if this works, editing the source is a no-go… 🙁
    Best Option: CF7 will support amp-form

    timo

Viewing 4 replies - 1 through 4 (of 4 total)