I was wondering if anyone can help me out. I am looking to remove the_content part of the loop on my author pages only. So basically, I just want a list of the author posts with only the title and meta instead of the full post.
When I went to the author.php file, I found this, which I believe is the code that is generating the posts on the Author Pages.
/* Run the loop for the author archive page to output the authors posts * If you want to overload this in a child theme then include a file * called loop-author.php and that will be used instead. */ get_template_part( 'loop', 'author' );
I'm pretty new at this, so please bare with me.
My question is, how I do I remove the content from the loop for only the Author pages. I wouldn't think that I should remove the function that generates the content from the loop.php file because that would remove it from all posts on my site.
The comments above say, If I want to overload this in a child theme, the include a file called loop-author.php. Can I simply copy all the code from the loop.php file into a new loop-author file, remove the function that generates content from there? Would i have to change any of the parameters in the get_template_part() function?
Again, really new at doing this, so any advice would be greatly appreciated. Thanks a lot.