For the last two years, the Support Group for Lazy Photographers has been the virtual lab for 200+ photographers who have been whipped into shaped with weekly assignments, personal projects and a strict set of rules on how to present their work and critique others'. The whole experience is now being translated into a field manual, for those who couldn't participate or just want to explore photography using the GSFP's motto: we either find a way, or we build one.
Client: Sara Lando
layout
coding
responsive website
CREATE A TESTIMONIAL SLIDER
Using flexslider and advanced custom field you can create a sleek testimonial slider
<div id="testimonial" class="flexslider">
<?php $posts = get_field('testimonials'); if( $posts ): ?>
<ul class="slides">
<?php foreach( $posts as $post): ?>
<?php setup_postdata($post); ?>
<li><span><?php the_field('testimonial'); ?></span></li>
<?php endforeach; ?>
</ul>
<?php wp_reset_postdata(); ?>
<?php endif; ?>
</div>
VIEW SPECIFIC MENU IF USER LOGGED IN
If a user logs is it's possible to display a customized menu using the is_user_logged_in() hook from WP core
<?php if ( is_user_logged_in() ) { ?> 
<div id="navigation">
<?php //define logged navigation
wp_nav_menu( array ( 'theme_location' => 'menu-logged' ) ); 
} else { //define standard navigation
wp_nav_menu( array ( 'theme_location' => 'menu-nonuser' ) );  } ?>
</div>