Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1088678

    How do I change the code on the shortcode for inserting buttons so the link within the button is nofollow?
    I want to insert affiliate links into these buttons – but the links must be nofollow.

    This is the current shortcode I have:

    [av_button label='LINK TITLE HERE' link='manually,LINK HERE' link_target='_blank' size='x-large' position='left' label_display='' icon_select='no' icon='ue800' font='entypo-fontello' color='custom' custom_bg='#fff000' custom_font='#000000' av_uid='' admin_preview_bg='']

    #1089771

    Hey alicewp,

    Please refer to the following:

    https://kriesi.at/support/topic/how-to-set-nofollow-for-button-links/#post-747640

    Best regards,
    Jordan Shannon

    #1091032

    Hi Jordan,

    Thank you. This is what I need except I want all buttons to be no-follow, not just specific ones.

    Therefore, in the ‘your-custom-class’ what would be the class to capture all types of buttons? would it be .av_button

    jQuery('.your-custom-class a').attr('rel','nofollow');

    Thanks.

    #1091313

    Hi,

    Please try this to see if you have any luck with it:

    jQuery('a.avia-button').attr('rel','nofollow');

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.