• Resolved shadzee

    (@shadzee)


    This plugin is visually fantastic, and works well.
    How Can I add YELP icon to the plug in?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter shadzee

    (@shadzee)

    Figured it out, used the following at the bottom of the the theme’s functions.php :

    ============
    function my_mcb_admin_update_contacts( $contacts ) {

    $contacts[‘slideshare’] = array(
    ‘icon’ => ‘yelp’, // Font Awesome Icon name
    ‘title’ => ‘Yelp’,
    ‘protocol’ => ‘http’,
    ‘placeholder’ => ‘https://www.yelp.com/’
    );
    return $contacts;
    }

    add_filter( ‘mcb_admin_update_contacts’, ‘my_mcb_admin_update_contacts’ );

    Plugin Author Anna Bansaghi

    (@annabansaghi)

    Brilliant! I am happy that you found the solution by yourself ??

    Although pay attention to the $contacts['slidehare'] where slideshare is a unique key of the $contacts array. Do not use the same key twice.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Yelp icon and contact’ is closed to new replies.