SILENT KILLERPanel

Current Path: > home > ivftiowh > greeceivf.com > wp-content > plugins > jetpack > modules > theme-tools


Operation   : Linux premium88.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Software     : Apache
Server IP    : 185.61.154.216 | Your IP: 216.73.216.44
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/ivftiowh/greeceivf.com/wp-content/plugins/jetpack/modules/theme-tools

NameTypeSizeLast ModifiedActions
compat Directory - -
js Directory - -
responsive-videos Directory - -
site-logo Directory - -
social-menu Directory - -
featured-content.php File 20119 bytes October 14 2024 11:06:00.
infinite-scroll.php File 1855 bytes October 14 2024 11:06:00.
random-redirect.php File 3094 bytes October 14 2024 11:06:00.
responsive-videos.php File 3420 bytes October 14 2024 11:06:00.
site-breadcrumbs.php File 995 bytes October 14 2024 11:06:00.
site-logo.php File 1373 bytes October 14 2024 11:06:00.
social-links.php File 6279 bytes October 14 2024 11:06:00.
social-menu.php File 1820 bytes October 14 2024 11:06:00.

Reading File: /home/ivftiowh/greeceivf.com/wp-content/plugins/jetpack/modules/theme-tools/social-menu.php

<?php
/**
 * Social Menu.
 *
 * This feature will only be activated for themes that declare their support.
 * This can be done by adding code similar to the following during the
 * 'after_setup_theme' action:
 *
 * add_theme_support( 'jetpack-social-menu' );
 */

/**
 * Activate the Social Menu plugin.
 *
 * @uses current_theme_supports()
 */
function jetpack_social_menu_init() {
	// Only load our code if our theme declares support
	if ( ! current_theme_supports( 'jetpack-social-menu' ) ) {
		return;
	}

	/*
	 * Social Menu description.
	 *
	 * Rename the social menu description.
	 *
	 * @module theme-tools
	 *
	 * @since 3.9.0
	 *
	 * @param string $social_menu_description Social Menu description
	 */
	$social_menu_description = apply_filters( 'jetpack_social_menu_description', __( 'Social Menu', 'jetpack' ) );

	// Register a new menu location
	register_nav_menus( array(
		'jetpack-social-menu' => esc_html( $social_menu_description ),
	) );

	// Enqueue CSS
	add_action( 'wp_enqueue_scripts', 'jetpack_social_menu_style' );
}
add_action( 'after_setup_theme', 'jetpack_social_menu_init', 99 );

/* Function to enqueue CSS */
function jetpack_social_menu_style() {
	if ( has_nav_menu( 'jetpack-social-menu' ) ) {
		wp_enqueue_style( 'jetpack-social-menu', plugins_url( 'social-menu/social-menu.css', __FILE__ ), array( 'genericons' ), '1.0' );
	}
}

/* Create the function */
function jetpack_social_menu() {
	if ( has_nav_menu( 'jetpack-social-menu' ) ) : ?>
		<nav class="jetpack-social-navigation" role="navigation">
			<?php
				wp_nav_menu( array(
					'theme_location'  => 'jetpack-social-menu',
					'link_before'     => '<span class="screen-reader-text">',
					'link_after'      => '</span>',
					'depth'           => 1,
				) );
			?>
		</nav><!-- .jetpack-social-navigation -->
	<?php endif;
}

SILENT KILLER Tool