💄 Añade icono para enlazar a SoloGit
This commit is contained in:
parent
1239e8f935
commit
ca2a0b3190
2 changed files with 18 additions and 15 deletions
|
@ -111,23 +111,25 @@ function avia_change_tag_page_layout( $layout, $context ) {
|
|||
}
|
||||
|
||||
/*
|
||||
* Register new icons as a theme icons fot GitHub, GitLab and Mastodon.
|
||||
* Register new icons as a theme icons.
|
||||
* 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' );
|
||||
$icons['bluesky'] = array( 'font' =>'fontello', 'icon' => 'ue805' );
|
||||
$icons['GitHub'] = array( 'font' =>'fontello', 'icon' => 'uf09b' );
|
||||
$icons['GitLab'] = array( 'font' =>'fontello', 'icon' => 'uf296' );
|
||||
$icons['SoloGit'] = array( 'font' =>'fontello', 'icon' => 'ue806' );
|
||||
$icons['Mastodon'] = array( 'font' =>'fontello', 'icon' => 'ue804' );
|
||||
$icons['Bluesky'] = array( 'font' =>'fontello', 'icon' => 'ue805' );
|
||||
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';
|
||||
$icons['Bluesky'] = 'bluesky';
|
||||
$icons['GitHub'] = 'GitHub';
|
||||
$icons['GitLab'] = 'GitLab';
|
||||
$icons['SoloGit'] = 'SoloGit';
|
||||
$icons['Mastodon'] = 'Mastodon';
|
||||
$icons['Bluesky'] = 'Bluesky';
|
||||
return $icons;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue