WPML language switcher for custom rewrite rules

A more simple solution for generating the rewrite rules would be to temporarily disable the WPML plugin. I did this using WP-CLI as follows: wp plugin deactivate sitepress-multilingual-cms wp rewrite flush wp plugin activate sitepress-multilingual-cms Note that this only works a single time. Each time you add/modify a category, the rewrite list is flushed and … Read more

Show category to visitors in different name or different language without changing basic category

You need to make your category name translation ready. You can do so by using WordPress functions such as __(‘Your category’,’your-text-domain’), _x(‘Your Category’, ‘your context’, ‘text domain’) and more click here. After that, you can use poedit or other tool to extract translatable strings form your code and create your_locale.po file which contain your custom … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)