WordPress.org

Ready to get started?Download WordPress

Forums

Custom Community
site_url(), or home_url()? (2 posts)

  1. epicure
    Member
    Posted 1 year ago #

    I've just installed Custom Community 1.14 using automatic installation from the WP dashboard. I noticed that the URL where the blog title in the header is not the home url (where index.php is, e.g. http://example.com), but site url (where the wordpress core files are, e.g. http://example.com/wordpress).

    After some quick tracing, it seems that all the calls to site_url(), in the function header_logo() (lines 196, 200, 205, and 208), in custom-community/core/includes/theme-generator/theme-generator.php, should have been home_url().

    Is this a bug? Or is there some reason that site_url() is called instead?

  2. konradS
    Member
    Posted 1 year ago #

    hi epicure,

    thanks for your feedback, i created a ticket @ github issue tracker:
    https://github.com/Themekraft/Custom-Community/issues/151

    you are welcome to leave further feedback to the developert there directly, too :)

    hope this helps,
    konrad

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic