-
Henry replied to the question Remove slider on Log In? in the forum Social Learner 8 years, 4 months ago
I copied and pasted your above suggestion (i.e. to include the Vimeo Video, and it causes a 500 Error…any idea why? Thanks!
++++++++++++
<?php
if ( is_user_logged_in() ) {// Your Vimeo Code
<iframe src=”https://player.vimeo.com/video/432167337″ width=”500″ height=”292″ frameborder=”0″ webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>} else {
get_template_part( ‘content’, ‘slides’ );
}
?>