diff --git a/htdocs/wp-content/themes/lawcarta/header.php b/htdocs/wp-content/themes/lawcarta/header.php index 55d47e0..5db5f35 100644 --- a/htdocs/wp-content/themes/lawcarta/header.php +++ b/htdocs/wp-content/themes/lawcarta/header.php @@ -182,7 +182,15 @@ height="0" width="0" style="display:none;visibility:hidden"> - + post_type == 'post'){ + $slug = 'blog'; + }else{ + $slug = basename(get_permalink()); + } + ?> +