src/web/app/themes/twentynineteen-child/footer.php
author Riwad Salim <riwad.salim@yahoo.fr>
Wed, 11 Sep 2019 12:30:41 +0200
changeset 37 d6e8b9ad5a74
parent 11 2c9f9128c49b
child 42 5bb33f78b519
permissions -rw-r--r--
Add tooltip feature with jquery-ui
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
     1
<?php
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
     2
/**
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
     3
 * The template for displaying the footer
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
     4
 *
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
     5
 * Contains the closing of the #content div and all content after.
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
     6
 *
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
     7
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
     8
 *
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
     9
 * @package WordPress
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    10
 * @subpackage Twenty_Nineteen
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    11
 * @since 1.0.0
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    12
 */
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    13
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    14
?>
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    15
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    16
	</div><!-- #content -->
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    17
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    18
	<footer id="colophon" class="site-footer">
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    19
		<?php get_template_part( 'template-parts/footer/footer', 'widgets' ); ?>
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    20
		<div class="site-info">
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    21
			<?php if ( ! empty( $blog_info ) ) : ?>
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    22
				<a class="site-name" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    23
			<?php endif; ?>
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    24
			<?php
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    25
			if ( function_exists( 'the_privacy_policy_link' ) ) {
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    26
				the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    27
			}
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    28
			?>
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    29
			<?php if ( has_nav_menu( 'footer' ) ) : ?>
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    30
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    31
			<?php endif; ?>
9
f113202c702c add div for partners logos
salimr <riwad.salim@yahoo.fr>
parents: 8
diff changeset
    32
			<div class="site-partners">
11
2c9f9128c49b Add links to partners logo
salimr <riwad.salim@yahoo.fr>
parents: 9
diff changeset
    33
				<a target="_blank" href="http://www.arsindustrialis.org/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_ars.jpg" alt="logo ars industrialis"/></a>
2c9f9128c49b Add links to partners logo
salimr <riwad.salim@yahoo.fr>
parents: 9
diff changeset
    34
				<a target="_blank" href="https://www.iri.centrepompidou.fr/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_iri.jpg" alt="logo iri"/></a>
2c9f9128c49b Add links to partners logo
salimr <riwad.salim@yahoo.fr>
parents: 9
diff changeset
    35
				<a target="_blank" href="https://plainecommune.fr/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_plaineco.jpg" alt="logo paline commune"/></a>
2c9f9128c49b Add links to partners logo
salimr <riwad.salim@yahoo.fr>
parents: 9
diff changeset
    36
				<a target="_blank" href="https://www.mshparisnord.fr/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_msh.jpg" alt="logo msh"/></a>
2c9f9128c49b Add links to partners logo
salimr <riwad.salim@yahoo.fr>
parents: 9
diff changeset
    37
				<a target="_blank" href="https://www.3ds.com/fr/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_dassault.jpg" alt="logo dassault"/></a>
2c9f9128c49b Add links to partners logo
salimr <riwad.salim@yahoo.fr>
parents: 9
diff changeset
    38
				<a target="_blank" href="https://www.orange.fr/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_orange.jpg" alt="logo orange"/></a>
2c9f9128c49b Add links to partners logo
salimr <riwad.salim@yahoo.fr>
parents: 9
diff changeset
    39
				<a target="_blank" href="https://www.societegenerale.fr/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_socgen.jpg" alt="logo société générale"/></a>
2c9f9128c49b Add links to partners logo
salimr <riwad.salim@yahoo.fr>
parents: 9
diff changeset
    40
				<a target="_blank" href="https://www.caissedesdepots.fr/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_caisse.jpg" alt="logo caisse des dépôts"/></a>
2c9f9128c49b Add links to partners logo
salimr <riwad.salim@yahoo.fr>
parents: 9
diff changeset
    41
				<a target="_blank" href="https://www.fondation-afnic.fr"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo_afnic.jpg" alt="logo fondation afnic"/></a>
9
f113202c702c add div for partners logos
salimr <riwad.salim@yahoo.fr>
parents: 8
diff changeset
    42
			</div><!-- partners -->
8
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    43
		</div><!-- .site-info -->
37
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    44
8
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    45
	</footer><!-- #colophon -->
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    46
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    47
</div><!-- #page -->
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    48
37
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    49
	<script>
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    50
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    51
	// Tooltips
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    52
	var $j = jQuery.noConflict();
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    53
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    54
	$j(function () {
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    55
			$j(document).tooltip({
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    56
				content: function () {
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    57
					return $j(this).prop('title');
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    58
				},
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    59
				show: null, 
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    60
				close: function (event, ui) {
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    61
					ui.tooltip.hover(
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    62
		
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    63
					function () {
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    64
						$j(this).stop(true).fadeTo(400, 1);
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    65
					},
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    66
		
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    67
					function () {
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    68
						$j(this).fadeOut("400", function () {
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    69
							$j(this).remove();
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    70
						})
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    71
					});
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    72
				}
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    73
			});
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    74
		});
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    75
  	</script>
d6e8b9ad5a74 Add tooltip feature with jquery-ui
Riwad Salim <riwad.salim@yahoo.fr>
parents: 11
diff changeset
    76
8
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    77
<?php wp_footer(); ?>
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    78
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    79
</body>
6aecdb139e9c style edit + add logos on footer
salimr <riwad.salim@yahoo.fr>
parents:
diff changeset
    80
</html>