WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Missing "Theme Locations" on menu admin page (11 posts)

  1. rwwood
    Member
    Posted 3 years ago #

    I'm using a variant of Chocotheme and have the following problem: On my development site on my local computer I have a Primary Navigation menu defined and it shows up on the admin menu page under "Theme Locations" as expected. Having uploaded the theme to my live server, on the menu admin page, the "Theme Locations" box is missing.

    Any ideas as to the problem will be appreciated.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the default theme to rule out any theme-specific problems?

    - resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

    - re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress?

    - increasing the memory available to PHP?
    http://wordpress.org/support/topic/253495#post-1017842

  3. rwwood
    Member
    Posted 3 years ago #

    - Tried deactivating all plugins: no change
    - Well, since everything is working fine on my local site, but not on the remote site, I don't see that changing themes is going to help me track down the problem.
    - Resetting the plugins folder didn't change anything either.
    - Re-loading the wp-admin and wp-includes folders likewise changed nothing.
    -Increasing memory available to php had no effect either.

    I'm going to start digging through the database to see if I can find differences there, because as near as I can tell, the files are the same on the remote server as on the local server.

  4. rwwood
    Member
    Posted 3 years ago #

    OK, I went ahead and switched to the twenty-ten theme on both the local and remote servers, and the problem continues. On the local server, I can activate the primary navigation menu from the admin interface, but on the remote server, the "Theme Locations" block is not there. I've verified that all files on the two servers are identical, but something on the remote server is causing the menus to not get registered. Is it possible it's the difference in php version? I'm running 5.2.9 on my local server and 5.2.14 on the remote server, but since the remote is BlueHost, that shouldn't be a problem.

    I'm totally baffled.

  5. bh_WP_fan
    Member
    Posted 3 years ago #

    On your local server, you run things, and manage them, as root. On your remote host, you are just a user with limited access. Whether this will work or not depends highly upon how your content is being accessed or called.

    Since this is a custom setup, it is difficult to have any ideas of where the problem could be, but it is quite likely that it is in relation to differences between running things on your own machine vs. on your host.

    Using an IP address, for example, will break things, but using localhost will work. It may also be looking for different settings within the database.

  6. rwwood
    Member
    Posted 3 years ago #

    But even using the twenty-ten default theme and no modules enabled results in not being able to access the theme built into the menu. That doesn't seem to me like a custom setup.

    Are you saying that there are some parts of WordPress that won't work on hosted services? BlueHost is at the top of the list for Wordpres support.

    Thanks.
    rww

  7. bh_WP_fan
    Member
    Posted 3 years ago #

    "Theme Locations" is not a default part of the WordPress Dashboard. Theme options, in WordPress 3.0+ are under the Appearance section and, depending on the theme, different options may be available. The default options are simply
    Appearance
    -->Themes
    -->Widgets
    -->Menus
    -->Editor

    Some themes, like twentyten for example, will add some more options. Twentyten adds:
    -->Background
    -->Header

    Perhaps you had a theme which was meant to add something like Theme Locations, but it is not a default setting and problems with it, would be problems with the theme itself. I have not yet seen a default WordPress feature which will not work on BlueHost.

  8. rwwood
    Member
    Posted 3 years ago #

    Well, apparently you didn't understand the problem. The twenty-ten theme has a menu that is named "Primary Navigation" which shows up on the admin interface under "Appearance/Menus" and shows up in a block on that page titled "Theme Locations". Within that block is the following:

    Your theme supports 1 menu. Select which menu you would like to use.

    along with a dropdown from which you can select the menu for adding menu items. Presumably it's a dropdown so that you can select other menus, should the theme support them.

    On my local development site, that "Theme Location" block is available for activating the Primary Navigation menu. Using exactly the same twenty-ten theme with no modules activated on the live site, that block is not available.

    For further clarification, I ultimately don't want to use twenty-ten, but a theme in which I've copied that functionality. As I've said, however, I have verified with twenty-ten that there's a problem.

    So, hopefully that is an explanation you can understand. Short of totally uninstalling the live site, I don't know how to begin to figure out why there's a problem. Due to the content I've already added, I obviously don't want to go that route.

  9. rwwood
    Member
    Posted 3 years ago #

    I went ahead and deleted everything from the live site, all files, the database, everything. I then did a clean install using BlueHost's SimpleScripts utility. Result: the Primary Navigation menu is still not available for adding items on the Appearance/Menus page.

    You can see what I'm talking about by going to the two screenshots below

    Live Site
    Local Site

    The red box indicates what's missing on the live site.

  10. bh_WP_fan
    Member
    Posted 3 years ago #

    Yes, I did misunderstand you. Sorry about that.

    The reason why you aren't seeing Theme Locations is because you haven't created any menus yet.

    You cannot have a Theme Locations option without menus. Create a couple of test menus and you should see the Theme Locations option appear.

  11. rwwood
    Member
    Posted 3 years ago #

    OK. I didn't remember having done that on the local site. In any case, it would seem that the info given in the Codex pages is a bit misleading as I would think from reading what's there that the menu would already be available in the admin area for adding menu items.

    In any case, this appears to be resolved.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags