Menu
Can someone please tell me the proper way of doing this. I don’t think I am supposed to be using echo but I am trying to run an if statement inside an if statement. Please help. Thanks!
[code=php]
<?php if (is_user_logged_in() && current_user_can(“access_s2member_level2”))
{ echo “<?php if(function_exists(‘wp_page_numbers’)) : wp_page_numbers(); endif; ?>”; }
else { echo ‘<a href=”/”><div class=”show-more-bar”>Show more videos</div></a>’; }
?>