• Resolved MassimoM

    (@xma)


    I neeed add nofollow to link added to image or buttons column data type.

    I used code below, but it is not much elegant:

    
    add_action('ninja_table_js_config', function($tableArray, $filter){
    
        foreach ( $tableArray['columns'] as &$setting_column ){
            $setting_column['link_target'] = '_blank" rel="nofollow';
        }
        unset($setting_column);
    
        return $tableArray;
    }, 10, 2);
    

    consider adding an option to column setting.

    • This topic was modified 4 years, 1 month ago by MassimoM.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Syed Numan

    (@annuman)

    Hello @xma,

    Our sincerest apology for being delayed to respond. We always recommend opening a support ticket to get a fast reply.

    By default, this is not possible but I am taking this as a feature request. But it doesn’t guarantee the implementation of the feature as the R&D will analyze the request for the possibilities and necessity etc. and then it will be forwarded to the development team If they are affirmative about the implementation.

    If you have any further queries please submit a support ticket here. https://wpmanageninja.com/support-tickets/ Our support agents will assist you.

    Thanks

    Hi, we really need this as well. Where do we add the solution above in the meantime?

    Thread Starter MassimoM

    (@xma)

    Add code to functions.php into theme folder.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add nofollow for column data type image or button’ is closed to new replies.