Unable to create custom menu links or expand menus

Posted in: Newspaper
Post count: 2

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!

Post count: 18283

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 !

Post count: 2

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.
Post count: 18283

Hello !

Please note that this a wordpress function. Unfortunately this can’t be covered by the support team. You will have to contact wordpress support for this.

Thank you for your understanding !

Post count: 18

en el theme panel podes descargar una traduccion a español y se actualizan las fechas

Post count: 18283

Hello !

No, translations have to be done manually in Theme Panel – Translations.

Thank you !

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.