diff --git a/htdocs/wp-content/themes/lawcarta/header.php b/htdocs/wp-content/themes/lawcarta/header.php index ff3d290..b38959a 100644 --- a/htdocs/wp-content/themes/lawcarta/header.php +++ b/htdocs/wp-content/themes/lawcarta/header.php @@ -78,6 +78,11 @@ $lawCartaUrl = "$scheme$host$port"; eventer(messageEvent, function (ev) { if (ev.origin.indexOf('') !== -1) { document.getElementById('header-menu').insertAdjacentHTML('beforeend', ev.data); + if ($('#is-guest').text() == 'true') { + $('.guest-data').show(); + } else { + $('.home-label').text('Dashboard').attr('href', '/dashboard'); + } } });