To add button social share on wordpress without plugin you can create custom_social_share_buttons() function in your functions.php file or code snippet plugin. Here is the example for sharing button Facebook, Twitter (X), Linkedin, Whatsapp, Reddit and Email:

Then add this function to create shortcode:

add_shortcode('social_share_buttons', 'custom_social_share_buttons_shortcode');

Now you can use [social_share_buttons] in your WordPress posts or pages to display the social share buttons.

To use fontawesome icon as share button icon, enqueue the css file using this snippet.

function enqueue_font_awesome() {
    // Enqueue Font Awesome CSS
    wp_enqueue_style('font-awesome', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css', array(), '5.15.4', 'all');

    // Enqueue Font Awesome JavaScript (only if needed, for example, if you use any Font Awesome features that require JavaScript)
    // wp_enqueue_script('font-awesome', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/js/all.min.js', array(), '5.15.4', true);
}

add_action('wp_enqueue_scripts', 'enqueue_font_awesome');