Forum Replies Created
-
AuthorPosts
-
dilsecreativo
Participantok I will rate it with the maximum level of stars.
Don’t close it please because I am configuring now the filter and I am having some difficulty. I will try by myself a bit more and if I don’t get what I want I will ask to you again
dilsecreativo
ParticipantI love you mate 🙂
Thankyou very very muchdilsecreativo
Participant🙂 Perfect now it works
Thank you very very much.
One more things.
How I can limit this function or the filter to apply just to that search form or that page.I have multiple search form on the site for different things and I want this filter to be applied only on [wd_asp id=6] or the directorio page.
Thankyou
dilsecreativo
ParticipantHi,
Did you watch the video?-
This reply was modified 6 years, 3 months ago by
dilsecreativo.
dilsecreativo
ParticipantYou cannot access this content.
dilsecreativo
Participantok, just realised that if i start typing the link get updated with what I am typing.
but I don’t want this. I want that if I click on a dropdown result it goes to that result slugdilsecreativo
Participantis on localhost
Can I please give you access to TeamViewer, please please ?
-
This reply was modified 6 years, 3 months ago by
dilsecreativo.
dilsecreativo
ParticipantNo, still not working. I get the same problem of before. the link is ok but the phrase is not there.
What we can do to fix this?
Thankyou
dilsecreativo
Participantonly the search phrase is missing.
When I click on the live result it thake me to
http://localhost/oviedoincluye/directorio/?specialisms=wich is fine but is missed the last part of the url
for exampleactividades-educativas.this is an example of what I really get inspecting that section:
<div class="resdrg"><div class="item asp_r_term asp_r_term_103 asp_r_specialisms asp_an_fadeInDown"> <div class="asp_content"> <h3><a class="asp_res_url" href="http://localhost/oviedoincluye/directorio/?specialisms="> Actividades educativas (0) <span class="overlap"></span> </a></h3> <div class="etc"> </div> <div class="asp_res_text"> </div> </div> <div class="clear"></div> </div><div class="item asp_r_term asp_r_term_104 asp_r_specialisms asp_an_fadeInDown"> <div class="asp_content"> <h3><a class="asp_res_url" href="http://localhost/oviedoincluye/directorio/?specialisms="> Actividades educativas y de sensibilización medioambiental (0) <span class="overlap"></span> </a></h3> <div class="etc"> </div> <div class="asp_res_text"> </div> </div> <div class="clear"></div> </div><div class="item asp_r_term asp_r_term_54 asp_r_specialisms asp_an_fadeInDown"> <div class="asp_content"> <h3><a class="asp_res_url" href="http://localhost/oviedoincluye/directorio/?specialisms="> Albañilería y revestimientos (0) <span class="overlap"></span> </a></h3> <div class="etc"> </div> <div class="asp_res_text"> </div> </div> <div class="clear"></div> </div><div class="item asp_r_term asp_r_term_61 asp_r_specialisms asp_an_fadeInDown"> <div class="asp_content"> <h3><a class="asp_res_url" href="http://localhost/oviedoincluye/directorio/?specialisms="> Aparatos sanitarios (0) <span class="overlap"></span> </a></h3> <div class="etc"> </div> <div class="asp_res_text"> </div> </div>How I can fix this
-
This reply was modified 6 years, 3 months ago by
dilsecreativo.
-
This reply was modified 6 years, 3 months ago by
dilsecreativo.
dilsecreativo
ParticipantIf you like I can give you access to TeamViewer
dilsecreativo
Participantadd_filter( 'asp_results', 'asp_change_result_uri', 10, 1 ); function asp_change_result_uri($results) { foreach ( $results as $k => &$r ) { $r->link = 'http://localhost/oviedoincluye/directorio/?specialisms=' . $_POST['aspp']; } return $results; }still doesn’t work.
Please help me
thankyou
dilsecreativo
ParticipantI did this:
add_filter( 'asp_results', 'asp_change_result_uri', 10, 1 ); function asp_change_result_uri($results) { foreach ( $results as $k => &$r ) { $r->link = 'http://localhost/oviedoincluye/directorio/?specialisms=' . $_GET['aspp']; } return $results; }and now the url is http://localhost/oviedoincluye/directorio/?specialisms= but the $_GET[‘aspp’] does not work.
Should I replace the $_GET[‘aspp’] with something else? The short code of that search form is [wd_asp id=6].
thankyou
-
This reply was modified 6 years, 3 months ago by
dilsecreativo.
-
This reply was modified 6 years, 3 months ago by
-
AuthorPosts