Adam Baggett
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Trying to exclude some posts but not othersThank you for the reply. Not sure how this will work with the current code. I have added the complete code below. Sorry I adopted this, thanks for the help.
<?php wp_reset_query();?> <!-- Start Faculty --> <div class="clear"></div> <hr /> <div class="twelve columns"> <h2 class="no-style">Faculty</h2> </div> <?php switch_to_blog(1); $i = 0; query_posts( array( 'post_type' => 'person', 'department' => $department_value->slug, 'posts_per_page' => '90', 'person_type' => 'faculty', 'orderby' => 'name', 'order' => 'ASC') ); if(have_posts()) : while ( have_posts() ) : the_post(); ?> <?php $personmeta = get_post_custom($post->ID); ?> <div class="archive-list four columns faculty-container"> <div class="two columns nopad alpha faculty-photo"> <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"> <?php the_post_thumbnail('thumbnail'); ?> </a> </div> <div class="titleMobile"> <li><strong><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php echo $personmeta['firstname'][0]; ?> <?php echo $personmeta['lastname'][0]; ?></a></strong></li> <?php if ($personmeta['title1'][0] != '') { ?> <li><?php echo $personmeta['title1'][0]; ?></li><br> <?php } ?> <?php if ($personmeta['focus1'][0] != '') { ?> <div class="two columns nopad omega faculty-text tech-focus"> <?php if ($personmeta['focus1'][0] != '') { ?> <li><?php echo " ". $personmeta['focus1'][0]; ?></li> <?php } ?> <?php if ($personmeta['focus2'][0] != '') { ?> <li><?php echo" ". $personmeta['focus2'][0]; ?></li> <?php } ?> <?php if ($personmeta['focus3'][0] != '') { ?> <li><?php echo" ". $personmeta['focus3'][0]; ?></li> <?php } ?> </div> <?php } ?> </div> </div> <?php $i++; ?> <?php if ($i && $i % 2 == 0) { // ?> <div class="clear"></div> <?php } ?> <?php endwhile; else: echo " No current Faculty"; endif; ?> <!-- End Faculty -->Jeremy,
Thank you for the help. What I am seeing is a conflict between iosSlider and this version of Jetpack.If you like I can provide the the code from the script. I am the Theme Manager so this is in my lap.
If I take the iosSlider code out of the script then the Jetpack slider works and the iosSlider does not and it is the same the other way round.
Any thoughts?
Thanks
AdamJeremy,
Thank you for the update, it is the Carousel plugin for Jetpack
http://engineering-sandbox.missouri.edu/2014/10/adams-test-post/
Adam
Jeremy, The two example links are below.
Not working and Post-WP update
http://engineering.missouri.edu/?p=21307Working and Pre-WP Update
http://engineering.missouri.edu/lostinlafferre/lafferre-hall-image-gallery/Thank you
Adam