示例#1
0
        // Delaware / Catchall
    } else {
        wp_nav_menu(array('container' => 'false', 'menu' => 'header-main-delaware'));
    }
} else {
    if (is_page('states')) {
        // if it's our new states page we don't want the extra navigation
    } else {
        if (incnow_is_state('DE') || is_page() || is_archive() || is_post_type_archive() || is_home() || is_singular('post')) {
            wp_nav_menu(array('container' => 'false', 'menu' => 'header-main-delaware'));
        } else {
            if (incnow_is_state('FL')) {
                //get_template_part( 'partials/menu-header', 'florida' );
                wp_nav_menu(array('container' => 'false', 'menu' => 'header-main-florida'));
            } else {
                if (incnow_is_state('NV')) {
                    wp_nav_menu(array('container' => 'false', 'menu' => 'header-main-nevada'));
                    //get_template_part( 'partials/menu-header', 'nevada' );
                }
            }
        }
    }
}
?>
				
			    </nav>
			</div>
	    </div>
	</header> <!-- end #header -->

	<?php 
示例#2
0
	    			<p>Agents and Corporations, Inc. 300 Fifth Avenue South, Suite 101-330, Naples, Florida 34102</p>
	    		<?php 
} else {
    if (incnow_is_state('NV')) {
        ?>
	    			<p>Agents and Corporations, Inc. 18124 Wedge Parkway, Suite 925, Reno, Nevada 89511-8134</p>
	    		<?php 
    } else {
        ?>
	    			<p>Agents and Corporations, Inc. 1201 Orange Street, Suite 600 Wilmington, Delaware 19801</p>
	    		<?php 
    }
}
?>
				<p><?php 
if (incnow_is_state('DE')) {
    ?>
Phone: 302-575-0877 &nbsp; &nbsp; <?php 
}
?>
Toll-free: 800-759-2248  &nbsp; &nbsp; Fax: 302-575-1642</p>
				<br/>
				<p>&copy; 1999-<?php 
echo date('Y');
?>
 Agents and Corporations, Inc. <a href="/privacy-statement/">Privacy Statement</a> | <a href="/terms-of-use/">Terms of Use</a> | <a href="/sitemap/">Sitemap</a></p> 
				<p>Agents and Corporations, Inc. does not provide legal or tax advice. The information contained herein is general information and should not be relied upon for any purpose.</p>
			</div>
    	</div>
    </div>
</footer>
示例#3
0
$state_template = get_field('state_template');
// Now, check for the Florida homepage
if (is_single('florida')) {
    // Check based on the slug, which should be consistent
    include 'page-templates/homepage-florida.php';
    exit;
    // All done here! Don't load anything else.
    // Now do the same for Nevada
} else {
    if (is_single('nevada')) {
        include 'page-templates/homepage-nevada.php';
        exit;
        // Done!
        // And check for the Nevada/Florida sub-pages
    } else {
        if (incnow_is_state('FL') or incnow_is_state('NV')) {
            // Check for the services template
            if ($state_template == 'state_services') {
                include 'page-templates/services-page.php';
                // Run it using the services page template
                exit;
                // Done!
            } else {
                if ($state_template == 'fl_llc') {
                    // if its the florida llc compare
                    include 'page-templates/template-compare-florida-llc.php';
                    exit;
                    // Done!
                } else {
                    if ($state_template == 'fl_corp') {
                        // if its the florida corp compare
示例#4
0
    $state = 'Delaware';
    $type = 'Series LLC';
    $options = array(array('name' => 'Complete Series LLC Package', 'url' => 'https://www.incnow.com/order/?type=new&entity=seriesllc'), array('name' => 'Basic Series LLC Package', 'url' => 'https://www.incnow.com/order/?type=new&entity=seriesllc'));
} elseif (is_page('1075')) {
    // Delaware Non-Profit
    $title = 'Delaware Non-Profit Corporation: Basic vs. Complete Packages';
    $state = 'Delaware';
    $type = 'Non-profit Corporation';
    $options = array(array('name' => 'Non-profit Corporation Package', 'url' => 'https://www.incnow.com/order/?type=new&entity=nonprofitcorporation'));
} elseif (is_page(475) || incnow_is_state('DE')) {
    // Delaware LLC
    $title = 'Delaware LLC: Basic vs. Complete Packages';
    $state = 'Delaware';
    $type = 'LLC';
    $options = array(array('name' => 'Complete LLC Package', 'url' => 'https://www.incnow.com/order/?type=new&entity=llc'), array('name' => 'Basic LLC Package', 'url' => 'https://www.incnow.com/order/?type=new&entity=llc'));
} elseif (is_single(469) || incnow_is_state('FL')) {
    // Florida LLC & subpages where this popup included
    $title = 'Florida LLC: Basic vs. Complete Packages';
    $state = 'Florida';
    $type = 'LLC';
    $options = array(array('name' => 'Complete LLC Package', 'url' => 'https://www.incnow.com/order/?type=new&state=fl&entity=llc'), array('name' => 'Basic LLC Package', 'url' => 'https://www.incnow.com/order/?type=new&state=fl&entity=llc'));
} elseif (is_single(464)) {
    // Florida Corporation
    $title = 'Florida Corporation: Basic vs. Complete Packages';
    $state = 'Florida';
    $type = 'Corporation';
    $options = array(array('name' => 'Complete Corporation Package', 'url' => 'https://www.incnow.com/order/?type=new&state=fl&entity=corporation'), array('name' => 'Basic Corporation Package', 'url' => 'https://www.incnow.com/order/?type=new&state=fl&entity=corporation'));
}
?>

	    <div id="popup-basic-complete" class="popup mfp-hide compare-chart<?php 
示例#5
0
<?php

/**
 * The sidebar throughout the site
 */
$is_florida = incnow_is_state('FL');
$is_nevada = incnow_is_state('NV');
if ($is_nevada || $is_florida) {
    if ($is_nevada) {
        $state_id = incnow_get_state('NV');
    }
    if ($is_florida) {
        $state_id = incnow_get_state('FL');
    }
    $state = get_post_ancestors($post);
    $state_name = get_the_title($state_id);
    $faqs = new WP_Query(array('post_type' => 'faq', 'posts_per_page' => -1, 'connected_type' => 'state_to_faq', 'connected_items' => $state_id));
    $more_url = add_query_arg('state_name', $state_name, site_url('/faqs/'));
} else {
    // Delaware needs all posts without a connection
    $connected_faqs = new WP_Query(array('post_type' => 'faq', 'posts_per_page' => -1, 'connected_type' => 'state_to_faq', 'connected_items' => 'any', 'suppress_filters' => false, 'connected_direction' => 'from', 'nopaging' => true));
    $connected_ids = array();
    while ($connected_faqs->have_posts()) {
        $connected_faqs->the_post();
        $connected_ids[] = get_the_ID();
    }
    wp_reset_postdata();
    $faqs = new WP_Query(array('post_type' => 'faq', 'posts_per_page' => 10, 'post__not_in' => $connected_ids));
    $more_url = '/faqs/';
}
?>
    $pricingurl = '/florida/corporation/compare/';
    $compare = true;
} elseif (is_single(469) or incnow_is_state('FL')) {
    // Florida LLC or sub-page
    $state = 'Florida';
    $type = 'LLC';
    $options = array(array('name' => 'Complete LLC Package', 'url' => 'https://www.incnow.com/order/?type=new&state=fl&entity=llc'), array('name' => 'Basic LLC Package', 'url' => 'https://www.incnow.com/order/?type=new&state=fl&entity=llc'));
    $pricingurl = '/florida/llc/compare/';
    $compare = true;
} elseif (is_single(473)) {
    // Nevada Corporation
    $state = 'Nevada';
    $type = 'Corporation';
    $options = array(array('name' => 'Nevada Corporation Package', 'url' => 'https://www.incnow.com/order/?type=new&state=nv&entity=corporation'));
    $compare = false;
} elseif (is_single(456) or incnow_is_state('NV')) {
    // Nevada LLC or sub-page
    $state = 'Nevada';
    $type = 'LLC';
    $options = array(array('name' => 'Nevada LLC Package', 'url' => 'https://www.incnow.com/order/?type=new&state=nv&entity=llc'));
    $compare = false;
} else {
    // Nothing else matches? Go for the Delaware LLC
    $state = 'Delaware';
    $type = 'LLC';
    $options = array(array('name' => 'Complete LLC Package', 'url' => 'https://www.incnow.com/order/?type=new&entity=llc'), array('name' => 'Basic LLC Package', 'url' => 'https://www.incnow.com/order/?type=new&entity=llc'));
    $pricingurl = '/delaware-llc/compare/';
    $compare = true;
}
?>