Creating a redirect option for current page url

How should I check if the current page url has an equivalent on other sites? WordPress itself has no knowledge of any equivalency between mysite.com/uk/pricing and mysite.com/dk/priser. If you’re using a multilingual site plugin to build the different language sites, that would be the plugin’s job. But such a multilingual site plugin may very well … Read more

How to localize built-in strings in a future-proof manner?

i think you need the gettext filter. lifted directly from the codex, here is an example: add_filter( ‘gettext’, ‘theme_change_comment_field_names’, 20, 3 ); /** * Change comment form default field names. * * @link http://codex.wordpress.org/Plugin_API/Filter_Reference/gettext */ function theme_change_comment_field_names( $translated_text, $text, $domain ) { if ( is_singular() ) { switch ( $translated_text ) { case ‘Name’ : … Read more