-
-
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
-
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!
-
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
-
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!
-
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.phpBest regards!
-
Excellent, found the file through my host. Thanks for the help!
-
You must be logged in to reply to this topic.