New Landing How can we help? Themeforest Theme Support Flexform Customizing links in Swift Page builder

Viewing 3 posts - 1 through 3 (of 3 total)
  • Posted in: Flexform
  • #23573

    Is it possible to put custom links such as adding rel=”nofollow” to a link. We are specifically trying to do this on the single image element. Ideally we would like to use the Clients Post type o accomplish this but it seems to have the same limitation.

    here is the page we are trying to do this on. http://dev.jimadler.com/law-firm/community-involvement

    #23649
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi,

    You would need to customize this file: /includes/page-builder/composer/lib/shortcodes/image_galleries.php and find this line in the WPBakeryShortCode_VC_Single_image class, amending it to include the rel attribute:

    $output .= "\n\t\t\t".'<a class="img-link" href="'.$image_link.'" target="'.$link_target.'">';

    So it would look like this:

    $output .= "\n\t\t\t".'<a class="img-link" href="'.$image_link.'" target="'.$link_target.'" rel="nofollow">';

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

    #23650
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Forum messes up code – & gt; would mean > and & lt; would mean < Regards, ———————————————————————————————————— Cosmin Support Assistant

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

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

License required for one of the following items
Login and Registration Log in · Register