/** * Output the title of the Rendez Vous. * * @since Rendez Vous (1.0.0) */ function rendez_vous_the_title() { echo rendez_vous_get_the_title(); }
/** * Loop part * * @package Rendez Vous * @subpackage Parts * * @since Rendez Vous (1.0.0) */ function rendez_vous_loop() { $current_action = apply_filters('rendez_vous_current_action', bp_current_action()); ?> <div class="rendez-vous <?php echo esc_attr($current_action); ?> "> <?php do_action("rendez-vous_{$current_action}_loop"); ?> <?php if (rendez_vous_has_rendez_vouss()) { ?> <div id="pag-top" class="pagination no-ajax"> <div class="pag-count" id="rendez-vous-<?php echo esc_attr($current_action); ?> -count-top"> <?php rendez_vous_pagination_count(); ?> </div> <div class="pagination-links" id="rendez-vous-<?php echo esc_attr($current_action); ?> -pag-top"> <?php rendez_vous_pagination_links(); ?> </div> </div> <?php do_action("rendez_vous_before_{$current_action}_list"); ?> <ul id="rendez-vous-list" class="item-list" role="main"> <?php while (rendez_vous_the_rendez_vouss()) { rendez_vous_the_rendez_vous(); ?> <li <?php rendez_vous_class(); ?> > <div class="item-avatar"> <a href="<?php rendez_vous_the_link(); ?> " title="<?php echo esc_attr(rendez_vous_get_the_title()); ?> "><?php rendez_vous_avatar(); ?> </a> </div> <div class="item"> <div class="item-title"><a href="<?php rendez_vous_the_link(); ?> " title="<?php echo esc_attr(rendez_vous_get_the_title()); ?> "><?php rendez_vous_the_title(); ?> </a></div> <div class="item-meta"><span class="activity"><?php rendez_vous_last_modified(); ?> </span></div> <?php if (rendez_vous_has_description()) { ?> <div class="item-desc"><?php rendez_vous_the_excerpt(); ?> </div> <?php } ?> <?php do_action("rendez_vous_{$current_action}_item"); ?> <?php do_action('rendez_vous_after_item_description'); ?> </div> <div class="action"> <?php do_action("rendez_vous_{$current_action}_actions"); ?> <div class="meta"> <?php rendez_vous_the_status(); ?> </div> </div> <div class="clear"></div> </li> <?php } ?> </ul> <?php do_action("rendez_vous_after_{$current_action}_list"); ?> <div id="pag-bottom" class="pagination no-ajax"> <div class="pag-count" id="rendez-vous-<?php echo esc_attr($current_action); ?> -count-bottom"> <?php rendez_vous_pagination_count(); ?> </div> <div class="pagination-links" id="rendez-vous-<?php echo esc_attr($current_action); ?> -pag-bottom"> <?php rendez_vous_pagination_links(); ?> </div> </div> <?php } else { ?> <div id="message" class="info"> <p><?php _e('There were no rendez-vous found.', 'rendez-vous'); ?> </p> </div> <?php } ?> <?php do_action("rendez_vous_after_{$current_action}_loop"); ?> </div> <?php }