Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 3 replies, has 0 voices.

Last updated by Kor 1 month, 3 weeks ago.

Assisted by: Kor.

Author Posts
September 17, 2025 at 10:54 pm #17411310

operationM

Background of the issue:
I am trying to edit the languages metabox on the admin posts/pages in my WordPress site using WPML. I want to be able to assign a language to content but not show the translation editor options. The site I need help with is hidden link. I have provided a screenshot for reference.

Symptoms:
I can't find any documentation that shows how to refine or tweak the languages metabox to hide the translation editor options.

Questions:
How can I edit the languages metabox to assign a language without showing all the translation editor options?

September 18, 2025 at 7:19 am #17411747

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for contacting us. There isn't an option to hide those, but you can use custom CSS code to hide them. Would you like me to share the custom CSS code to achieve that?

September 18, 2025 at 2:44 pm #17414055

operationM

Hi Kor,

Sure yes, that would be good.

Many thanks

September 18, 2025 at 4:16 pm #17414306

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Please backup the entire site first and insert the custom PHP code below into your theme's functions.php file.

add_action('admin_head', 'my_custom_fonts');

function my_custom_fonts() {
  echo '<style>
    #icl_document_language_dropdown {
    display:none!important;
}
  </style>';
}

The topic ‘[Closed] Editing Language Metabox’ is closed to new replies.