This file contains 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 if (have_posts()) : ?> | |
<?php $post = $posts[0]; ?> | |
<!--pour passer d'une page a l autre--> | |
<?php post_navigation(); ?> | |
<?php while (have_posts()) : the_post(); ?> | |
<article <?php post_class() ?>> |
This file contains 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 | |
$postsInCat = get_term_by('name','themes','category'); | |
$postsInCat = $postsInCat->count; | |
//variable avec le nombre total de posts | |
$limite = 15; | |
$limitwhile = intval($postsInCat/$limite); | |
//echo $limitwhile; | |
?> | |
<!--premiere loop--> | |
<?php |
This file contains 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 id="leloopofdeath" class="cycle-slideshow" | |
data-cycle-slides="li" | |
data-cycle-fx=carousel | |
data-cycle-speed="1000" | |
data-cycle-pause-on-hover="true" | |
data-cycle-carousel-visible=3 | |
data-cycle-prev="#prev3" | |
data-cycle-next="#next3"> | |
<!--compter le nombre de posts dans la categorie themes--> |
This file contains 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Atoo.ci | Toute l'actualité ivoirienne.</title> | |
<link type="image/png" href="favicon_atoo.png" rel="icon"> | |
<link type="image/png" href="favicon_atoo.png" rel="shortcut icon"> | |
<style type="text/css"> | |
body { |
This file contains 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 | |
var $permalink = $_SERVER['REQUEST_URI']; | |
?> | |
<div class="compteur" data-permalink="<?php $permalink; ?>" style="display: none"> | |
<p> Cet article a été partagé <span class="partages">0</span>fois sur facebook </p> | |
<p>Cet article a été commenté<span class="commentaires" data-url="">0</span></p> | |
</div> | |
<script> | |
(function($) { | |
var permalink = $('.compteur').data("permalink"); |
This file contains 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 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 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 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 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> |