• Resolved Camilo

    (@runonce)


    Hi,

    I can’t find a way to have a dynamic link to my homepage. I’m using the get_site_url() function but it always return my english URL.

    * Running Polylang 1.1.6 on WP 3.7
    * Permalinks structure is /%postname%/
    * Using lenguage code in URLs (example.com/es/somepage)

    When I’m in the spanish version, I expected that get_site_url() would return example.com/es, instead it returns example.com (which is the default language). Is there any way around this?

    http://ww.wp.xz.cn/plugins/polylang/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Filter site URL’ is closed to new replies.