This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function utm_welcome_redirect() { | |
// redirect anyone that is not logged in to /welcome | |
if ( !is_user_logged_in() ) | |
{ | |
wp_redirect( site_url( '/welcome' ), 303 ); | |
die; | |
} | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Highlighted Providers --> | |
<div id="content" class="clearfix"> | |
<h1>Highlighted Providers</h1> | |
<ul class="hlprovide clearfix"> | |
<?php | |
// Set the page to be pagination | |
$paged = get_query_var('paged') ? get_query_var('paged') : 1; | |