-1
내 웹 사이트 (기본 Wordpress 3.0.4)에 검색 위젯을 넣으십시오. 기본 출력은WP : 오버라이드 검색 위젯
<form action="http://alessandro.host/" id="searchform" method="get" role="search">
<div><label for="s" class="screen-reader-text">Search for:</label>
<input type="text" id="s" name="s" value="">
<input type="submit" value="Search" id="searchsubmit">
</div>
</form>
지금 내가 그 출력이 내가 그것을 할 수있는 방법에는 label
및 send button
이없는이
<form action="http://alessandro.host/" id="searchform" method="get" role="search">
<div>
<input type="text" id="s" name="s" value="Search">
</div>
</form>
공지 사항 같은 것 만들 오버라이드 (override) 할 것인가?
템플릿을 편집하는 위치를 알고 싶습니까? – Jonah
나는 search.php라는 이름의 파일을 만들었고, 그곳에서 함수가 실행될 것이다. 잘하면 코어 파일을 편집하고 싶지 않습니다. – GusDeCooL