New Landing How can we help? Themeforest Theme Support Dante Use rel="nofollow" on specific button

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #294414
    morruu
    Member
    Post count: 106

    How can I create a nofollow link from a button shortcode? I only need to use this attribute on some of my buttons.

    [sf_button colour=”accent” type=”standard” size=”standard” link=”#” target=”_blank” icon=”ss-erase” dropshadow=”yes” extraclass=”extra-class”]Button text[/sf_button]

    I added rel=”nofollow” to the page in text editor, but I can’t see the attribute in the html code it looks like this

    Best regards
    Morten

    #294453
    David Martin – Support
    Moderator
    Post count: 20834

    Yes Morten that is not a valid shortcode parameter.

    You should simply copy the HTML generated by the shortcode out using the Chrome web dev inspector.

    Then manually add your nofollow attribute to the link. You can then paste in your actual HTMl button and not the shortcode.

    #295345
    morruu
    Member
    Post count: 106

    Thanks a lot.

    Best regards
    Morten

    #295485
    David Martin – Support
    Moderator
    Post count: 20834

    Happy to help.

    – David.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register