예제 #1
0
"><?php 
        _e('Read More');
        ?>
</a>
									
								</div>
							</article>
							<?php 
    }
    ?>
							<div class="col-lg-12 col-md-12 col-sm-12">
								<?php 
    if (pagination_exists()) {
        ?>
                                    <?php 
        parse_pagination(array('parent_class' => 'pagination pull-left mrgt-0', 'parent' => 'ul', 'li_active_class' => 'active'));
        ?>
                                <?php 
    }
    ?>
                            </div>
							<?php 
} else {
    ?>
								<p><?php 
    _e('No posts available');
    ?>
</p>
								<?php 
}
?>
예제 #2
0
        echo word_limiter(strip_tags($post->content), 100);
        ?>
</p>
							<a class="btn btn-default" href="<?php 
        echo $post->link;
        ?>
">Lire la suite <i class="icon-angle-right"></i></a> </div>
					</div>
					<?php 
    }
    ?>
				<?php 
    if (pagination_exists()) {
        ?>
					<?php 
        parse_pagination(array('parent_class' => 'pagination pagination-lg', 'parent' => 'ul', 'li_active_class' => 'active'));
        ?>
				<?php 
    }
    ?>
				<?php 
} else {
    ?>
                    <p>Aucun article disponible désolé</p>
                    <?php 
}
?>
            </div>
        </div>
        <!--/.col-md-8--> 
    </div>
예제 #3
0
							</div>
							<?php 
        }
    } else {
        ?>
								<p>Aucun commentaire disponible</p>
								<?php 
    }
    ?>
						</div>
						<div class="row">
						<?php 
    if (pagination_exists()) {
        ?>
							<?php 
        parse_pagination(array('parent_class' => 'pagination pagination-lg', 'parent' => 'ul', 'li_active_class' => 'active', 'wrapper' => 'div', 'wrapper_class' => 'col-lg-12'));
        ?>
						<?php 
    }
    ?>
						</div>
						<!--/#comments-list-->
					   <?php 
    parse_notices($array);
    ?>
						<div id="comment-form">
							<h3>Laisser un commentaire</h3>
							<form class="form-horizontal" role="form" method="post">
								<?php 
    parse_form('blog_single_reply_form');
    ?>
예제 #4
0
function pagination_exists()
{
    if (parse_pagination('return')) {
        return true;
    }
    return false;
}