Skip Navigation

[Resolved] How to create advanced search hidden link

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 8 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Tagged: 

This topic contains 2 replies, has 1 voice.

Last updated by Hajrudin 8 years, 1 month ago.

Author
Posts
#443138

I am trying to: create advanced search button like hire, to expand some search criteria.

I visited this URL: hidden link

I expected to see: like on that site to work, ajax update results instantly

Instead, I got: like on hidden link second search engine from the top, use code like that

[wpv-filter-start hide="false"]
[wpv-filter-controls]
<div class="box">
Unesite ime firme ili delatnost:<br />
[wpv-filter-search-box class="pretraga1"] [wpv-filter-submit name="Pretraži" type="input"]
  <br /><br />
[wpml-string context="wpv-views"][/wpml-string] [wpv-control taxonomy="category" url_param="wpv-category" type="select" default_label="Sve kategotije"]
  
</div>
 <br />
<div class="advanced-option">Dodatne opcije</div>
<div class="sakriveni" style="display:none;">
<div class="box1">
<div class="pretraga1">
[wpml-string context="wpv-views"]Predgrađa:[/wpml-string] [wpv-control taxonomy="predgrade" url_param="wpv-predgrade" type="checkboxes" format="%%NAME%%  %%COUNT%%"]
</div>
<div class="pretraga1">
[wpml-string context="wpv-views"]Delovi Grada:[/wpml-string] [wpv-control taxonomy="deo-grada" url_param="wpv-deo-grada" type="checkboxes" format="%%NAME%%  %%COUNT%%"]
  </div>
  <div class="pretraga1">
[wpml-string context="wpv-views"]Poznate lokacije:[/wpml-string] [wpv-control taxonomy="poznata-lokacija" url_param="wpv-poznata-lokacija" type="checkboxes" format="%%NAME%%  %%COUNT%%"]</div>
</div>
</div>
[/wpv-filter-controls]
[wpv-filter-end]

anh JS like that

jQuery(document).ready(function(){
    jQuery(".advanced-option").click(function(){
        jQuery(".sakriveni").toggle();
    });
});

every time I select different option from "Dodatne opcije" it coses it selfe and can't click again on search page

#443139

when I go directly to the search page hidden link, it's not working proper.

#443313

I have managed to achieve almost all of that

The forum ‘Types Community Support’ is closed to new topics and replies.