Comments 1manifestic started the conversationDecember 15, 2021 at 12:49amSalientIt would be great if Links and Buttons had the "download" attribute so, either as a switch (on/off), or better yet, as an input for the filename.1 Like 8,860Tahir repliedDecember 15, 2021 at 5:51amHey manifestic ,Adding it to the Wishlist.Best ThemeNectar Support Team 2laerte repliedFebruary 1, 2022 at 5:49pmHi Tahir and manifestic! I really hope I'm not bothering or make somethig wrong, just trying to help: I made a little modification to the code and I hope it helps to solve the problem, until the wishlist function exists. :)Open:/wp-content/plugins/salient-core/includes/vc_templates/nectar_horizontal_list_item.phpsearch ~300 line find: $cta_1_markup = '<a class="nectar-list-item-btn"replace: $cta_1_markup = '<a download class="nectar-list-item-btn"find:$cta_2_markup = '<a class="nectar-list-item-btn second"replace:$cta_2_markup = '<a download class="nectar-list-item-btn second"1 Like Sign in to reply ...
Salient
It would be great if Links and Buttons had the "download" attribute so, either as a switch (on/off), or better yet, as an input for the filename.
Hey manifestic ,
Adding it to the Wishlist.
Best
ThemeNectar Support Team
Hi Tahir and manifestic!
I really hope I'm not bothering or make somethig wrong, just trying to help:
I made a little modification to the code and I hope it helps to solve the problem, until the wishlist function exists. :)
Open:
/wp-content/plugins/salient-core/includes/vc_templates/nectar_horizontal_list_item.php
search ~300 line
find:
$cta_1_markup = '<a class="nectar-list-item-btn"
replace:
$cta_1_markup = '<a download class="nectar-list-item-btn"
find:
$cta_2_markup = '<a class="nectar-list-item-btn second"
replace:
$cta_2_markup = '<a download class="nectar-list-item-btn second"