• Resolved Bauhaus-Design

    (@bauhaus-design)


    Hey Anna,

    I wanted to add two more icons, so I added two of the code snippets to the functions.php (with different names) — but this crashed the website. With just one additional icon it worked perfectly. Are you able to help?

    Kind regards
    LLB

Viewing 1 replies (of 1 total)
  • Plugin Author Anna Bansaghi

    (@annabansaghi)

    Hi LLB,

    Please, try the following. This should work.

    function my_mcb_admin_update_contacts( $contacts ) {
    
        $contacts['slideshare'] = array(
            ...
        );
    
        $contacts['imdb'] = array(
            ...
        );
    
        $contacts['yelp'] = array(
            ...
        );
    
        return $contacts;
    }
    
    add_filter( 'mcb_admin_update_contacts', 'my_mcb_admin_update_contacts' );

    Thanks for letting me know the issue.

    • This reply was modified 7 years, 9 months ago by Anna Bansaghi.
Viewing 1 replies (of 1 total)
  • The topic ‘Two new Icons’ is closed to new replies.