Acupuncteur Brabant wallon

Acupuncteur Bruxelles : trouvez votre acupuncteur à Bruxelles.
‘cabinet’,
‘post_status’ => ‘publish’,
‘posts_per_page’ => – 1,
‘orderby’ => ‘RAND’,
‘tax_query’ => array(
‘relation’ => ‘AND’,
array(
‘taxonomy’ => ‘profession’,
‘field’ => ‘name’,
‘terms’ => $thisposttitle,
),
array(
‘taxonomy’ => ‘codepostal’,
‘field’ => ‘name’,
‘terms’ => array( ‘1300’, ‘1301’, ‘1310’, ‘1315’, ‘1320’, ‘1325’, ‘1330’, ‘1331’, ‘1332’, ‘1340’, ‘1341’, ‘1342’, ‘1348’, ‘1350’, ‘1357’, ‘1360’, ‘1367’, ‘1370’, ‘1380’, ‘1390’, ‘1400’, ‘1401’, ‘1402’, ‘1404’, ‘1410’, ‘1414’, ‘1420’, ‘1421’, ‘1428’, ‘1430’, ‘1435’, ‘1440’, ‘1450’, ‘1457’, ‘1460’, ‘1461’, ‘1470’, ‘1471’, ‘1472’, ‘1473’, ‘1474’, ‘1476’, ‘1480’, ‘1490’, ‘1495’ ),
),
),
);
$my_querypsy = new WP_Query($argspsy);
if ($my_querypsy->have_posts()) {
while ($my_querypsy->have_posts()) : $my_querypsy->the_post();
$postid=get_the_ID();
$author = get_the_author();
$author_id = get_the_author_meta(‘ID’);
$fn = get_the_author_meta(‘first_name’);
$ln = get_the_author_meta(‘last_name’);
$nomprat = $fn.” “.$ln;
//$aslug = get_the_author_meta(‘nicename’);
$authorslug = get_author_posts_url( $author_id );
$picture50 = get_avatar( get_the_author_meta( ‘ID’ ), 65 );
$pays = get_post_meta( $postid, ‘pays’, true );
$cp = get_post_meta( $postid, ‘code_postal’, true );
$ville = strip_tags(get_post_meta( $postid, ‘ville_commune’, true ));
$argsmp = array(
‘post_type’ => ‘mon-profil’,
‘post_status’ => ‘publish’,
‘author’ => $author_id,
);
$myvarsmp = new WP_Query( $argsmp );
if( $myvarsmp->have_posts() ) {
while( $myvarsmp->have_posts()) {
$myvarsmp->the_post();
$authortitle = get_the_title();
}
wp_reset_postdata();
}
$outpsy .= “

  • “.$nomprat.”
    “.$authortitle.”
    “.$cp.” “.$ville.”

  • “;
    endwhile;
    $outdisplayliv .= “

    “;
    } // END if have_posts loop
    wp_reset_query();

    $argspro = array(
    ‘post_type’ => ‘professionnel’,
    ‘post_status’ => ‘publish’,
    ‘posts_per_page’ => – 1,
    ‘orderby’ => ‘RAND’,
    ‘tax_query’ => array(
    ‘relation’ => ‘AND’,
    array(
    ‘taxonomy’ => ‘profession’,
    ‘field’ => ‘name’,
    ‘terms’ => $thisposttitle,
    ),
    array(
    ‘taxonomy’ => ‘codepostal’,
    ‘field’ => ‘name’,
    ‘terms’ => array( ‘1300’, ‘1301’, ‘1310’, ‘1315’, ‘1320’, ‘1325’, ‘1330’, ‘1331’, ‘1332’, ‘1340’, ‘1341’, ‘1342’, ‘1348’, ‘1350’, ‘1357’, ‘1360’, ‘1367’, ‘1370’, ‘1380’, ‘1390’, ‘1400’, ‘1401’, ‘1402’, ‘1404’, ‘1410’, ‘1414’, ‘1420’, ‘1421’, ‘1428’, ‘1430’, ‘1435’, ‘1440’, ‘1450’, ‘1457’, ‘1460’, ‘1461’, ‘1470’, ‘1471’, ‘1472’, ‘1473’, ‘1474’, ‘1476’, ‘1480’, ‘1490’, ‘1495’ ),
    ),
    ),
    );
    $my_querypro = new WP_Query($argspro);
    if ($my_querypro->have_posts()) {
    while ($my_querypro->have_posts()) : $my_querypro->the_post();
    $protitle=get_the_title();
    $propostid=get_the_ID();
    $proauthorslug = get_permalink($propostid);
    $propicture50 = get_post_meta( $propostid, ‘pro_thumb’, true );
    $procp = get_post_meta( $propostid, ‘pro_cp’, true );
    $proville = strip_tags(get_post_meta( $propostid, ‘pro_ville’, true ));
    if($propicture50==null){
    $propicture50=”/mimages/annuaire/avatar_Les_Praticiens.png”;
    }
    $outpro .= “

  • “.$protitle.”
    “.$procp.” “.$proville.”
  • “;
    endwhile;
    $outdisplaypro .= “

    “;
    } // END if have_posts loop
    wp_reset_query();
    $totresults = $outpro.$outpsy;
    $shuffledstring = explode(‘

    ‘, $totresults);
    shuffle($shuffledstring);
    $ok = implode(‘

    ‘, $shuffledstring);
    echo “