Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Change the header logo link

headerlinklogologo header link
    • 7 years, 9 months ago FranciscaVilloslada
      Participant

      Expired

      Hello, I need to know how I can change the link of the header logo.

      Thank you in advance for your help.

    • 7 years, 9 months ago Mirela
      Participant

      Hello,

      The header logo pulls out the site’s link by default. To change it, just go to your WordPress Settings > General > Site Address (URL), change the site’s address here.

      Best regards!

    • 7 years, 9 months ago FranciscaVilloslada
      Participant

      Expired

      Hello,

      Thanks for your reply,

      I don’t want to change the site address (URL), I just need to change the logo link, it has to link to another site. Is possible?

      Thanks,

      Xisca.

    • 7 years, 9 months ago Mirela
      Participant

      Hello,

      In this case you need to make the change directly into theme files. Go to file includes\codeless_builder\header-elements\cl_header_logo.php and find this line:

       elseif(codeless_get_mod('logo_type') == 'font')
                  {   
                      $logo = codeless_get_mod('logo_font_text', get_bloginfo('name'));
                      $logo = "<a href='".esc_url(home_url('/'))."' class=\"logo_font cl-responsive_color_".esc_attr( codeless_get_mod( 'logo_font_responsive_color', 'dark' ) )."\">".$logo."</a>";

      Edit this part: <a href='".esc_url(home_url('/'))."' to this: <a href='https://www.site.com'
      where “https://www.site.com&#8221; is the custom link you want to have for the logo.

      Let us know.

      Best regards!

    • 7 years, 9 months ago FranciscaVilloslada
      Participant

      Expired

      Ok, I’ve solved it, thank you.

      Xisca

Viewing 4 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password