This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • in reply to: search results link like filters #25999
    dilsecreativodilsecreativo
    Participant

    ok 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

    in reply to: search results link like filters #25997
    dilsecreativodilsecreativo
    Participant

    I love you mate 🙂
    Thankyou very very much

    in reply to: search results link like filters #25995
    dilsecreativodilsecreativo
    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

    in reply to: search results link like filters #25988
    dilsecreativodilsecreativo
    Participant

    Hi,
    Did you watch the video?

    • This reply was modified 6 years, 3 months ago by dilsecreativodilsecreativo.
    in reply to: search results link like filters #25976
    dilsecreativodilsecreativo
    Participant

    You cannot access this content.

    in reply to: search results link like filters #25970
    dilsecreativodilsecreativo
    Participant

    ok, 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 slug

    in reply to: search results link like filters #25963
    dilsecreativodilsecreativo
    Participant

    is on localhost

    Can I please give you access to TeamViewer, please please ?

    • This reply was modified 6 years, 3 months ago by dilsecreativodilsecreativo.
    in reply to: search results link like filters #25960
    dilsecreativodilsecreativo
    Participant

    No, 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

    in reply to: search results link like filters #25952
    dilsecreativodilsecreativo
    Participant

    only 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 example actividades-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

    in reply to: search results link like filters #25942
    dilsecreativodilsecreativo
    Participant

    If you like I can give you access to TeamViewer

    in reply to: search results link like filters #25941
    dilsecreativodilsecreativo
    Participant
    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=' . $_POST['aspp'];
    	}
    
        return $results;
      
    } 

    still doesn’t work.

    Please help me

    thankyou

    in reply to: search results link like filters #25938
    dilsecreativodilsecreativo
    Participant

    I 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 dilsecreativodilsecreativo.
Viewing 12 posts - 1 through 12 (of 12 total)