Title: gddesign's Replies | WordPress.org

---

# gddesign

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] The language switcher Not Switch in one page](https://wordpress.org/support/topic/the-language-switcher-not-switch-in-one-page/)
 *  Thread Starter [gddesign](https://wordpress.org/support/users/gddesign/)
 * (@gddesign)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/the-language-switcher-not-switch-in-one-page/#post-13185624)
 * OK – UPDATE (i can’t find how i am update the previous message)
 * IT IS WORKING… Thank you SO MUCH Chouby. your intention was 100% ,
    what i was
   doing that i add an array in the costume post type in functions.php
 *     ```
       	$rewrite = array(
       		'slug'                  => 'foa-reports',
       		'with_front'            => false,
       		'pages'                 => true,
       		'feeds'                 => false,
       	);
       ```
   
 * and in the args i was add this line
 * ‘rewrite’ => $rewrite,
 * and after this i save the permalinks again in wordpress and it is worked – Success
 * So again, thank you very very much.
    -  This reply was modified 5 years, 10 months ago by [gddesign](https://wordpress.org/support/users/gddesign/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] The language switcher Not Switch in one page](https://wordpress.org/support/topic/the-language-switcher-not-switch-in-one-page/)
 *  Thread Starter [gddesign](https://wordpress.org/support/users/gddesign/)
 * (@gddesign)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/the-language-switcher-not-switch-in-one-page/#post-13181783)
 * Thank you Chouby ,
 * Indeed i use in the server for the post type “reports” the name of the file
    
   archive-reports.php , so you suggest that i will change the file name? OR in 
   the function.php where i create the post type i will add this row (now it is 
   not there) ‘rewrite’ => array(‘slug’ => ‘foa-reports’), Are you think it should
   work like this ? (and i keep In management the page (in pages) in hebrew as “
   דוחות” and in the english page “reports” for the url…)
 * What you say ?

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