Custom CSS based on the Author of a Post

Welcome to Stack Exchange!

In your theme’s function.php, you can add this code:

add_filter('body_class', function($classes) {
    $classes[] = 'author-' . get_current_user_id();

    return $classes;
});

This will add a CSS class with the current author’s ID to <body> which you can then target:

.author-2 .widget_bt_claim_widget {
    display: none;
}

See https://developer.wordpress.org/reference/functions/get_current_user_id/ for return values.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)