Support » Theme: Quark » adding additional social media

  • Resolved Shukitty

    (@shukitty)


    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Nile Flores

    (@blondishnet)

    Yoast Support

    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/

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘adding additional social media’ is closed to new replies.