Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion includes/functions/theme-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2733,7 +2733,7 @@ function better_amp_social_share_get_li( $id = '', $show_title = true, $count_la
$title = __( 'VK', 'better-amp' );
$icon = '<i class="fa fa-vk"></i>';
break;

default:
return '';
}
Expand Down
6 changes: 6 additions & 0 deletions template/css/social-list.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,9 @@ ul.social-list{
.social-list .social-item.whatsapp a:hover {
background-color: #00c462;
}
.social-list .social-item.instagram a {
background-color: #e1306c;
}
.social-list .social-item.instagram a:hover {
background-color: #c13584;
}
2 changes: 1 addition & 1 deletion template/css/social-list.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions template/customizer/customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,15 @@ function better_amp_customize_register( $wp_customizer ) {
'priority' => 24,
) );

$wp_customizer->add_setting( 'better-amp-instagram', array(
'default' => '#',
'transport' => 'postMessage',
) );
$wp_customizer->add_control( 'better-amp-instagram', array(
'label' => __( 'Instagram', 'better-amp' ),
'section' => 'better-amp-sidebar-section',
'priority' => 24,
) );

/**
* 2.5 Copyright text
Expand Down
2 changes: 1 addition & 1 deletion template/views/misc/social-links.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ul class="social-list clearfix">
<?php

foreach ( array( 'facebook', 'twitter', 'google_plus' ) as $k ) :
foreach ( array( 'facebook', 'twitter', 'google_plus', 'instagram' ) as $k ) :

$theme_mod = 'better-amp-' . $k;

Expand Down