質問編集履歴
1
コードの記述がなく申し訳ありません。追記しました!
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,4 +1,16 @@
|
|
1
1
|
Wordpress内に検索窓を設置すれば検索結果の記事一覧が見れるのですが
|
2
2
|
外部(たとえばアプリのネイティブ環境、ECショップ内など)に設置をしても
|
3
3
|
自社サーバーであっても検索ができず、action属性で設定しているURLに飛ぶだけな現状です。
|
4
|
-
何かWordpressで設定が必要なのでしょうか?
|
4
|
+
何かWordpressで設定が必要なのでしょうか?
|
5
|
+
|
6
|
+
|
7
|
+
```ここに言語を入力
|
8
|
+
<div id="search-form-panel">
|
9
|
+
<form action="example.com" onfocus="_gaq.push(['_trackEvent', 'site_search', 'focus', 'ブログ検索窓']);" method="get">
|
10
|
+
<input type="hidden" name="_e_k" value="A">
|
11
|
+
<input name="keyword" type="text" placeholder="記事を検索する" onfocus="this.placeholder=''" onblur="this.placeholder='記事を検索する'" id="condition" class="search-keyword" value="">
|
12
|
+
<button id="submit02" type="submit" class="search-button" onclick="searchKeyWord()">
|
13
|
+
<i class="fa fa-search" aria-hidden="true"></i></button>
|
14
|
+
</form>
|
15
|
+
</div>
|
16
|
+
```
|