Custom post type portfolio

Home Forums MapPress Support Custom post type portfolio

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9758
    nicole_73
    Participant

    Hello,

    I’ve a custom post type “portfolio” with certain categories (“abokiste”, “biohof”…) in it.

    Now I want to display a mashup of only the categorie “abokiste” which is a categorie of “portfolio” – like this:

    [mashup width=”605″ height=”350″ show=”query” show_query=”post_type=portfolio&category_name=abokiste”]

    Could you please tell me, how to set this shortcode in a right way?

    Thanx very much!

     

     

     

     

     

    #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

    #10082
    dito
    Participant

    I have the same problem, I have permalinks /% postname% /

     

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.