Compare commits

..

No commits in common. "9f616c2f459918d6a39b84713fb52c5a6cb4efdb" and "3d3c79cbd7009c1f1776b573108650e967ed74b3" have entirely different histories.

2 changed files with 0 additions and 35 deletions

View File

@ -365,31 +365,6 @@ function add_custom_taxonomy_menu_item()
}
add_action('admin_menu', 'add_custom_taxonomy_menu_item');
/* ------------------------------------------------------------------------------------------
Masquer le menu "Chantiers" pour les utilisateurs non autorisés
--------------------------------------------------------------------------------------------*/
function metiers_du_patrimoine_admin_classes($classes)
{
global $pagenow;
$currentLanguage = apply_filters('wpml_current_language', null);
if ($currentLanguage === 'fr') {
$classes .= ' wpml-current-language--fr';
} else {
$classes .= ' wpml-current-language--nl';
}
if (in_array($pagenow, array('post.php', 'post-new.php'), true)) {
$classes .= ' your-class';
}
return $classes;
}
add_filter('admin_body_class', 'metiers_du_patrimoine_admin_classes');
/* ------------------------------------------------------------------------------------------
Masquer le menu "Chantiers" pour les utilisateurs non autorisés
--------------------------------------------------------------------------------------------*/

View File

@ -802,16 +802,6 @@ select[data-enpassusermodified='yes'] {
}
}
/* -----------------------------------------------------------
LOCK DATAS TRANSLATIONS ELEMENTS ON ARTISANS PAGES FOR NL
-----------------------------------------------------------*/
.wpml-current-language--nl {
#acf-group_67581cdaf3262,
.acf-field-670fc5666c4f3 {
@apply pointer-events-none cursor-not-allowed opacity-50;
}
}
/* -----------------------------------------------------------
Admin styles
-----------------------------------------------------------*/