Reply To: Custom post type portfolio

Home Forums MapPress Support Custom post type portfolio Reply To: Custom post type portfolio

#9770
Chris
Keymaster

Hi, that query actually looked OK to me.  What result are you getting, an empty map?

If so, you could try a few things:

1.  Add “posts_per_page=-1″ – it may be the map is showing the first 5 posts only, and they don’t have locations:

show_query=”post_type=portfolio&category_name=abokiste&posts_per_page=-1”

2.  Go to your ‘permalinks’ menu in the WP admin and save – this will ‘flush’ your permalinks, they can get out of sync surprisingly easily

3.  See if the query is working without MapPress.  For example, enter these URLs:

http://mysite.com/category/abokiste

http://mysite.com/customtax/?post_type=portfolio

http://mysite.com/category/abokiste/?post_type=portfolio