Пример #1
0
	<?php 
    while (humcore_deposits()) {
        humcore_the_deposit();
        ?>

		<?php 
        locate_template(array('deposits/entry.php'), true, false);
        ?>

	<?php 
    }
    ?>

	<?php 
    if (1 == 2 && humcore_deposit_has_more_items()) {
        ?>

		<li class="load-more">
			<a href="#more"><?php 
        _e('Load More', 'humcore_domain');
        ?>
</a>
		</li>

	<?php 
    }
    ?>

	<?php 
    if (1 == 1 || empty($_POST['page'])) {
Пример #2
0
                <?php 
        do_action('humcore_deposits_list_entry_content');
        ?>

		<?php 
        do_action('bp_after_deposit_item');
        ?>

	<?php 
    }
    ?>

	</div><!-- #deposits-stream -->

	<?php 
    if (humcore_deposit_has_more_items()) {
        ?>

	        <?php 
        $page_url = sprintf('%1$s/deposits/list/?dpage=%2$s', bp_get_root_domain(), humcore_get_deposit_page_number() + 1);
        ?>

		<div id="pag-bottom" class="pagination">
			<div id="deposits-loop-pag-bottom" class="pagination-links"><a href="<?php 
        echo $page_url;
        ?>
">Next Page</a></div>
		</div>

	<?php 
    }