How to use native wordpress translation domain inside a custom plugin?

How to use native wordpress translation domain inside a custom plugin? You would use __() without a textdomain, but this won’t work for you because that’s not how post status labels work. get_post_status doesn’t return the name of the post status, it returns a slug, e.g. pending not Pending. The solution is in the user … Read more

Warning: The actual loaded translation content contains mixed textdomains and is not pure translateable within one textdomain

If I am correct (I am not familiar with the plugin itself) it actualy means that you have/use more then one text-domain in your function(s) or theme template(s) as in (just an example): _e( ‘Your Ad here’, ‘my-text-domain’ ) / _e( ‘Your Ad here’, ‘your-text-domain’ ) You should always use one text-domain for your functions … Read more

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