Translate categories
-
When shown on front, the CSS class is constructed from the category->slug, which makes i possible to translate category names without affecting the display, and without extra css.
But when shown in Admin, the CSS class is constructed from the category->name, and translating breaks the display, unless one adds extra admin CSS.
Would you consider using the slug also in admin?
Quick fix, to demonstrate, in class-kjm-admin-notices-admin.php line 871
$notice_cat = !empty($notice['taxonomies']['kjm_notice_cat'][0]) ? get_term_by( 'name', $notice['taxonomies']['kjm_notice_cat'][0], 'kjm_notice_cat' )->slug : 'success';
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Translate categories’ is closed to new replies.