Hi there, I'm new to Thematic (and theme development, really), but so far I am really enjoying it!
My question right now involves the category loop.
On category pages, I only want to show the titles of the associated posts. Each title being a link to see the full article.
So, in my functions.php file I have created the following function:
function childtheme_override_category_loop() {
$query_catposts = new WP_Query( 'tag=<?php the_ID(); ?>' );
while ( $query_catposts->have_posts()) : $query_catposts->the_post();
echo '<li>';
the_title();
echo '</li>';
endwhile;
wp_reset_postdata();
}
// end category_loop
If it isn't obvious, I got most of it from http://codex.wordpress.org/Function_Reference/query_posts
And it's also probably obvious to seasoned users why this isn't working. I literally just threw it together and hoped it would work lol...
Two problems...
1. It shows the titles of all the articles in all the categories. So it doesn't look like my <?php the_ID(); ?> isn't getting caught.
2. It doesn't make them links. I just haven't figured out how to do that yet...
Any help would be greatly appreciated.