This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $field_key = "field_58611d7e09900"; | |
| $field = get_field_object($field_key); | |
| if($field) | |
| { | |
| foreach( $field['choices'] as $k => $v ) | |
| { | |
| echo '<li><a class="button filter-button" data-filter=".' . $k . '">' . $v . '</a></li>'; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $champ = get_field_object('nomduchamp'); | |
| $value = $champ['value']; | |
| $label = $champ['choices'][ $value ]; | |
| echo $label; | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="cabecera"> | |
| <img src="images/page1.jpg"> | |
| <a class="aaa" href="ok/laune/webzine.pdf">TELECHARGER VOTRE MAGAZINE ICI | |
| <div id="Time" style="float:left; color:#000;">01</div> | |
| </a> | |
| <br> | |
| <a href="ok/index.php">accéder directement au site >> | |
| <div id="Time" style="float:left; color:#000;"></div> | |
| </a> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <a href="#popup">lien3</a> | |
| <div id="popup">Fenêtre modale contenant l'article 3</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <a href="#popup">lien2</a> | |
| <div id="popup">Fenêtre modale contenant l'article 2</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <a href="#popup">lien1</a> | |
| <div id="popup">Fenêtre modale contenant l'article 1</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <a href="#popup">lien1</a> | |
| <div id="popup">Fenêtre modale1</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document).ready(function (){ | |
| $('.open-popup-link').each(function() { | |
| $(this).magnificPopup({ | |
| type:'inline', | |
| midClick: true // Allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source in href. | |
| }); | |
| }); | |
| }(window.jQuery || window.$)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $args2 = array( 'cat'=> 2); | |
| //compteur | |
| $ints=1; | |
| $loop2 = new WP_Query( $args2 ); | |
| while ( $loop2->have_posts() ) : $loop2->the_post(); | |
| ?> | |
| <li class="list"> | |
| <div class="info"> | |
| <div class="subinfo"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function ($) { | |
| $(window).resize(function() { | |
| var newHeight = $(window).height(); | |
| // console.log(newHeight); | |
| var newWidth = $(window).width(); | |
| // console.log(newWidth); | |
| $("#TB_window").css("height", (newHeight)); | |
| $("#TB_window").css("width", (newWidth)); | |
| $('#TB_ajaxContent').css("width", (newWidth)); | |
| $("#TB_window").css("margin-left", -(parseInt((newWidth)/2))); |