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

Social links

    • 5 years, 5 months ago Digitale_A
      Participant

      hi,

      Can you please tell me where to add “blank” parameters to social links in the footer in order to open the links for Facebook, twitter… in a new page ? instead of replace the website page ? It’s better for external link to open in a new page.

      Thanks

       

    • 5 years, 5 months ago Mirela
      Participant

      Hello,

      For this, you will need to edit theme files. Go to file regn/includes/widgets/regn_socialwidgets.php and find these lines:

      if( !empty($facebook) )
                     echo '<li class="facebook"><a href="'.esc_url($facebook).'"><i class="cl-icon-facebook"></i></a></li>';

      All socials are listed like this. In these lines add this code: target="_blank" right after the closing double quotes of href attribute. See code above edited:

      if( !empty($facebook) )
                     echo '<li class="facebook"><a href="'.esc_url($facebook).'" target="_blank"><i class="cl-icon-facebook"></i></a></li>';

      Do the same for all the socials you want to use.

      Let us know if you need further guidance.

      Best regards!

    • 5 years, 5 months ago Digitale_A
      Participant

      Hi, thanks it’s working for the footer…
      But not for the top of header… is there another item to change ?

      See it on https://www.vitamin-events.fr

      Thanks

      • This reply was modified 5 years, 5 months ago by Digitale_A.
    • 5 years, 5 months ago Ludjon
      Keymaster

      Hi,

      For the header please check on includes/codeless_builder/header-elements/cl_header_socials.php

      Add the target attribute on the anchor

      Thank You

    • 5 years, 5 months ago Digitale_A
      Participant

      perfect ! thanks a lot

    • 5 years, 5 months ago Ludjon
      Keymaster

      You’re welcome :)

      If you like our theme and support, leave us a rating on Themeforest, it’s very important for us :)

      https://themeforest.net/downloads

      Thank You so much

Viewing 5 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