• Resolved PRVB

    (@prvb)


    Hi,

    We’re using the mdtf filter for our portfolio on https://www.europeantalentnetwork.com/
    which works pretty good for us. I have a few questions which I’ll ask in separate threads when I get to it. Hereby the first and most important:

    – Is it possible, and if so how, to have a preselection when visitors come to the page at first? In other words: let’s say we can choose gender, male/female, through a checkbox. Is it possible to always start with one of them (let’s say female) preselected? So when somebody visits our site the gender box is automatically ticked to female and thus only shows the females?

    Thanks & best,
    Pim

    https://www.ads-software.com/plugins/wp-meta-data-filter-and-taxonomy-filter/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author RealMag777

    (@realmag777)

    Hello Pim

    Yes, with this feature https://wp-filter.com/document/constant-link-extension/ – read this please …

    Thread Starter PRVB

    (@prvb)

    Hi RealMag777

    Thanks for your reply. I found that one indeed, and gave it a try. The url created does work if I paste it in for instance the address bar in a browser, though I can’t manage to make that the homepage/landingpage. I tried to use that one in the general WP settings by entering it in ‘Site URL’ though that doesn’t work. Stupid me then tried to use it at the ‘WP URL setting’ and now I can’t enter my WP backend anymore :-000
    So I kind of f*cked up my site. Trying to get it up and running by accessing the databases though no luck untill now.

    Do you happen to know how to solve this.. and then use the constant link somewhere to make it my homepage? I know this is not your problem, but being a programming genius like you, maybe you have a quick solution..

    Either way thanks for your support so far.

    Cheers,
    Pim

    Thread Starter PRVB

    (@prvb)

    In the meantime I managed to adjust the databases and remove the redirect. So that’s functioning normal again. Pfew.

    So my only question now is how to use the constant link as the direct landing/redirect when visitors enter the normal domain URL. One thing I’ve learned is that it isn’t the ‘site url setting’ in the wp general settings pane ??

    Thanks,
    Pim

    Plugin Author RealMag777

    (@realmag777)

    Hello Pim

    Thank you for cooperation! Looks like you has good adventures with wp settings ??

    So my only question now is how to use the constant link as the direct landing/redirect when visitors enter the normal domain URL – I think when your visitor enter any page where yuo can suggest him redirection – let that links will be on the sidebar, OR if you do not want to give him a choice – on the same top of your theme header.php file – the same first row write next code:

    <?php
       $actual_link = "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
       switch($actual_link){
         case 'https://my_site.com/page1':
         wp_redirect( 'https://my_site.com/page1?slg=product&mdf_cat=56&page_mdf=880', 301 );
         exit;
         break;
        }
    
    ?

    >

    https://stackoverflow.com/questions/6768793/get-the-full-url-in-php
    https://codex.www.ads-software.com/Function_Reference/wp_redirect

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Have a pre-selection checked at first visit’ is closed to new replies.