• Resolved nachocomar

    (@nachocomar)


    I have wordpress language set to spanish (es_ES). When I click on App Store links it opens the App Store site in German (itunes.apple.com/de/)

    Solution: Remove the /de/ from the App Store URL and it will load the language set in the browser.

    Thanks!!

    https://www.ads-software.com/plugins/wp-appbox/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Mitchz

    (@mitchz)

    I got the Windows Store links that go to the german store.
    Where do you remove the /de/ ?? Don′t know which file or where i can change it?

    Plugin Author Marcelismus

    (@marcelismus)

    More easier (and update-secure) way are some functions which returns the URL. ?? See here (german): https://www.blogtogo.de/wp-appbox-tradedoubler-id-und-store-url-updatesicher-aendern/

    Next bigger update will let you change the url from the backend.

    The answer to the original question is to go into getinfo.class.php and find:

    case 'appstore':
    if(function_exists('wpappbox_get_appstore_url')) $url = wpappbox_get_appstore_url();
    else $url = 'https://itunes.apple.com/de/lookup?id={APPID}';
    break;

    then change it to:

    case 'appstore':
    if(function_exists('wpappbox_get_appstore_url')) $url = wpappbox_get_appstore_url();
    else $url = 'https://itunes.apple.com/lookup?id={APPID}';
    break;

    and don’t forget to clear the cache….or you won’t see any changes!

    Plugin Author Marcelismus

    (@marcelismus)

    Nope, don’t change the URL in the getinfo.class.php. Just put a little function into your function.php:

    //WP-Appbox: Appple AppStore URL
    function wpappbox_get_appstore_url() {
    return(‘https://itunes.apple.com/lookup?id={APPID}’);
    }

    Hello Marcelismus,
    i put this code into function.php page of my templates, but not change.

    //WP-Appbox: Appple AppStore URL
    function wpappbox_get_appstore_url() {
      return('https://itunes.apple.com/lookup?id={APPID}');
    }

    Can you help me? The plugin is fantastic, but is a big problem if all app relink in german apple store!
    I prefere Italian Apple Store.
    Thanks

    functions.php get overwritten on wordpress/theme update, this is far from perfect solution.

    Plugin Author Marcelismus

    (@marcelismus)

    functions.php has nothing to do with a WordPress update. An to beware changes from theme updates, changes should be done within a child theme. ?? But anyway: Version 3.0 brings changeable links within the appbox-backend. Just need some time…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘App Store links go to German (/de/) version’ is closed to new replies.