WordPress.org

Ready to get started?Download WordPress

Forums

Quark
[resolved] adding additional social media (3 posts)

  1. Shukitty
    Member
    Posted 8 months ago #

    Is there a way to add additional social media? I want to add Vine to the social media icons. I looked it up in font awesome, there is a Vine icon. I tried adding vine to the array in the social media function, in the functions file. It didn't bring it up in the theme options page. Is there somewhere else I can add it?

  2. Nile Flores
    Member
    Posted 8 months ago #

    So, you added something like:

    array( 'url' => of_get_option( 'social_vine', '' ), 'icon' => 'fa-vine', 'title' => esc_html__( 'Follow me on Vine', 'quark' ) ),

    In your functions.php, before the last one, which is the RSS?

    Also, your options.php needs to have a corresponding area for vine too.

    Enter this before the options array for the RSS in your options.php

    $options[] = array(
    		'name' => esc_html__( 'Vine', 'quark' ),
    		'desc' => esc_html__( 'Enter your Vine URL.', 'quark' ),
    		'id' => 'social_vine',
    		'std' => '',
    		'type' => 'text' );

    Just in case, make sure your font awesome files (CSS and fonts) are updated to the 4.1 which was when Vine was added - http://fortawesome.github.io/Font-Awesome/whats-new/

  3. Shukitty
    Member
    Posted 8 months ago #

    That worked! I missed the options page. I did have to update the font awesome too, since the icon didn't show up after I added it. Thank you for your help!

Reply

You must log in to post.

About this Theme

About this Topic