Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    You can use the filter ‘ywraq_request_page_url’, with this hook if you know the current language of site you can change the url of ‘Request a quote’ page

    You should add in the file functions.php of your theme something like this:

    add_filter( 'ywraq_request_page_url', 'ywraq_request_page_url');
    
    	function ywraq_request_page_url( $url ){
    
    		//change with a function that return the current language
                    $currentlang = 'en';
    		switch($currentlang){
    			case 'en':
    				$url = 'https://...../en';
    				break;
    			case 'fr':
    				$url = 'https://...../fr';
    				break;
    			default:
    
    		}
    
    		return $url;
    	}	
    
Viewing 1 replies (of 1 total)
  • The topic ‘Browse the list link issue’ is closed to new replies.