Support » Fixing WordPress » [Plugin: Sightings] Limited to 5 placemarkers

  • Hi!,
    This plug-in is great and will work perfect with my site. However, I am limited to only 5 placemarkers on the map. I have contributed several locations(11), but the oldest post will get bumped off once it gets published. I have set my “Blog pages show at most” to 600, but this doesn’t help. Do you have any other suggestions?
    Thanks in advance.

    http://wordpress.org/extend/plugins/sightings/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    I’n getting this problem as well. It only displays the five most recent visitor contributed sightings.

    I’ve had a quick look at the code and can not see any filters or counters anywhere to restrict the number of markers. It looks like the sghitings arebeing saved as lat long so it should not be an issue with geocoding quotas from goolge.

    anyone found a solution to it yet?

    Kevin

    Ok, I’ve sort of half solved the problem.

    I want to get 20 locations displayed on my maps, at the moment I’m only getting the last five locations.

    I’ve been able to get 20 locations to show for the normal [ sightings-map ] shortcode by adding:

    ‘numberposts’ => 20,

    to the array for the public function getAllSightings() in the class-sightings.php file.

    Now I need to try and sort out a filtered category shortcode solution.

    The shortcode-sightings-map.php seems to be calling a function in the class-sightings file that ddoes not exisit – $manager->getSightingsByCategory

    time to play around with may be introducing a new function? Not sure. I’ll keep you posted when I get time to take a closer look.

    Kevin

    ignore the missing function statement above, it is there.

    It seems that there’s an issue with shortcode parameters.

    Kevin

    Ok everything is sorted now. the shrtcode filters are working ok.

    i just added the ‘numberposts’ => 20, to the $manager->getSightingsByCategory array in class-sightings and I’m getting the most recent 20 posts in the category.

    Kevin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Sightings] Limited to 5 placemarkers’ is closed to new replies.