Viewing 1 reply thread
You must be logged in to reply to this topic.
Dear,
How can you add a hyperlink to a “media” box in the backend editor? So when you click on the image, you go to the specified address.
I tried other options (portfolio, media grid), but these didn’t work well for me.
Hello,
1- Please go to file: specular\includes\core\codeless_elements.php and find these lines: https://www.codeshare.io/DYpOX
In line 182 add this code:
array (
'admin_label' => false,
'heading' => 'Link',
'description' => '',
'param_name' => 'link',
'type' => 'textfield',
'value' => '#',
),
Save file!
2- Go to file specular\vc_templates\media.php and replace all with this code: https://www.codeshare.io/Z0W0P
Save file!
Now go to your admin board, add a media element to page with vc and enjoy.
Best regards!
You must be logged in to reply to this topic.