Skip to content

Instantly share code, notes, and snippets.

@steelydylan
Created August 3, 2015 02:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steelydylan/d1c6d209b5591ebdb113 to your computer and use it in GitHub Desktop.
Save steelydylan/d1c6d209b5591ebdb113 to your computer and use it in GitHub Desktop.
post@ablogcms.html
<form action="./" method="post" name="searchForm" class="acms-form searchForm" role="search">
<div class="acms-form-action">
<input type="search" name="keyword" value="%{KEYWORD}" size="15" class="searchFormInput" />
<input type="text" name="iebug" value="" style="display:none;" class="iebug" />
<span class="acms-form-side-btn">
<button type="submit" name="ACMS_POST_2GET" class="acms-btn btnSearch">
<span class="acms-icon-search"></span>
<span class="acms-hide-visually">検索</span>
</button>
</span>
<input type="hidden" name="date" value="2015/04/21">
</div>
</form>
@steelydylan
Copy link
Author

このようにname属性にdateを指定してvalueにyyyy/mm/dd形式で値を入れることによってURLコンテキストとして検索できます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment