get language from wp
This commit is contained in:
parent
ec35c444e4
commit
3e5047028f
|
@ -10,6 +10,8 @@ $year = preg_replace('%.*/([0-9]*)$%', '\1', $siteurl);
|
||||||
|
|
||||||
$sched_config = getSchedConfig($year);
|
$sched_config = getSchedConfig($year);
|
||||||
|
|
||||||
|
$sched_config['lang'] = of_get_lang();
|
||||||
|
|
||||||
$data = loadData($sched_config);
|
$data = loadData($sched_config);
|
||||||
|
|
||||||
if ( preg_match('/^workshop/', $pagename) ) {
|
if ( preg_match('/^workshop/', $pagename) ) {
|
||||||
|
|
Loading…
Reference in New Issue