Comments Carrie started the conversationApril 21, 2014 at 11:08pmI seem to have hit the end of the allowed locations for the map. Is there any workaround this to allow for more than 10 locations?I took a peak at the code but I'm not sure what it would be exactly.Thank you 8,839Tahir repliedApril 21, 2014 at 11:48pmHey Carrie!You will have to add new options in the "salient\nectar\options\options-init.php" file and add in new locations. Chang 10 to 11,12 , 13 etc.array( 'id' => 'map-point-10', 'type' => 'checkbox_hide_below', 'title' => __('Location #10', NECTAR_THEME_NAME), 'sub_desc' => __('Toggle location #10', NECTAR_THEME_NAME), 'desc' => '', 'next_to_hide' => '3', 'switch' => true, 'std' => '0' ), array( 'id' => 'latitude10', 'type' => 'text', 'title' => __('Latitude', NECTAR_THEME_NAME), 'sub_desc' => __('Please enter the latitude for your tenth location.', NECTAR_THEME_NAME), 'desc' => '', 'validate' => 'numeric' ), array( 'id' => 'longitude10', 'type' => 'text', 'title' => __('Longitude', NECTAR_THEME_NAME), 'sub_desc' => __('Please enter the longitude for your tenth location.', NECTAR_THEME_NAME), 'desc' => '', 'validate' => 'numeric' ), array( 'id' => 'map-info10', 'type' => 'textarea', 'title' => __('Map Infowindow Text', NECTAR_THEME_NAME), 'sub_desc' => __('If you would like to display any text in an info window for your tenth location, please enter it here.', NECTAR_THEME_NAME), 'desc' => '' ), All the Best,-T ThemeNectar Support Team Carrie repliedApril 22, 2014 at 12:17amThanks for such a fast response!Building on this- do I then edit the info directly in \options-init.php? When I entered in for the next location and went back into the admin contact section it still caps off at 10. So Just want to be sure I do it right.Thanks! 8,839Tahir repliedApril 22, 2014 at 1:25amHey Carrie!You will have to change the values in here as well "salient\nectar\options\fields\add_remove\field_add_remove.js"Cheers ThemeNectar Support Team Sign in to reply ...
I seem to have hit the end of the allowed locations for the map. Is there any workaround this to allow for more than 10 locations?
I took a peak at the code but I'm not sure what it would be exactly.
Thank you
Hey Carrie!
You will have to add new options in the "salient\nectar\options\options-init.php" file and add in new locations. Chang 10 to 11,12 , 13 etc.
All the Best,
-T
ThemeNectar Support Team
Thanks for such a fast response!
Building on this- do I then edit the info directly in \options-init.php? When I entered in for the next location and went back into the admin contact section it still caps off at 10. So Just want to be sure I do it right.
Thanks!
Hey Carrie!
You will have to change the values in here as well "salient\nectar\options\fields\add_remove\field_add_remove.js"
Cheers
ThemeNectar Support Team