• Resolved asalcer

    (@asalcer)


    I want to add instagram as an option in the social media console.

    I tried adding this to footer.php but it causes the instagram icon to show up multiple times.

    How can I add it to the backend or simply add it to footer.php without this duplication problem?

    See example here: https://davidmilosevichcasting.com/dmc/

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter asalcer

    (@asalcer)

    oops, here’s the code again

    <a class="social-icon icon-instagram" href="https://instagram.com/davidmilocasting" target="_blank">

    Thread Starter asalcer

    (@asalcer)

    I figured it out. The clearfix class was causing it to repeat. I added a separate div in footer.php as follows:

    <div class="span6 social-icon-container"><ul><li><a class="social-icon icon-instagram" href="https://instagram.com/davidmilocasting" target="_blank"></a></li></ul></div>

    Still don’t know how to add to the theme options though

    on the footer.php add ‘Instagram’ => ‘social_instagram’,

    <?php $social_icons = array('Facebook' => 'social_facebook',
    'Twitter' => 'social_twitter',
    'Google-plus' => 'social_googleplus',
    'Instagram' => 'social_instagram',
    );

    on options.php add

    $options[] = array(
    		'name' => __('Instagram Link', 'options_framework_theme'),
    		'id' => 'social_instagram',
    		'std' => '',
    		'type' => 'text');

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding Instagram to Social Media console’ is closed to new replies.