내 웹 사이트에서 연락 양식을 작성하려고합니다.Wordpress Homepage 양식이 작동하지 않습니다.
저는 PHP 정적 웹 사이트를 위해 이미 저에게 도움이되었던 스크립트를 사용하고 있습니다.
이제는 WordPress 홈페이지에서 구현하려고하는데 작동하지 않는 것 같습니다.
제출할 때 블로그 페이지 또는 "홈페이지"로 리디렉션되지만 대신 블로그 항목이 사용됩니다.
제출시 에코 유효성 검사를 받아야하지만 실제로 발생하지는 않습니다.
나는 action = "", action = "#", PHP_SELF, action = "/", action = "index", action = "index.php"로 시도했지만 아무도 작동하지 않습니다.
<form method="post" action="">
<p><?php echo $output; ?></p>
<label for="name">Your beautiful name goes here</label>
<input type="text" name="name" id="name">
<label for="mail">I need your email to write you back, type it below</label>
<input type="email" name="mail" id="mail">
<label for="dropdown">Are you looking for help in something specific or just wanted to say HI?</label>
<select name="dropdown" id="dropdown">
<option>Just wanted to say Hi!</option>
<option>I need help with my brand</option>
<option>I want to launch a website</option>
<option>Other</option>
</select>
<label for="else">Is there something else you want to tell me?</label>
<textarea name="else" id="else">
</textarea>
<button class="btn btn-red" name="send" type="submit">SEND</button>
</form>
PHP 코드는 어떤 파일에 있습니까? –
아마 워드 프레스 모드 재 작성 규칙을 재생합니다. 왜 당신은 Wordpress에서 이것을하지 않습니까? – nogad
구문 오류가 있는지 확인 했습니까? 한 줄에'; '이 보이지 않는다. –