Title: moreyummystuff's Replies | WordPress.org

---

# moreyummystuff

  [  ](https://wordpress.org/support/users/moreyummystuff/)

 *   [Profile](https://wordpress.org/support/users/moreyummystuff/)
 *   [Topics Started](https://wordpress.org/support/users/moreyummystuff/topics/)
 *   [Replies Created](https://wordpress.org/support/users/moreyummystuff/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/moreyummystuff/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/moreyummystuff/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/moreyummystuff/engagements/)
 *   [Favorites](https://wordpress.org/support/users/moreyummystuff/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Permalink rewriting for non-translated custom types](https://wordpress.org/support/topic/permalink-rewriting-for-non-translated-custom-types/)
 *  Thread Starter [moreyummystuff](https://wordpress.org/support/users/moreyummystuff/)
 * (@moreyummystuff)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/permalink-rewriting-for-non-translated-custom-types/#post-4065535)
 * Ah, thanks for pointing me in the right direction. With some tweaking I got it
   working to how I expected it to work.
 * Basically one can avoid this if they do not define the “rewrite” parameter for
   a custom type. Sadly as I had given it an ungainly name I needed to use the “
   rewrite” to have a “prettier” slug for the permalink so it needed some tinkering.
 * Thanks again for your time.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] menu not switching](https://wordpress.org/support/topic/menu-not-switching/)
 *  Thread Starter [moreyummystuff](https://wordpress.org/support/users/moreyummystuff/)
 * (@moreyummystuff)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/menu-not-switching/#post-4022170)
 * After taking a peek at the php error logs I found what it was. On my local dev
   machine, which this is on, I use symlinks for the plugin directories – apparently
   this line in polylang.php
 *     ```
       define('POLYLANG_DIR', dirname(__FILE__)); // our directory
       ```
   
 * Resolves to the symlink target (__FILE__ behavior was changed after PHP 4.something)
   so as a consequence it silently failed to create the termmeta table on activation.
   However any subsequent queries to that table generated entries in the error log
   which gave it away.
 * Setting the plugins to a normal directory and activating (after clearing previous
   installation db entries) works out fine.
 * Again, thanks for your time.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] menu not switching](https://wordpress.org/support/topic/menu-not-switching/)
 *  Thread Starter [moreyummystuff](https://wordpress.org/support/users/moreyummystuff/)
 * (@moreyummystuff)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/menu-not-switching/#post-4022161)
 * The only other plugin active was Advanced Custom Fields which hadn’t been setup
   at all, nothing was defined for it. I tried disabling it but nothing changed.
 * To setup the menus I went to Appearance->Menus->Manage Locations and assigned
   the two menus I had created to each language; english and greek in this case.
   If I go to “Edit Menus” it lists the assignments properly in the parenthesis 
   next to the menu name in the dropdown.
 * Previous to that I had added greek as an extra language without changing any 
   of the settings that polylang suggested for the language (ISO code, locale, etc).
 * In language settings I have:
 * – Default language: english
    – Detect browser language: disabled – URL modifications:
   option 2 – Hide URL language for default language: disabled – When using static
   front page, redirect the language page: enabled – Activate languages and translations
   for media: enabled
 * I’ll install WP & the plugin later on in a separate new installation and see 
   if it works then with all default settings and compare options. Before I installed
   polylang I had made some changes to settings (pretty permalinks, etc), but even
   if I restore those to default currently there is no change. Also ACF was installed
   before I added polylang.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] menu not switching](https://wordpress.org/support/topic/menu-not-switching/)
 *  Thread Starter [moreyummystuff](https://wordpress.org/support/users/moreyummystuff/)
 * (@moreyummystuff)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/menu-not-switching/#post-4022157)
 * It’s a brand new installation of WP 3.6 and twentytwelve is ver 1.2.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Random header doesn't work in secondary language](https://wordpress.org/support/topic/random-header-doesnt-work-in-secondary-language/)
 *  [moreyummystuff](https://wordpress.org/support/users/moreyummystuff/)
 * (@moreyummystuff)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/random-header-doesnt-work-in-secondary-language/#post-4004075)
 * Could you paste the function that outputs the header?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] menu not switching](https://wordpress.org/support/topic/menu-not-switching/)
 *  Thread Starter [moreyummystuff](https://wordpress.org/support/users/moreyummystuff/)
 * (@moreyummystuff)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/menu-not-switching/#post-4021958)
 * Well one thing I did was to change the standard wp_nav_menu entry to:
 *     ```
       wp_nav_menu(array(
       'theme_location' => 'primary#' . pll_current_language()
       ));
       ```
   
 * Now it swaps the menus properly for the primary location, but I’m pretty sure
   that’s not the intended use.

Viewing 6 replies - 1 through 6 (of 6 total)