[Resolved] Amount of tags

Home Forums Support Amount of tags

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #134750

    Hello Tom,
    may this question was already asked but i did not find in the support thread the answer so i may ask again.
    the amount of tags which are showing on my site is limited (i counted 47).
    how can i have an tag cloud which contains all tags i am using? where to modify the theme?

    Thanks for help

    Lead Developer
    Lead Developer

    Hi Chris,

    This is actually WordPress functionality – not GP.

    To increase or decrease the number of tags, you should be able to use this function:

    add_filter( 'widget_tag_cloud_args', 'generate_tag_cloud_limit' );
    function generate_tag_cloud_limit($args){ 
    	// Check if taxonomy option of the widget is set to tags
    	if ( isset($args['taxonomy']) && $args['taxonomy'] == 'post_tag' ){
    		$args['number'] = 100; // Number of tags to show
    	return $args;

    Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/

    Let me know 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.