WordPress.org

Forums

Missing add/delete row on menus page (2 posts)

  1. Trblestrife
    Member
    Posted 1 year ago #

    Please see screenshot: http://puu.sh/5KvTV.png

    As you can see there should be a "+" button as well as a list of the custom menus I've already made, however there is not. I'm not sure what I'm doing wrong and I've done almost 2 hours of research just now but nothing is working.

    I'm quite new to theme development and WordPress management. In addition I'm running a developer (self-managed!) plan with MediaTemple so I run everything server-side myself and have root access.

    So far, I am registering my menu in the functions.php file:

    <?php add_action('init', 'register_custom_menu');
    
    function register_custom_menu() {
    
    register_nav_menu('custom_menu', __('Custom Menu'));
    } ?>

    with this code in-document:
    <?php wp_nav_menu(array('menu' => 'custom_menu')); ?>
    This enables access to the actual menu screen under the appearance tab, however I can't see any of the other menu that I've made (quite a few, and I can confirm that I've made them because if I try to make another of the same name I get an error saying the name has been used!), nor save any changes to any that I make, nor edit or delete previously made ones. Quite frustrating..

    So basically I'm looking to find whether this problem is server-side (permissions with mariadb/phpmyadmin/apache), or in WordPress itself (not executing the function?).

    So far I've disabled all plugins, as well as reset all active plugins via PMA wp_options > active_plugins to a:0:{}, and tried multiple ways of declaring menus. I'm not sure what to try next..

    Oh and I do have this issue when using WordPress default themes (2014, 2013, 2012).
    Any suggestions are very welcome!!

  2. b_machuel
    Member
    Posted 1 year ago #

    Hi Trblestrife.
    Have you found a solution to your problem? I am stuck with the same issue…

Topic Closed

This topic has been closed to new replies.

About this Topic