
<div id="search-result">
  <div class="search">
    <form method="get" action="https://motoki.wpx.jp/custom-search/custom-search/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F5">
      <div class="checkbox">
	
		<div class="selection-box keyword">	
        <div class="condition-title">キーワードで絞り込み</div>
        <div class="condition">

			  <input type="text" id="ajax-search-input" name="search_title" placeholder="キーワードで検索する" value="">
			  <button type="button" class="submit-button" onClick="customSearch()">検索</button>
            </div>
		 </div>
	  
		<div class="selection-box">	
        <div class="condition-title">カテゴリーで絞り込み</div>
        <div class="condition">
          <br />
<b>Warning</b>:  Undefined variable $search_category in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>138</b><br />
            <label id="check_5">
              <input type="checkbox" name="search_category[]" class="check_box" id="check_5" value="5" >
              <span>フィリピン</span>
            </label>
            <br />
<b>Warning</b>:  Undefined variable $search_category in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>138</b><br />
            <label id="check_6">
              <input type="checkbox" name="search_category[]" class="check_box" id="check_6" value="6" >
              <span>愛媛</span>
            </label>
            <br />
<b>Warning</b>:  Undefined variable $search_category in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>138</b><br />
            <label id="check_1">
              <input type="checkbox" name="search_category[]" class="check_box" id="check_1" value="1" >
              <span>未分類</span>
            </label>
            <br />
<b>Warning</b>:  Undefined variable $search_category in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>138</b><br />
            <label id="check_4">
              <input type="checkbox" name="search_category[]" class="check_box" id="check_4" value="4" >
              <span>青森</span>
            </label>
                        </div>
			 </div>
		  
		<div class="selection-box">	
        <div class="condition-title">タグで絞り込み</div>
        <div class="condition">
          <br />
<b>Warning</b>:  Undefined variable $search_tag in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>157</b><br />
            <label id="check_9">
              <input type="checkbox" name="search_tag[]" class="check_box" id="check_9" value="9" >
              <span>オレンジ色</span>
            </label>
          <br />
<b>Warning</b>:  Undefined variable $search_tag in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>157</b><br />
            <label id="check_10">
              <input type="checkbox" name="search_tag[]" class="check_box" id="check_10" value="10" >
              <span>紫色</span>
            </label>
          <br />
<b>Warning</b>:  Undefined variable $search_tag in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>157</b><br />
            <label id="check_8">
              <input type="checkbox" name="search_tag[]" class="check_box" id="check_8" value="8" >
              <span>赤色</span>
            </label>
          <br />
<b>Warning</b>:  Undefined variable $search_tag in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>157</b><br />
            <label id="check_7">
              <input type="checkbox" name="search_tag[]" class="check_box" id="check_7" value="7" >
              <span>黄色</span>
            </label>
                  </div>
		</div>

		<div class="selection-box">	
		<div class="condition-title">カスタムタクソミーで絞り込み</div>
		<div class="condition">
			  <br />
<b>Warning</b>:  Undefined variable $search_shop in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>176</b><br />
				<label id="tag_11">
				  <input type="checkbox" name="search_shop[]" class="check_box" id="check_11" value="11" >
				  <span>スーパー</span>
				</label>
			  <br />
<b>Warning</b>:  Undefined variable $search_shop in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>176</b><br />
				<label id="tag_12">
				  <input type="checkbox" name="search_shop[]" class="check_box" id="check_12" value="12" >
				  <span>八百屋</span>
				</label>
			  			</div>
		</div>
		  
		  <div class="selection-box">	
        <div class="condition-title">昇降順</div>
        <select name="search_order">
                            <option value="ASC"  >
                昇順                </option>
                            <option value="DESC" selected >
                降順                </option>
                    </select>
			
	</div>
		  
			  <div class="selection-box">		  
        <div class="condition-title">並び替え</div> 
        <select name="search_orderby">
                            <option value="date"  >					
                日付                </option>
                            <option value="modified"  >					
                更新日                </option>
                            <option value="title"  >					
                タイトル                </option>
                            <option value="meta_value_num scf-price"  >					
                価格                </option>
                            <option value="name"  >					
                販売店                </option>
                    </select>
		</div>
		  
			  <div class="selection-box">			  
        <div class="condition-title small">昇降順+ソート名の複合型</div>
        <select name="search_custom_order">
                            <option value="none" selected >
                指定なし                </option>
                            <option value="modified_desc"  >
                最新記事順                </option>
                            <option value="price_desc"  >
                価格順                </option>
                    </select>
		</div>	  
      </div>
      <input type="hidden" id="nonce" name="nonce" value="c2de283edd" /><input type="hidden" name="_wp_http_referer" value="/custom-search/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F5" />    </form>

    		  <div class="condition-title">絞り込み結果</div>
			<button type="button" name="uncheck-all" value="全てのチェックを外す" class="clear-button">全条件クリア</button>

      <div id="article-results" class="article-result h-card">
        <div class="item_set">
                      <div class="article">
              <a href="https://motoki.wpx.jp/custom-search/?p=91">
                <img width="259" height="194" src="https://motoki.wpx.jp/custom-search/wp-content/uploads/2022/02/9k.jpg" class="attachment-medium size-medium wp-post-image" alt="" style="width:100%;height:74.9%;max-width:259px;" />                <div>タイトル：ぶどう</div>
				<div class="date">投稿日：2022年2月1日</div> 
				<div class="date">更新日：2022年2月1日</div>
				<div class="price">価格：1200円</div>
				<div class="c-cat">カテゴリー：愛媛</div>
				<div class="c-tag">タグ：紫色</div>
				<div class="c-term">販売店：<br />
<b>Warning</b>:  Undefined variable $post in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>247</b><br />
<br />
<b>Warning</b>:  Attempt to read property "ID" on null in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>247</b><br />
                                    八百屋                  </div>
              </a>
            </div>
                      <div class="article">
              <a href="https://motoki.wpx.jp/custom-search/?p=15">
                <img width="300" height="225" src="https://motoki.wpx.jp/custom-search/wp-content/uploads/2022/01/202102080205_top_img_A-300x225.jpg" class="attachment-medium size-medium wp-post-image" alt="" srcset="https://motoki.wpx.jp/custom-search/wp-content/uploads/2022/01/202102080205_top_img_A-300x225.jpg 300w, https://motoki.wpx.jp/custom-search/wp-content/uploads/2022/01/202102080205_top_img_A-768x576.jpg 768w, https://motoki.wpx.jp/custom-search/wp-content/uploads/2022/01/202102080205_top_img_A.jpg 800w" sizes="(max-width: 300px) 100vw, 300px" style="width:100%;height:75%;max-width:800px;" />                <div>タイトル：バナナ</div>
				<div class="date">投稿日：2022年1月29日</div> 
				<div class="date">更新日：2022年2月1日</div>
				<div class="price">価格：400円</div>
				<div class="c-cat">カテゴリー：フィリピン</div>
				<div class="c-tag">タグ：黄色</div>
				<div class="c-term">販売店：<br />
<b>Warning</b>:  Undefined variable $post in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>247</b><br />
<br />
<b>Warning</b>:  Attempt to read property "ID" on null in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>247</b><br />
                                    スーパー                  </div>
              </a>
            </div>
                      <div class="article">
              <a href="https://motoki.wpx.jp/custom-search/?p=12">
                <img width="300" height="200" src="https://motoki.wpx.jp/custom-search/wp-content/uploads/2022/01/ax1olt9ymf-300x200.jpeg" class="attachment-medium size-medium wp-post-image" alt="" srcset="https://motoki.wpx.jp/custom-search/wp-content/uploads/2022/01/ax1olt9ymf-300x200.jpeg 300w, https://motoki.wpx.jp/custom-search/wp-content/uploads/2022/01/ax1olt9ymf-1024x683.jpeg 1024w, https://motoki.wpx.jp/custom-search/wp-content/uploads/2022/01/ax1olt9ymf-768x512.jpeg 768w, https://motoki.wpx.jp/custom-search/wp-content/uploads/2022/01/ax1olt9ymf.jpeg 1240w" sizes="(max-width: 300px) 100vw, 300px" style="width:100%;height:66.69%;max-width:1240px;" />                <div>タイトル：みかん</div>
				<div class="date">投稿日：2022年1月27日</div> 
				<div class="date">更新日：2022年2月1日</div>
				<div class="price">価格：600円</div>
				<div class="c-cat">カテゴリー：愛媛</div>
				<div class="c-tag">タグ：オレンジ色</div>
				<div class="c-term">販売店：<br />
<b>Warning</b>:  Undefined variable $post in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>247</b><br />
<br />
<b>Warning</b>:  Attempt to read property "ID" on null in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>247</b><br />
                                    スーパー                  </div>
              </a>
            </div>
                      <div class="article">
              <a href="https://motoki.wpx.jp/custom-search/?p=8">
                <img width="300" height="241" src="https://motoki.wpx.jp/custom-search/wp-content/uploads/2022/01/71MvNRVceUL._AC_SX679_-300x241.jpg" class="attachment-medium size-medium wp-post-image" alt="" srcset="https://motoki.wpx.jp/custom-search/wp-content/uploads/2022/01/71MvNRVceUL._AC_SX679_-300x241.jpg 300w, https://motoki.wpx.jp/custom-search/wp-content/uploads/2022/01/71MvNRVceUL._AC_SX679_.jpg 679w" sizes="(max-width: 300px) 100vw, 300px" style="width:100%;height:80.41%;max-width:679px;" />                <div>タイトル：りんご</div>
				<div class="date">投稿日：2022年1月25日</div> 
				<div class="date">更新日：2022年2月1日</div>
				<div class="price">価格：100円</div>
				<div class="c-cat">カテゴリー：青森</div>
				<div class="c-tag">タグ：赤色</div>
				<div class="c-term">販売店：<br />
<b>Warning</b>:  Undefined variable $post in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>247</b><br />
<br />
<b>Warning</b>:  Attempt to read property "ID" on null in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code</b> on line <b>247</b><br />
                                    八百屋                  </div>
              </a>
            </div>
                  </div>
            </div>
  </div>

  <script>
    var ajaxurl = 'https://motoki.wpx.jp/custom-search/wp-admin/admin-ajax.php';
  </script>
</div>
    <br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code:157) in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-includes/rest-api/class-wp-rest-server.php</b> on line <b>1904</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/motoki/motoki.wpx.jp/public_html/custom-search/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code:157) in <b>/home/motoki/motoki.wpx.jp/public_html/custom-search/wp-includes/rest-api/class-wp-rest-server.php</b> on line <b>1904</b><br />
{"id":5,"date":"2022-01-29T17:39:52","date_gmt":"2022-01-29T08:39:52","guid":{"rendered":"https:\/\/motoki.wpx.jp\/custom-search\/?page_id=5"},"modified":"2022-01-29T17:39:52","modified_gmt":"2022-01-29T08:39:52","slug":"test","status":"publish","type":"page","link":"https:\/\/motoki.wpx.jp\/custom-search\/","title":{"rendered":"test"},"content":{"rendered":"\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/motoki.wpx.jp\/custom-search\/index.php?rest_route=\/wp\/v2\/pages\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/motoki.wpx.jp\/custom-search\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/motoki.wpx.jp\/custom-search\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/motoki.wpx.jp\/custom-search\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/motoki.wpx.jp\/custom-search\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5"}],"version-history":[{"count":1,"href":"https:\/\/motoki.wpx.jp\/custom-search\/index.php?rest_route=\/wp\/v2\/pages\/5\/revisions"}],"predecessor-version":[{"id":7,"href":"https:\/\/motoki.wpx.jp\/custom-search\/index.php?rest_route=\/wp\/v2\/pages\/5\/revisions\/7"}],"wp:attachment":[{"href":"https:\/\/motoki.wpx.jp\/custom-search\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}