Add custom URL to CoursePress theme logo on a subsite

On a multisite installation, the CoursePress theme is activated on a Subsite.

The logo is pointing to subsite’s home page. Is it possible to change the logo URL and point it to the main site?

Please advise

  • Nastia
    • Ex Staff

    Hello Jonathan

    Hope all is well!

    I am afraid this is not possible out of the box and it will require some custom coding, I’ve asked our developers to provide you some feedback here. Please note, our developers’ response time is longer-than-normal compared to support staff response times.

    Have a nice day!

    Kind regards,

    Nastia

  • Ivan Svyrskyi
    • Developer

    Hi Jonathan !

    You can try to create child theme based CoursePress following to this article.

    Then you should copy {wordpress_folder}/wp-content/plugins/coursepress/2.0/themes/coursepress/header.php file to {wordpress_folder}/wp-content/themes/{your_child_theme}/header.php and replace this line in this file (approximately 35th line)

    <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> to <h1 class="site-title"><a href="<?php echo esc_url( {YOUR_CUSTOM_LINK} ); ?>" rel="home"> via FTP.

    Best regards,

    Ivan.