Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1425844

    Hello,
    I use the Mansonry Element tool to display the trombinoscope of a group of 130 people, divided into 10 teams.
    I use the filter to display the teams individually.
    I would like to be able to display the 130 people without pagination (because pagination appears when you filter when there are only 6 people for example).
    How can I display more than 100 items (current limit in tool settings)?
    Thank you very much,
    Stephanie

    #1425953

    Hey nicolaskrasinski,
    Try using FTP or your cPanel file manager to edit the \enfold\config-templatebuilder\avia-shortcodes\masonry_entries\masonry_entries.php about line 540 find:
    'subtype' => AviaHtmlHelper::number_array( 1, 100, 1, array( 'All' => '-1' ) ) and change the “100” to what you wish and then save and check.

    Best regards,
    Mike

    #1426076

    Hello Mike,
    thank you for reply quickly :)
    I use an Enfold-child theme, which code can I add to the “function.php” file to obtain the same result ?
    Thanks,
    Best regards,
    Stephanie

    #1426093

    Hi,
    If it is working for you then you would need to copy the \masonry_entries\masonry_entries.php to your child theme into a directory called /shortcodes/
    and ensure that this code is in your child theme functions.php:

    function avia_include_shortcode_template( $paths )
    {
    	if( ! is_array( $paths ) )
    	{
    		$paths = array();
    	}
    	
    	$template_url = get_stylesheet_directory();
    	array_unshift( $paths, $template_url . '/shortcodes/' );
    
    	return $paths;
    }
    
    add_filter( 'avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1 );
    

    Best regards,
    Mike

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