Mashup showing all pages

Home Forums MapPress Support Mashup showing all pages

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12279
    not2old2learn
    Participant

      Using your documentation entered following shortcode onto page:

      [mashup query="page_in=74,92,110,120,129,136,872,900,906,3019"]

      it displays a map with all pages that have maps in addition to those listed above.

      If I use [mashup query="page_id=74"] the map displays the POI for the one page.

      If I use [mashup query="post_type=page"] the map displays all pages which have POI.

      So for some reason the mashup short code to display specific pages is not working. Any suggestions.

      #12280
      Chris
      Keymaster

        Hi,

        The documentation mentions ‘post__in’.  I don’t think ‘page_in’ exists.

        If you want to get specific pages this should work:

        post_type=page&post__in=1,2,3,4

        I think it also works this way, without specifying any post_type:

        post__in=1,2,3,4

         

        #12294
        not2old2learn
        Participant

          I had tried the last example above but missed two “_” had only used one. So yes it works now. Thank you.

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