Okay
  Public Ticket #2938531
"download" Attribute in Links and Buttons
Closed

Comments

  •  1
    manifestic started the conversation

    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.

  •  8,938
    Tahir replied

    Hey manifestic ,

    Adding it to the Wishlist.

    Best


    ThemeNectar Support Team 

  •  2
    laerte replied

    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"