c05a7059 by Jeff Balicki

broker cleanup

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 97098577
......@@ -21,8 +21,8 @@ if (isset($_GET['current_tab'])) {
$currentTab = 'ace_body_shop';
}
$bodyShopURL = home_url('/broker-landing-page/ace?current_tab=ace_body_shop');
$propertyContractorURL = home_url('/broker-landing-page/ace?current_tab=ace_property_contractor');
$bodyShopURL = home_url('/ace?current_tab=ace_body_shop');
$propertyContractorURL = home_url('/ace?current_tab=ace_property_contractor');
?>
......
......@@ -82,7 +82,7 @@
<div class="row">
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
<div id="page-logo">
<a href="<?php bloginfo('url') ?>/broker-landing-page/" title="<?php bloginfo('name') ?> - <?php bloginfo('description') ?>">
<a href="<?php bloginfo('url') ?>" title="<?php bloginfo('name') ?> - <?php bloginfo('description') ?>">
<img id="otherpage-logo" src="<?php bloginfo('template_directory') ?>/images/Commonwell-logo.svg" alt="Commonwell Mutual Insurance Group logo" />
</a>
</div>
......
......@@ -10,7 +10,7 @@
<div id="container">
<?php if (is_user_logged_in()):
?>
<script>window.location.replace("<?php echo site_url('/broker-landing-page'); ?>");</script>
<script>window.location.replace("<?php echo site_url(); ?>");</script>
<?php global $current_user;
get_currentuserinfo();
?>
......@@ -50,7 +50,7 @@ if ($children) {?>
<p><a href="<?php echo wp_logout_url(home_url()); ?>" title="Logout">>> Member Logout</a></p>
<?php else: ?>
<h2>Broker Login</h2>
<?php $args = array('redirect' => site_url('/broker-landing-page'));
<?php $args = array('redirect' => site_url());
if (isset($_GET['action'])): ?>
<div class="success">
......