Using Guttenberg? You’ll face

Replace this code to the themeum-theme/js/admin/post-meta.js
/*
* Admin Post Meta JS
* */
jQuery(document).ready(function ($) {
'use strict';
/* Select Post Format */
$(document).on('change', 'select[id*="post-format"]', function () {
for (var i = 0; i < $('.editor-post-format select option').length; i++) {
var formate = $('.editor-post-format select option:eq(' + i + ')').attr('value');
$('div[id^=post-meta-' + formate + ']').hide();
}
var formate = $('.editor-post-format select').attr('value');
$('div[id^=post-meta-' + formate + ']').show();
});
/* End. */
$(window).load(function () {
for (var i = 0; i < $('.editor-post-format select option').length; i++) {
var formate = $('.editor-post-format select option:eq(' + i + ')').attr('value');
$('div[id^=post-meta-' + formate + ']').hide();
}
var formate = $('.editor-post-format select').attr('value');
$('div[id^=post-meta-' + formate + ']').show();
});
/* End on load. */
});
Your problem will be solved.
Want to create a beautiful website?
WP Page Builder is a free plugin that integrates with any WordPress theme. You can easily drag and drop elements onto the pages you are building, and you don’t need any coding skills to do so.
WP Page Builder is free, and you can download it from

You can learn more about from this link: https://www.themeum.com/tutorial-category/wp-page-builder/