Pagination for list of tags

Post Reply
006
Jr. Bludit
Posts: 2
Joined: Sat Apr 08, 2023 9:35 am

Hello everyone!

I have a question: I have tens of thousands of tags per page.
Does anyone know what code I can use to get a pagination for the tags?

I use this code to display the tags:

<?php if ( $page->tags( true ) ): ?>
<div class="entry tags ch70">
<span class="disp">Wiki</span>
<ul class="ul-cs dib mo">
<?php foreach( $page->tags( true ) as $tagKey=>$tagName ) :?>
<li><a href="<?php echo DOMAIN_TAGS.$tagKey ?>" rel="tag"><?php echo $tagName ?></a></li>
<?php endforeach; ?>
</ul>
</div>
<?php endif; ?>


Thank you in advance!
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

There is no solution out of the box for this.

Why do you use thousands of tags? :roll:
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
006
Jr. Bludit
Posts: 2
Joined: Sat Apr 08, 2023 9:35 am

because bludit has no ability to create pages in bulk.

so I use the tags to bulk the content.

so if anyone has any suggestions to get a pagination below the tags.
Or even better a plugin to create the pages in bulk!!

Example:
(every title per line will be loaded as a new page)

title 1
title 2
title 3

page 1
page 2
page 3

I am willing to pay for the bulk page option. if necessary.

It will help me a lot

thank you in advance!
Post Reply