Listing webcomic titles on archives page
-
Howdy,
I’m in the process of customizing my webcomic so that it’s easier to navigate. I want a single archives page that lists all the webcomics by title in descending order. (I can make prettier archive pages in the future; for now, I’m striving for pure simplicity.)
I have only one collection of webcomics, by the way.
Any code I put in the archives.php template still turns up the single link to the one webcomics collection. The link to that leads to the first page in the collection.
This is the default code in the section that I’ve tried to modify:
<?php while (have_posts()) : the_post(); (webcomic() and is_a_webcomic()) ? get_template_part('webcomic/content', get_post_type()) : get_template_part('content', get_post_format()); endwhile;
I’m sure this is what I need to modify, particularly
the get_post_format()
, but I’m not getting the results I want. I’m missing something, but I’m not very PHP savvy, so I wouldn’t know what exactly to pinpoint.Any help would be appreciated. Thanks!
- The topic ‘Listing webcomic titles on archives page’ is closed to new replies.