I manually upload the document to server via ftp, I name the file as xxxx_e.pdf and xxxx_c.pdf for both language English and Traditional Chinese respectively. How can I get the current language from the page and define the condition
May I know whether it is same as adding script in functions.php? I prefer to add code to functions.php. I add the code to functions.php what should I add from the Toolset Settings > Front-end Content? Only the Third-party shortcode arguments or Functions inside conditional evaluations but no Third-party shortcode inside conditional evaluations.
May I know whether it is same as adding script in functions.php?
Yes it is the same as adding it to the functions.php file. Remember if you add it to the toolset custom code section you will need to click the activate link.
Only the Third-party shortcode arguments or Functions inside conditional evaluations but no Third-party shortcode inside conditional evaluations.
You will need to add the shortcode name to the Third Party shortcode argument box i.e add "cust_get_current_language"
Third party shortcode arguments is still supported.