Mashup – exclude some maps

Home Forums MapPress Support Mashup – exclude some maps

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10854
    babochina
    Participant

      Hi all,

      I have a mashup of all the maps on my website.

      [mashup show="query" show_query="posts_per_page=-1&post_type=post" width="700" height="480"  ]

      I would like to exclude specific maps from this mashup.

      Can I do that easily? Sorry, I am a beginner …

      Thank you for your help

      #10890
      Chris
      Keymaster

        Hi, I took a look at the wordpress codex entry here.  I think you can do this by using post__not_in.  For example to exclude posts 1 and 2:

        [mashup show="query" show_query="posts_per_page=-1&post_type=post&post__not_in=1,2" width="700" height="480"  ]

        #11023
        babochina
        Participant

          I tried and it s working fine!

          Thank you very much for the tip!

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