I created a custom loop for a particular category. Can I create a list of those posts -- kind of like a table of contents -- and have it link to that service in that loop? Pagination is not used.
My current loop is created with this function (I'm sure my function could be more efficient and cleaner -- I'm still learning):
function add_services() {
echo '<div style="clear:both"></div>';
$custom_query = new WP_Query('cat=5');
while($custom_query->have_posts()) : $custom_query->the_post();
echo '<hr />';
echo '<h2>';
echo the_title();
echo'</h2>';
echo the_content();
endwhile;
wp_reset_postdata();
}