How to create custom backend admin menu in different languages?

You need to use the internationalisation APIs, these let you swap out hardcoded strings for localised versions, e.g. <p>Hello world</p> versus: <p><?php _e( ‘Hello world’, ‘joes_plugin’ ); ?></p> Then, you can use .po/.mo/.pot files to provide alternatives, e.g. a file with french translations, a file with russian etc. You’ll need to declare your translation text … Read more

After changing Site http to https, can’t access wp login page with a digitalocean hosting

Make sure you set the site name correctly. Download your wp-config.php file via ftp, and add these lines: define( ‘WP_HOME’, ‘https://example.com’ ); define( ‘WP_SITEURL’, ‘https://example.com’ ); Notice the httpS. Also, if you are only using Cloudflares SSL, make sure to change the setting to Flexible SSL. But if you also have your own SSL certificate … Read more

How to overwrite function to display parent page combobox for custom post type in Edit Post Page?

Parent Page List According to your screenshot, it is using the classic editor, you may use get_pages() and get_pages hook to achieve the purpose. The page attribute meta box is created by page_attributes_meta_box() which use wp_dropdown_pages(), wp_dropdown_pages() then use get_pages() to load pages for creating options. If I understand correctly, you want to add the … Read more

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