WordPress.org

Ready to get started?Download WordPress

Forums

Multi-column Tag Map
To many tags - need a pagination - Please (3 posts)

  1. bffnb
    Member
    Posted 1 year ago #

    Hi!

    First - after 2 days of research i found the best plugin for my tags :)
    But i have a problem.

    I have over 1 600 tags and it is not possible to show them all in one page. When i call the page it takes 3 minutes to load !!!

    How can i limit the hole number of tags and show them in mor pages with a pagination? For example the first site begins with A and shows up 100 tags for example and in the next page it goes ahead the same way.... til page 16. it can bee only one columm no matter

    Hope this is possible

    Thank you so much for your help

    http://wordpress.org/extend/plugins/multi-column-tag-map/

  2. tugbucket
    Member
    Plugin Author

    Posted 1 year ago #

    You can this method: http://pastebin.com/UpffF0My

    This was done to use the navigation option. When the page initially loads, It only shows "A". When you click a letter, it reloads the page only showing the clicked letter.

    /* ===== create the navigation ===== */
    		if($show_navigation == "yes" && $show_categories == "yes"){
    			$showCatNav = 1;
    			$list .= '<div id="mcTagMapNav">'."\n";
    			foreach( array_keys($groups) as $fl ) {
    				$list .= '<a href="?mctm='.$fl.'">'.$fl.'</a>'."\n";
    			}
    			$list .= '</div>'."\n";
    		}

    Notice that this works only if show_navigation AND show_categories are set to 'yes' If you are working with tags not categories, you will need to change that.

    This was also only done to be set up with the 'basic' option, so near the bottom you will see:
    if(isset($_GET['mctm']) && !empty($_GET['mctm'])){

    That if else takes the selected tag, if nothing is selected (ie, the page on first load) it automatically selects "A"

    This isn't pagination but, it is a different way that seems to suit your end needs.

  3. bffnb
    Member
    Posted 1 year ago #

    Hi!

    Thank you for your quick response. I only use tags - or better, i only will show up my tags!

    1.
    I copied the code from pastebin and put in to the empty mctagmap_functions.php and upload it to my server.

    Nothing changed.

    2.
    I changed both settings to:
    "show_navigation" => "yes",
    "show_categories" => "yes",

    and it showed me only my categories...

    I dont understand the part with the tags??
    and ?? if(isset($_GET['mctm']) && !empty($_GET['mctm'])){

    I use the Shortcode Installation Example from here:
    http://wordpress.org/extend/plugins/multi-column-tag-map/installation/

    thank you

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags