Ejemplo n.º 1
0
?>

	<div id="container">
		<div id="content">

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

		<h2>Current Warriors for Life</h2>

		<ul class="user-list">
<?php 
    while (have_users()) {
        the_user();
        $profile_url = aleph_get_user_profile_url();
        ?>
			<li class="user">
				<a class="user-avatar" href="<?php 
        echo $profile_url;
        ?>
"><?php 
        aleph_the_user_avatar();
        ?>
</a>
				<h4 class="user-title">
					<a href="<?php 
        echo $profile_url;
        ?>
"><?php 
        aleph_the_user_complete_name('', '');
Ejemplo n.º 2
0
 function nukeCachedPage()
 {
     if (function_exists('wp_cache_clean_cache') && function_exists('wp_cache_get_cookies_values')) {
         global $blogcacheid, $wp_cache_gzip_encoding;
         // copied from wp-cache-phase1.php
         $hashprefix = $blogcacheid . md5(aleph_get_user_profile_url($this->user_ID) . $wp_cache_gzip_encoding . wp_cache_get_cookies_values());
         // hashprefix should now resemble that used for a given warrior url
         // e.g., http://racecharities.org/warrior/ereusser/
         wp_cache_clean_cache($hashprefix);
     }
 }