WordPress.org

Ready to get started?Download WordPress

Forums

WP-TagCanvas
[resolved] Number of displayed tags (5 posts)

  1. Korkki
    Member
    Posted 1 year ago #

    Hi.
    Can you add option to set number of displayed tags to your plugin?
    Thanks!
    BTW. Great work!

    http://wordpress.org/extend/plugins/wp-tagcanvas/

  2. WP_SRD
    Member
    Posted 1 year ago #

    Hey Korkki - got the same problem - the code is easy to modify!
    Search in WP-TagCanvas.php for the function called <?php wp_tag_cloud(); ?>

    Add parameter "number" as described in function reference:

    <?php wp_tag_cloud('number=40'); ?>

    ('Number' sets how many tags will show at most)

  3. Korkki
    Member
    Posted 1 year ago #

    Hey.
    It works. Thank you :)

  4. WP_SRD
    Member
    Posted 1 year ago #

    You're welcome.

    BTW: Parameters 'include' or 'exclude' work as well (to select specific tags).

    e.g.:

    <?php wp_tag_cloud('number=40&exclude=59,63,1189'); ?>

  5. siddhu
    Member
    Posted 1 year ago #

    Can we show the 3d tag cloud within a page.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic