How can I change the number of nodes in Navigation?

The default navigation nodes count is 6, if User want to adjust the number of nodes of navigation they can pass the parameter nav_max in their shortcode, the value must be within 2 and 15 range.


Example shortcode with navigation node count will be:

[post-timeline category_id="7" nav_max="5"]