From 5820b34f313c674b985b87d35c556f716cd12049 Mon Sep 17 00:00:00 2001 From: Manuel Cillero Date: Wed, 23 Nov 2022 20:15:33 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20A=C3=B1ade=20icono=20para=20enla?= =?UTF-8?q?zar=20a=20Mastodon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/wp-content/themes/enfold-cille/functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/wp-content/themes/enfold-cille/functions.php b/www/wp-content/themes/enfold-cille/functions.php index d0eaece..1ebc34b 100644 --- a/www/wp-content/themes/enfold-cille/functions.php +++ b/www/wp-content/themes/enfold-cille/functions.php @@ -111,19 +111,21 @@ function avia_change_tag_page_layout( $layout, $context ) { } /* - * Register new icons as a theme icons fot GitHub and GitLab. + * Register new icons as a theme icons fot GitHub, GitLab and Mastodon. * See https://kriesi.at/documentation/enfold/custom-social-icons/ */ add_filter( 'avf_default_icons', 'avia_add_custom_icon', 10, 1 ); function avia_add_custom_icon( $icons ) { $icons['github'] = array( 'font' =>'fontello', 'icon' => 'uf09b' ); $icons['gitlab'] = array( 'font' =>'fontello', 'icon' => 'uf296' ); + $icons['mastodon'] = array( 'font' =>'fontello', 'icon' => 'ue804' ); return $icons; } add_filter( 'avf_social_icons_options', 'avia_add_custom_social_icon', 10, 1 ); function avia_add_custom_social_icon( $icons ) { $icons['GitHub'] = 'github'; $icons['GitLab'] = 'gitlab'; + $icons['Mastodon'] = 'mastodon'; return $icons; }