Here's the page I'd like to discuss
http://www.studio2055.com/dev/aero/?...p=alan-barge-2
and here's the code I used for the archive query at the top of the page (photos running at the top of the content)
PHP Code:
function _cpt_leadership_menu() {
$args = array(
'post_type' => 'aero_leadership',
'posts_per_page' => '-1',
);
$tips = new WP_Query( $args );
if( $tips->have_posts() ):
echo '<div class="leadership_menu">';
echo '<div class="demo">';
echo '<p>';
while ( $tips->have_posts() ) : $tips->the_post();
echo '<a href="' . get_permalink() . '">' . get_the_post_thumbnail() . '</a>';
endwhile;
echo '</p>';
echo '<script>';
echo 'jQuery(".demo img[title]").tooltip()';
echo '</script>';
echo '</div>';
echo '</div>';
endif;
wp_reset_postdata();
}
So I thought that posts are ordered by published date, however when I go and alter the publish date through the post editor, the order on the archive doesn't change, it still shows the posts in the order they were originally created. Does anyone know why? I ask this because the page I posted here, originally populated on the far right of the archive but I wanted it on the far left and thought changing the publish date would move it over.
Also, when I set a slug for a page, can I not ever use that on a different page? If you take a look at the slug of the page I posted, It says 2 at the end, even though I removed that same slug from another page that originally used it.
Thanks!