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

Service Text Effect – Link from icon

linkphp fileservice text effect
    • 9 years, 10 months ago tshani
      Participant

      Expired

      Good day

      Is there any way to link from a Service Text Effect element’s icon to another page?

      Many thanks

      Rob Hobson

      site: tshani.co.za

    • 9 years, 10 months ago Mirela
      Participant

      Hello,

      Yes, please follow the instructions:
      -Go to file includes\core\codeless_elements.php and find this code: https://codeshare.io/3vBJz
      and replace with this one: https://codeshare.io/4p8ZE

      -Now go to file vc_templates\services_step.php and find these lines:

       if(!empty($icon)):
                     
                  $output .= '<div class="icon_wrapper"><i class="'.esc_attr($icon).'"></i></div>';
      
              endif;

      replace with these:

       if(!empty($icon)):
                     
                  $output .= '<div class="icon_wrapper"><a href="'.esc_url($link).'"><i class="'.esc_attr($icon).'"></i></a></div>';
      
              endif;

      Best regards!

    • 8 years, 9 months ago tfussell1
      Participant

      Expired

      Hi there, I was able to find “vc_templates\services_step.php” and make the changes, but can’t find “includes\core\codeless_elements.php”. It is most certainly NOT listed under Appearance/Editor/Tower … So where is it?

      OR?? Is there another way to make the service text effect icon link to a certain URL?

      Thanks

      • This reply was modified 8 years, 9 months ago by tfussell1.
      • This reply was modified 8 years, 9 months ago by tfussell1.
    • 8 years, 9 months ago Kris
      Participant

      Hello,

      You can find the codeless_elements.php file on: \wp-content\themes\tower\includes\core.
      There find these lines https://codeshare.io/3vBJz and replace with these https://codeshare.io/4p8ZE.
      Let us know.

      Best regards!

    • 8 years, 9 months ago Mirela
      Participant

      Hello,


      @tfussell1
      ,
      No, this is the only way to make the services links to another url. The pages that are not listed under Appearance > Editor, you have to access them via ftp.
      Open a ftp connection and then go to folder: wp-content\themes\tower\includes\core\codeless_elements.php

      Best regards!

    • 8 years, 9 months ago tfussell1
      Participant

      Expired

      Excellent, found the file through my host. Thanks for the help!

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