return $this->county->name;
    }
    public function get_county_id()
    {
        return $this->county->id;
    }
    public function get_link()
    {
        return home_url('/index.php/' . $this->county->custom_page_id);
    }
    public function get_title()
    {
        return $this->county->name;
    }
}
$county = new tc_post($post->ID, $post);
$data = new tc_post($post->ID, $globalpost);
?>

<html>
	<head>
		<?php 
wp_head();
?>
		<style>
			body:before {
				display:none;	
			}
			body {
				/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e33d1d+0,c4361a+100 */
background: #e33d1d; /* Old browsers */
    public $post;
    public function __constructor($postID, $post)
    {
        $this->ID = $postID;
        $this->post = $post;
    }
    public function get_title()
    {
        return get_the_title($this->ID);
    }
    public function get_link()
    {
        return $this->post['post_type'];
    }
}
$county = new tc_post($post->ID, $post);
?>

<html>
	<head>
		<?php 
wp_head();
?>
		<style>
			body:before {
				display:none;	
			}
			body {
				/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e33d1d+0,c4361a+100 */
background: #e33d1d; /* Old browsers */
background: -moz-linear-gradient(top,  #e33d1d 0%, #c4361a 100%); /* FF3.6+ */
        return home_url('/index.php/' . $this->county['custom_page_id']);
    }
    public function get_title()
    {
        return get_the_title();
    }
    public function get_the_blog_type()
    {
        if (isset($_GET['view'])) {
            if ($_GET['view'] == 'blog') {
                return 'Blog';
            }
        }
    }
}
$county = new tc_post($post->ID, $post);
?>

<html>
	<head>
		<?php 
wp_head();
?>
		<style>
			body:before {
				display:none;	
			}
			body {
				background-color:#e33d1d;										
			}
			nav.pagination ul {