Create Mashup for categories

Home Forums MapPress Support Create Mashup for categories

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12849
    oba86
    Participant

    Hello Chris,
    in my website (dedicate to NYC) i localize several attractions types, for example Parks, Monument, Museum,…
    How can i create a Mashup Map only for Museum for example?
    Thanks

    #12850
    oba86
    Participant

    p.s. only for pages, not for posts!

    #12857
    Chris
    Keymaster

    Hi,

    Assign the pages to a specific category, then use a mashup query for that category with post_type=page.

    There are some examples queries by category and post type in the documentation, but let me know if that doesn’t help.

    #12872
    oba86
    Participant

    Hello Chris,
    thanks for your reply!
    I use this shortcode and it runs

    [mashup query=”post__in=979,984,…” width=”100%” height=”400″]
    but there is no better way? cos in this way i have to add all new pages (in a specific category) manually…

    Thanks!

    p.s. your plugin is fantastic!

    #12874
    Chris
    Keymaster

    Hi,

    For a category you can use “cat=mycat”, or several other category queries. There are some examples in the MapPress documentation and here:
    http://codex.wordpress.org/Class_Reference/WP_Query

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