osquid (August 1st, 2011)
<a href="<?php echo CP_ADD_NEW_URL ?>" class="obtn btn_orange"><?php _e('Post an Ad', 'appthemes') ?></a>
<?php $current_user = wp_get_current_user();if ( 0 == $current_user->ID ) { ?> <a href="<?php echo "http://www.seemeproperty.co.uk/wp-login.php?action=register" ?>" class="obtn btn_orange"><?php _e('Register', 'appthemes') ?> »</a> <?php } else { ?><a href="<?php echo CP_ADD_NEW_URL ?>" class="obtn btn_orange"><?php _e('Post Ad', 'appthemes') ?>»</a><a href="<?php echo "http://www.seemeproperty.co.uk/index.php/dashboard" ?>" class="obtn btn_orange"><?php _e('Dashboard', 'appthemes') ?> »</a> <?php } ?>
osquid (August 1st, 2011)
There are currently 1 users browsing this thread. (0 members and 1 guests)