marklamberth 0 Report post Posted August 24, 2011 Hello, I'd like to be directed to the .php file where I can remove the call to the main menu completely. We are doing this because we are now using the WPML plugin which translates the site to new languages. I added the code that inserts the new menu into template.branding.php. This worked great and inserts the translated menu directly above the old one. But what file do I open to remove the old menu? Just the filename please. I am aware of the issues involved. Share this post Link to post Share on other sites
Rob 547 Report post Posted August 24, 2011 It's not a filename. You point your browser, once logged into the Dashboard to Appearances > Menus and change the default menu to a new one you create with no content. Call the new default menu "empty". Save it, and make it the default. Former PageLines Moderator, Food Expert and Raconteur Share this post Link to post Share on other sites
Rob 547 Report post Posted August 24, 2011 In fact, two points... 1. You should be creating your menu, even a foreign language one in the Menus section which is not a Platform function but a Wordpress one. 2. Transposh plugin and Google's translation plugin work very well and allow you to adjust grammar as needed. With either, you wouldn't need to go through all this customization. Former PageLines Moderator, Food Expert and Raconteur Share this post Link to post Share on other sites
marklamberth 0 Report post Posted August 24, 2011 The new menu system is inserted with a line of php. It's the WPML plugin. It has to be done this way because it brings up the translated menus, along with the correct links to the foreign language pages. Your suggestion to assign an empty menu to the main menu area works perfectly to remove the old menu though. One last thing. If I have a modified template.branding.php file in my /platformbase/ child theme folder, will it be overwritten on a platformpro update? Here's the site if you wish to see it http://letsdoenglish.com/ Share this post Link to post Share on other sites
Rob 547 Report post Posted August 25, 2011 If it's saved separately as it appears, no. It will remain constant because it will not be in the upgrade. Only files that existed in the original installation will be overwritten. Former PageLines Moderator, Food Expert and Raconteur Share this post Link to post Share on other sites