The 7 테마 | 소셜 아이콘 추가하기

The 7 테마 | 소셜 아이콘 추가하기

Try editing presscore_get_social_icons_data() function in …/dt-the7/functions.php line ~1306. Add required social service into the array. For example:

‘vk’ => __(‘VK’, LANGUAGE_ZONE),
‘foursquare’ => __(‘Foursquare’, LANGUAGE_ZONE),
‘ning’ => __(‘Ning’, LANGUAGE_ZONE),

Then, please insert the following rules into Dashboard – Theme Options – General – Custom CSS:

.soc-ico > a.ning {
border: none !important;
width: 27px;
height: 27px;
background-size: 100%;
background-repeat: no-repeat;
}

.soc-ico .ning .icon {
display: none;
}

.soc-ico a.ning{
background-image: url(http://example.com/images/example.png);
}
.soc-ico a.ning:hover {
background-image: url(http://example.com/images/example-hover.png);
}

Social profile link can be added in the usual way via Theme Options -> Top bar.
Social link shortcode: [dt_social_icon target_blank=”true” icon=”ning” link=”http://ning.com” /]

For making the appropriate changes in the “Contact info” widget, it is necessary to edit …/dt-the7/inc/widgets/contact-info.php

 

원본 링크 : How to add a custom social icon | Dream-Theme Support Portal.