Appearance
Are you an LLM? You can read better optimized documentation at /rhye/wp/tips-tricks/adding-custom-social-icons.md for this page in Markdown format
Adding Custom Social Icons
You can extend the default social icons set using custom theme filters. Insert the following code into the functions.php file of the Rhye child theme.
Add custom icons to Rhye: Social Media widget
php
add_filter( 'arts/widgets/rhye_widget_social/icons', function( $icons ) {
$icons += array(
'google' => array(
'title' => esc_html__( 'Custom Icon URL #1', 'rhye' ),
'icon' => 'fab fa-google fa-fw',
),
'apple' => array(
'title' => esc_html__( 'Custom Icon URL #2', 'rhye' ),
'icon' => 'fab fa-apple fa-fw',
),
'amazon' => array(
'title' => esc_html__( 'Custom Icon URL #3', 'rhye' ),
'icon' => 'fab fa-amazon fa-fw',
),
);
return $icons;
}, 99);The theme uses the Font Awesome 5 Brands icon pack. For the available icon shortcodes, please check the official icons library.