Split up my Tags page
-
I have a page that just shows tags https://wateratairports.com/airports-by-iata-code/, it is working great and getting bigger over 300 it could grow to 1000 which is OK on a big screen but on a mobile, not good, I would like to add a line at the top of the tags offering a shortcut ie if you want A-F click this then it will take the user to a page that shows tags stating A and ending with F.
I am sure I can create the line with links to another page, where I am having a problem is how to only return the tags between A and F.
The template I am using is
/**
* Template Name: bbPress – Topic Tags
*
* @package bbPress
* @subpackage Theme
*/get_header(); ?>
<?php do_action( ‘bbp_before_main_content’ ); ?>
<?php do_action( ‘bbp_template_notices’ ); ?>
<?php while ( have_posts() ) : the_post(); ?>
<div id=”bbp-topic-tags” class=”bbp-topic-tags”>
<h1 class=”entry-title”><?php the_title(); ?></h1>
<div class=”entry-content”><?php get_the_content() ? the_content() : _e( ‘<p>This is a collection of tags that are currently popular on our forums.</p>’, ‘bbpress’ ); ?>
<div id=”bbpress-forums”>
<?php bbp_breadcrumb(); ?>
<div id=”bbp-topic-hot-tags”>
<?php wp_tag_cloud( array( ‘smallest’ => 15, ‘largest’ => 15, ‘number’ => 400, ‘taxonomy’ => bbp_get_topic_tag_tax_id() ) ); ?>
</div>
</div>
</div>
</div><!– #bbp-topic-tags –><?php endwhile; ?>
<?php do_action( ‘bbp_after_main_content’ ); ?>
Is there a way to select what tags are shown ?, I am happy to create more templates.
hope this makes snese
- You must be logged in to reply to this topic.