Hello,
I’m in the midst of customizing this theme and I’m running into a limitation when trying to create new menu items such as for custom links, posts or categories in the menu system. For some reason menu categories will not expand to allow me to create items. Or is there another way to create menu items in this theme?
SEE WHERE I’M HAVING THE ISSUE: https://ibb.co/dDMbtrw
Running the latest WordPress 5.3.2 and PHP 7.3
max_input_vars is set to 5000
define(‘WP_MEMORY_LIMIT’, ‘256M’);
Thank you!
Hello !
Please note that the options shown by you are WordPress features, they are not related to the Newspaper Theme.
Please make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv ones, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.
Thank you !
Hi Vlad,
Hope all is well and thank you for your input. Based on your recommendations, I figured out that the problem was in my child-theme. I had entered the code below in ‘functions.php’ to help me change the translation of the day & months on the top bar and for some reason that was conflicting with my WP menus.
SCREENSHOT: https://ibb.co/MPFcNcS
That being said how do I translate the names of the days & months on that top bar without affecting my menus?
/* ----------------------------------------------------------------------------
translated month + days
*/
function change_data()
{
global $wp_locale;
// Months
$wp_locale->month['01'] = 'Enero';
$wp_locale->month['02'] = 'Febrero';
$wp_locale->month['03'] = 'Marzo';
$wp_locale->month['04'] = 'Abril';
$wp_locale->month['05'] = 'Mayo';
$wp_locale->month['06'] = 'Junio';
$wp_locale->month['07'] = 'Julio';
$wp_locale->month['08'] = 'Agosto';
$wp_locale->month['09'] = 'Septiembre';
$wp_locale->month['10'] = 'Octubre';
$wp_locale->month['11'] = 'Noviembre';
$wp_locale->month['12'] = 'Diciembre';
// Days
$wp_locale->weekday['0'] = 'Domingo';
$wp_locale->weekday['1'] = 'Lunes';
$wp_locale->weekday['2'] = 'Martes';
$wp_locale->weekday['3'] = 'Miercoles';
$wp_locale->weekday['4'] = 'Jueves';
$wp_locale->weekday['5'] = 'Viernes';
$wp_locale->weekday['6'] = 'Sabado';
// Months Abbreviation
$wp_locale->month_abbrev['January'] = 'Ene';
$wp_locale->month_abbrev['February'] = 'Feb';
$wp_locale->month_abbrev['March'] = 'Mar';
$wp_locale->month_abbrev['April'] = 'Abr';
$wp_locale->month_abbrev['May'] = 'May';
$wp_locale->month_abbrev['June'] = 'Jun';
$wp_locale->month_abbrev['Julie'] = 'Jul';
$wp_locale->month_abbrev['August'] = 'Ago';
$wp_locale->month_abbrev['September'] = 'Sep';
$wp_locale->month_abbrev['October'] = 'Oct';
$wp_locale->month_abbrev['November'] = 'Nov';
$wp_locale->month_abbrev['December'] = 'Dic';
}
add_filter('locale','change_data');
-
This reply was modified 6 years by
netco.