?> ');"> <div class="Home-loopAccion-single-hover"> <img src="<?php plantilla(); ?> /images/home_loop_seeMore.png" alt="See More"/> </div> <div class="Home-loopAccion-single-info"> <h2><?php echo Accion::IndexOrEmpty(4, $acciones)->titulo; ?> </h2> <?php echo Accion::IndexOrEmpty(4, $acciones)->excerpt; ?> </div> </a> </div> <span class="Home-loopAccion-seeMore"> <span> <a href="<?php echo get_permalink(EXPLORA_CAUSAS); ?> ">ver más <img src="<?php plantilla(); ?> /images/home_loop_seeMore_black.png" alt="See More Actions"/></a> </span> </span>
?> </div><!-- --><div class="Explore-column"> <?php \operaciondespierta\Accion::IndexOrEmpty(6, $acciones)->PrintInPagination("Explore-single Home-loopAccion-single"); ?> <?php \operaciondespierta\Accion::IndexOrEmpty(7, $acciones)->PrintInPagination("Explore-single Home-loopAccion-single Explore-single-bottom"); ?> </div><!-- --><div class="Explore-column"> <?php \operaciondespierta\Accion::IndexOrEmpty(8, $acciones)->PrintInPagination("Explore-single Home-loopAccion-single"); ?> <?php \operaciondespierta\Accion::IndexOrEmpty(9, $acciones)->PrintInPagination("Explore-single Home-loopAccion-single Explore-single-bottom"); ?> </div> </div> <div class="Explore-pagination"> <?php $hackCountAllPostsToGetPagination = $args; $hackCountAllPostsToGetPagination["posts_per_page"] = -1; $totalPagesAmount = ceil(count(get_posts($hackCountAllPostsToGetPagination)) / $postsPerPage); for ($pageIndex = 0; $pageIndex < $totalPagesAmount; $pageIndex++) { $number = $pageIndex + 1; // Conservar las variables get en la url. $myGet = $_GET; $myGet[$indexGetVar] = $number; $link = get_permalink(EXPLORA_CAUSAS) . "?" . http_build_query($myGet); echo "<a href='{$link}'>{$number}</a>";