There are cases in which we need to select a specific post in a shortcode from a list of posts we have added previously in a custom post type, for example Employees.
Before applying the workaround presented in this article make sure to have a Complete Backup of your website, so that if anything goes wrong you will be able to restore the website.
Incomplete List of Post Types
Due to technical reasons, we limited the listing of posts inside shortcodes to 30, and if you have more posts you will not see some of them in the shortcode listing.
To override such behaviors, you need to open up this PHP file via your FTP client:
wp-content/themes/jupiter/components/shortcodes/%shortcode_name%/vc_map.php
Then change the code of the post listing number you want to increase. For example, to increase the Employees limitation, you need to do the following :
array(
"type" => "multiselect",
"heading" => __("Select specific Employees", "mk_framework") ,
"param_name" => "employees",
"value" => '',
"options" => mk_get_post_enteries('employees', 40),
"description" => __("", "mk_framework")
) ,
mk_get_post_enteries('employees', 60)