Skip to content

Commit

Permalink
Merge pull request redelivre#39 from viniciusdsales/master
Browse files Browse the repository at this point in the history
Correção no link do facebook
  • Loading branch information
diegorojas authored May 4, 2020
2 parents de7840c + d07b735 commit 4420967
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2495,7 +2495,7 @@ function coletivo_customize_register( $wp_customize ) {
array(
'label' => esc_html__('Facebook', 'coletivo'),
'section' => 'coletivo_contact_content',
'description' => esc_html__('Enter the adress without http://', 'coletivo')
'description' => esc_html__('Enter the name of the page url after the "/" (example of url https://www.facebook.com/facebook, just put facebook)', 'coletivo')
)
);
$wp_customize->add_setting( 'coletivo_contact_instagram',
Expand Down
2 changes: 1 addition & 1 deletion section-parts/section-contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class="<?php echo esc_attr(apply_filters('coletivo_section_class', 'section-cont
<div class="address-contact">
<span class="fa-stack"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-facebook fa-stack-1x fa-inverse"></i></span>

<div class="address-content"><a href="http://<?php echo wp_kses_post($coletivo_contact_fb); ?>" target="_blank"><?php echo wp_kses_post($coletivo_contact_fb); ?></a></div>
<div class="address-content"><a href=" https://www.facebook.com/<?php echo wp_kses_post($coletivo_contact_fb); ?>" target="_blank"><?php echo wp_kses_post($coletivo_contact_fb); ?></a></div>
</div>
<?php endif; ?>

Expand Down

0 comments on commit 4420967

Please sign in to comment.