Skip to content

Instantly share code, notes, and snippets.

View szbl's full-sized avatar

Sizeable, Inc. szbl

View GitHub Profile
<!-- 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;
<?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