• Hello everyone,
    sorry for my English.

    I use the Byblos theme, which does not include predefined social icons for Youtube, and I would like to add it.

    I thought I had to modify the php file of the theme, but I do not understand how, because I do not have great knowledge about code. Not so great to be able to make a change of the genre, actually.

    So, I attach the div that needs to be modified

    <div class="social-bar">
                    
                    <h3><?php echo $byblos_options['social_title']; ?></h3>
                    
                    <?php if ( '' != $byblos_options['sc_facebook_url'] ) : ?>
                        <a href="<?php echo esc_url( $byblos_options['sc_facebook_url'] ); ?>" target="_blank" class="icon-facebook">
                            <i class="fa fa-facebook"></i>
                        </a>
                    <?php endif; ?>
                    
                    <?php if ('' != $byblos_options['sc_pinterest_url'] ) : ?>
                        <a href="<?php echo esc_url( $byblos_options['sc_pinterest_url'] ); ?>" target="_blank" class="icon-pinterest">
                            <i class="fa fa-pinterest"></i>
                        </a>
                    <?php endif; ?>
                    
                    <?php if ('' != $byblos_options['sc_instagram_url'] ) : ?>
                        <a href="<?php echo esc_url( $byblos_options['sc_instagram_url'] ); ?>" target="_blank" class="icon-instagram">
                            <i class="fa fa-instagram"></i>
                        </a>
                    <?php endif; ?>
                    
                    <?php if ('' != $byblos_options['sc_soundcloud_url'] ) : ?>
                        <a href="<?php echo esc_url( $byblos_options['sc_soundcloud_url'] ); ?>" target="_blank" class="icon-soundcloud">
                            <i class="fa fa-soundcloud"></i>
                        </a>
                    <?php endif; ?>
    
                    <?php if ('' != $byblos_options['sc_twitter_url'] ) : ?>
                        <a href="<?php echo esc_url( $byblos_options['sc_twitter_url'] ); ?>" target="_blank" class="icon-twitter">
                            <i class="fa fa-twitter"></i>                            
                        </a>
                    <?php endif; ?>
    
                    <?php if ('' != $byblos_options['sc_linkedin_url'] ) : ?>
                        <a href="<?php echo esc_url( $byblos_options['sc_linkedin_url'] ); ?>" target="_blank" class="icon-linkedin">
                            <i class="fa fa-linkedin"></i>                            
                        </a>
                    <?php endif; ?>
    
                    <?php if ('' != $byblos_options['sc_gplus_url'] ) : ?>
                        <a href="<?php echo esc_url( $byblos_options['sc_gplus_url'] ); ?>" target="_blank" class="icon-gplus">
                            <i class="fa fa-google-plus"></i>                            
                        </a>
                    <?php endif; ?>
    
                </div>

    I think there is not only this to be modified.
    I am looking for a solution to this, but I am also open to new and imaginative solutions.

    Thank you :*

  • The topic ‘Add another social icon to the social bar’ is closed to new replies.