X7ROOT File Manager
Current Path:
/home/notabjze/hourglass.life/wp-content/themes/smart-mag/inc
home
/
notabjze
/
hourglass.life
/
wp-content
/
themes
/
smart-mag
/
inc
/
ðŸ“
..
ðŸ“
admin
📄
admin.php
(6.3 KB)
ðŸ“
amp
📄
archives.php
(3.35 KB)
📄
authenticate.php
(3.25 KB)
📄
bunyad.php
(711 B)
ðŸ“
core
📄
custom-codes.php
(8.22 KB)
📄
custom-css.php
(5.5 KB)
📄
customizer.php
(1.5 KB)
📄
dark-mode.php
(1.61 KB)
ðŸ“
demos
ðŸ“
integrations
📄
lazyload.php
(9.45 KB)
📄
legacy.php
(5.03 KB)
📄
media.php
(22.27 KB)
📄
navigation.php
(1.15 KB)
📄
schema.php
(6.7 KB)
📄
search.php
(2 KB)
📄
social.php
(3.71 KB)
📄
theme.php
(30.59 KB)
Editing: social.php
<?php /** * Functions relating to the social functionality. */ class Bunyad_Theme_Social { public function __construct() { add_filter('sphere/social-follow/options', [$this, 'follow_options']); add_filter('sphere_theme_docs_url', function() { return 'https://theme-sphere.com/docs/smartmag/'; }); } /** * Filter: Modify default customizer options for social follow * * @see \Sphere\Core\SocialFollow\Module::add_theme_options() */ public function follow_options($options) { $options['title'] = esc_html__('Social Follow & Count', 'bunyad-admin'); $options['desc'] = sprintf( 'Note: These settings are for Social Follow widget. For normal social settings, go to %sSocial Media Links%s', '<a href="#" class="focus-link" data-section="bunyad-misc-social">', '</a>' ); $options['sections']['general']['fields']['sf_counters']['value'] = 0; return $options; } /** * Get an array of services supported at different locations * such as Top bar social icons. */ public function get_services() { $services = [ 'facebook' => [ 'icon' => 'tsi tsi-facebook', 'label' => esc_html__('Facebook', 'bunyad') ], 'twitter' => [ 'icon' => 'tsi tsi-twitter', 'label' => esc_html__('Twitter', 'bunyad') ], 'instagram' => [ 'icon' => 'tsi tsi-instagram', 'label' => esc_html__('Instagram', 'bunyad') ], 'pinterest' => [ 'icon' => 'tsi tsi-pinterest-p', 'label' => esc_html__('Pinterest', 'bunyad') ], 'bloglovin' => [ 'icon' => 'tsi tsi-heart', 'label' => esc_html__('BlogLovin', 'bunyad') ], 'rss' => [ 'icon' => 'tsi tsi-rss', 'label' => esc_html__('RSS', 'bunyad') ], // Only for authentications. 'google' => [ 'icon' => 'tsi tsi-google', 'label' => esc_html__('Google', 'bunyad') ], 'youtube' => [ 'icon' => 'tsi tsi-youtube-play', 'label' => esc_html__('YouTube', 'bunyad') ], 'dribbble' => [ 'icon' => 'tsi tsi-dribbble', 'label' => esc_html__('Dribbble', 'bunyad') ], 'tumblr' => [ 'icon' => 'tsi tsi-tumblr', 'label' => esc_html__('Tumblr', 'bunyad') ], 'linkedin' => [ 'icon' => 'tsi tsi-linkedin', 'label' => esc_html__('LinkedIn', 'bunyad') ], 'flickr' => [ 'icon' => 'tsi tsi-flickr', 'label' => esc_html__('Flickr', 'bunyad') ], 'soundcloud' => [ 'icon' => 'tsi tsi-soundcloud', 'label' => esc_html__('SoundCloud', 'bunyad') ], 'vimeo' => [ 'icon' => 'tsi tsi-vimeo', 'label' => esc_html__('Vimeo', 'bunyad') ], 'lastfm' => [ 'icon' => 'tsi tsi-lastfm', 'label' => esc_html__('Last.fm', 'bunyad') ], 'steam' => [ 'icon' => 'tsi tsi-steam', 'label' => esc_html__('Steam', 'bunyad') ], 'vk' => [ 'icon' => 'tsi tsi-vk', 'label' => esc_html__('VKontakte', 'bunyad') ], 'reddit' => [ 'icon' => 'tsi tsi-reddit-alien', 'label' => esc_html__('Reddit', 'bunyad') ], 'tiktok' => [ 'icon' => 'tsi tsi-tiktok', 'label' => esc_html__('TikTok', 'bunyad') ], 'telegram' => [ 'icon' => 'tsi tsi-telegram', 'label' => esc_html__('Telegram', 'bunyad') ], 'twitch' => [ 'icon' => 'tsi tsi-twitch', 'label' => esc_html__('Twitch', 'bunyad') ], 'discord' => [ 'icon' => 'tsi tsi-discord', 'label' => esc_html__('Discord', 'bunyad') ], 'whatsapp' => [ 'icon' => 'tsi tsi-whatsapp', 'label' => esc_html__('WhatsApp', 'bunyad') ] ]; return apply_filters('bunyad_social_services', $services); } } // init and make available in Bunyad::get('social') Bunyad::register('social', [ 'class' => 'Bunyad_Theme_Social', 'init' => true ]);
Upload File
Create Folder