diff --git a/archive-xarxaprod-associat.php b/archive-xarxaprod-associat.php index 86e5680..6ad2be2 100644 --- a/archive-xarxaprod-associat.php +++ b/archive-xarxaprod-associat.php @@ -21,21 +21,20 @@ get_header(); - + + + have_posts() ) : ?> - - - - + + + + have_posts() ) : $the_query_associat->the_post(); ?> - ' . get_the_title() . ''; - $associat_own_weblink = '' . get_field('xxp_associat_web') . ''; - $associat_email = '' . get_field('xxp_associat_mail') . ''; - $associat_lat = $marker['lat']; - $associat_lng = $marker['lng']; - $associat_blobcolor = get_field('xxp_associat_colormap'); - echo do_shortcode( ' - [leaflet-marker svg background="#555" color="#555" iconSize="17,19" iconClass="dashicons dashicons-marker" opacity="0.6" lat=' . $associat_lat . ' lng=' . $associat_lng . ']' - . '' . $associat_address . '' - . '' . $associat_xxp_weblink . '' - . '' . $associat_own_weblink . '' - . '' . $associat_email . '' - . '[/leaflet-marker]' - ); // end shortcode each marker - }; // end each marker - }; // end count all markers -?> - - - - - - - have_posts() ) : $the_query_associat->the_post(); ?> - - - - + + + + + + + + '; + //while ( $the_query_associat->have_posts() ) : $the_query_associat->the_post(); + //get_template_part( 'template-parts/section', 'eachmember' ); + //endwhile;//end of the loop + //echo ''; + ?> diff --git a/template-parts/content-xarxaprod-associat.php b/template-parts/content-xarxaprod-associat.php index 1146cdc..f0d2e1b 100644 --- a/template-parts/content-xarxaprod-associat.php +++ b/template-parts/content-xarxaprod-associat.php @@ -100,7 +100,13 @@
' . $associat_address . '
' . $associat_own_weblink . '
' . $associat_email . '