Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Reply To: [Assigned] Maps with view

$
0
0

Dear Pat,

You can personalize the output in the HTML Layout section of your View. For example:

[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<ul id="js-map-elements" class="team-map-view">
  <wpv-loop>
     <li data-marker-title="[wpv-post-title]"
         data-marker-lat="[types field="latitude"][/types]"
         data-marker-lon="[types field="longitude"][/types]"
         data-marker-id="[wpv-post-id]">
        <div class="team-info-wrap">
            <a class="js-map-center-map team-center-marker"
               title="Locate on map">
               <img src="/wp-content/uploads/2013/11/team.png" alt=""/>
            </a>
            <div class="team-infoWin js-map-infowindow-html">
               [types field="photo" id="" width="80"][/types]
               <h3>[wpv-post-title]</h3>
               <p class="team-role">[types field="role" id=""][/types]</p>
               <p>[wpv-post-body view_template="None"]</p>
            </div>
        </div>
    </li>
  </wpv-loop>
</ul>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-layout-end]

Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.

Regards,
Caridad


Viewing all articles
Browse latest Browse all 20145

Trending Articles