Please help me can correct my code (different logo link conditional)
-
I’m tired of trying to find a solution to this problem. I’m trying to have the logo of my website point to a different URL after login. The reason being that the introduction page before the paywall isn’t needed after the paywall. I’m using the Canvas theme from Woothemes. Below is my attempt, which doesn’t work.
[please use the ‘code’ button to mark any code within your post; and next time, please use the pastebin for any code longer than 10 lines.]
<?php if ( $woo_options['woo_logo'] ) { ?> <?php if ( is_user_logged_in() ) { " title="<?php bloginfo('description'); ?>"><img src="<?php echo $woo_options['woo_logo']; ?>" alt="<?php bloginfo('name'); ?>" /> } else { " title="<?php bloginfo('description'); ?>"><img src="<?php echo $woo_options['woo_logo']; ?>" alt="<?php bloginfo('name'); ?>" /> } ?> <?php } if( is_singular() && !is_front_page() ) : ?> <span class="site-title">"><?php bloginfo('name'); ?></span> <?php else: ?> <h1 class="site-title">"><?php bloginfo('name'); ?></h1> <?php endif; ?> <span class="site-description"><?php bloginfo('description'); ?></span>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Please help me can correct my code (different logo link conditional)’ is closed to new replies.