Using Guttenberg? You’ll face Post Format issue.

Post Format bug on the Themeum Themes? 2

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 Themeum’s website. It’s also easy to install via WordPress’ admin panel, but because the plugin is new, you’ll have to scroll down the list to find it.

Post Format bug on the Themeum Themes? 3
How to install Themeum WP Page Builder

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