rfkat
Forum Replies Created
-
Forum: Plugins
In reply to: [Archivist - Custom Archive Templates] Styling the pagination?Thanks for the quick reply, @eteubert – I needed to style the li elements, so selecting the “current page” li is sadly not possible.
However, since you’re no longer maintaining this, I’ve now just modified display_pagination_controls() according to my needs, replacing the lists with simple links and spans. In case somebody else stumbles across this issue, hre’s the modification:
<div class="archivist-pagination pagination nav-links"> <?php for ($i = 1; $i <= $total_pages; $i++): ?> <?php if ($current_page === $i): ?> <span class="page-numbers current" aria-current="page" data-page="<?php echo esc_attr($i); ?>"> <?php echo $i; ?> </span> <?php else: ?> <a href="<?php echo esc_attr(add_query_arg('archivist_page', $i, $current_url)); ?>" class="archivist-pagination-link page-numbers" data-page="<?php echo esc_attr($i); ?>"> <?php echo $i; ?> </a> <?php endif ?> <?php endfor ?> </div>
That’s my current workaround, but I’m really a fan of DRY. I’d like to avoid maintaining the same text in two places – sync glitches are almost guaranteed.
I’ve read through a few messages here on the forum and found similar challenges with respect to rendering nested categories.
Need to think a little more about how to solve this. Thanks for your feedback!
Forum: Plugins
In reply to: [Multi-column Tag Map] How to display descriptions for categories?@tugbucket Thank you for writing and maintaining it. I’m exploring all the options right now, really excellent!
Forum: Plugins
In reply to: [Multi-column Tag Map] How to display descriptions for categories?Yikes, typo:
descriptions="yes"
, and everything works… ??Forum: Plugins
In reply to: [Autolinks Manager - SEO Auto Linker] Autolinks in RSS feeds?That will definitely close a gap – Thanks for considering this, and have a great weekend!
Rolf