Acupuncteur Hainaut

Acupuncteur Hainaut : trouver un acupuncteur dans le Hainaut.
‘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( ‘6000’, ‘6001’, ‘6010’, ‘6020’, ‘6030’, ‘6031’, ‘6032’, ‘6040’, ‘6041’, ‘6042’, ‘6043’, ‘6044’, ‘6060’, ‘6061’, ‘6110’, ‘6111’, ‘6120’, ‘6140’, ‘6141’, ‘6142’, ‘6150’, ‘6180’, ‘6181’, ‘6182’, ‘6183’, ‘6200’, ‘6210’, ‘6211’, ‘6220’, ‘6221’, ‘6222’, ‘6223’, ‘6224’, ‘6230’, ‘6238’, ‘6240’, ‘6250’, ‘6280’, ‘6440’, ‘6441’, ‘6460’, ‘6461’, ‘6462’, ‘6463’, ‘6464’, ‘6470’, ‘6500’, ‘6511’, ‘6530’, ‘6531’, ‘6532’, ‘6533’, ‘6534’, ‘6536’, ‘6540’, ‘6542’, ‘6543’, ‘6560’, ‘6567’, ‘6590’, ‘6591’, ‘6592’, ‘6593’, ‘6594’, ‘6596’, ‘7000’, ‘7010’, ‘7011’, ‘7012’, ‘7020’, ‘7021’, ‘7022’, ‘7024’, ‘7030’, ‘7031’, ‘7032’, ‘7033’, ‘7034’, ‘7040’, ‘7041’, ‘7050’, ‘7060’, ‘7061’, ‘7062’, ‘7063’, ‘7070’, ‘7080’, ‘7090’, ‘7100’, ‘7110’, ‘7120’, ‘7130’, ‘7131’, ‘7133’, ‘7134’, ‘7140’, ‘7141’, ‘7160’, ‘7170’, ‘7180’, ‘7181’, ‘7190’, ‘7191’, ‘7300’, ‘7301’, ‘7320’, ‘7321’, ‘7322’, ‘7330’, ‘7331’, ‘7332’, ‘7333’, ‘7334’, ‘7340’, ‘7350’, ‘7370’, ‘7380’, ‘7382’, ‘7387’, ‘7390’, ‘7500’, ‘7501’, ‘7502’, ‘7503’, ‘7504’, ‘7506’, ‘7520’, ‘7521’, ‘7522’, ‘7530’, ‘7531’, ‘7532’, ‘7533’, ‘7534’, ‘7536’, ‘7538’, ‘7540’, ‘7542’, ‘7543’, ‘7548’, ‘7600’, ‘7601’, ‘7602’, ‘7603’, ‘7604’, ‘7611’, ‘7618’, ‘7620’, ‘7621’, ‘7622’, ‘7623’, ‘7624’, ‘7640’, ‘7641’, ‘7642’, ‘7643’, ‘7700’, ‘7711’, ‘7712’, ‘7730’, ‘7740’, ‘7742’, ‘7743’, ‘7750’, ‘7780’, ‘7781’, ‘7782’, ‘7783’, ‘7784’, ‘7800’, ‘7801’, ‘7802’, ‘7803’, ‘7804’, ‘7810’, ‘7811’, ‘7812’, ‘7822’, ‘7823’, ‘7830’, ‘7850’, ‘7860’, ‘7861’, ‘7863’, ‘7864’, ‘7866’, ‘7870’, ‘7880’, ‘7890’, ‘7900’, ‘7903’, ‘7904’, ‘7906’, ‘7910’, ‘7911’, ‘7912’, ‘7940’, ‘7941’, ‘7942’, ‘7943’, ‘7950’, ‘7970’, ‘7971’, ‘7972’, ‘7973’ ),
),
),
);
$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( ‘6000’, ‘6001’, ‘6010’, ‘6020’, ‘6030’, ‘6031’, ‘6032’, ‘6040’, ‘6041’, ‘6042’, ‘6043’, ‘6044’, ‘6060’, ‘6061’, ‘6110’, ‘6111’, ‘6120’, ‘6140’, ‘6141’, ‘6142’, ‘6150’, ‘6180’, ‘6181’, ‘6182’, ‘6183’, ‘6200’, ‘6210’, ‘6211’, ‘6220’, ‘6221’, ‘6222’, ‘6223’, ‘6224’, ‘6230’, ‘6238’, ‘6240’, ‘6250’, ‘6280’, ‘6440’, ‘6441’, ‘6460’, ‘6461’, ‘6462’, ‘6463’, ‘6464’, ‘6470’, ‘6500’, ‘6511’, ‘6530’, ‘6531’, ‘6532’, ‘6533’, ‘6534’, ‘6536’, ‘6540’, ‘6542’, ‘6543’, ‘6560’, ‘6567’, ‘6590’, ‘6591’, ‘6592’, ‘6593’, ‘6594’, ‘6596’, ‘7000’, ‘7010’, ‘7011’, ‘7012’, ‘7020’, ‘7021’, ‘7022’, ‘7024’, ‘7030’, ‘7031’, ‘7032’, ‘7033’, ‘7034’, ‘7040’, ‘7041’, ‘7050’, ‘7060’, ‘7061’, ‘7062’, ‘7063’, ‘7070’, ‘7080’, ‘7090’, ‘7100’, ‘7110’, ‘7120’, ‘7130’, ‘7131’, ‘7133’, ‘7134’, ‘7140’, ‘7141’, ‘7160’, ‘7170’, ‘7180’, ‘7181’, ‘7190’, ‘7191’, ‘7300’, ‘7301’, ‘7320’, ‘7321’, ‘7322’, ‘7330’, ‘7331’, ‘7332’, ‘7333’, ‘7334’, ‘7340’, ‘7350’, ‘7370’, ‘7380’, ‘7382’, ‘7387’, ‘7390’, ‘7500’, ‘7501’, ‘7502’, ‘7503’, ‘7504’, ‘7506’, ‘7520’, ‘7521’, ‘7522’, ‘7530’, ‘7531’, ‘7532’, ‘7533’, ‘7534’, ‘7536’, ‘7538’, ‘7540’, ‘7542’, ‘7543’, ‘7548’, ‘7600’, ‘7601’, ‘7602’, ‘7603’, ‘7604’, ‘7611’, ‘7618’, ‘7620’, ‘7621’, ‘7622’, ‘7623’, ‘7624’, ‘7640’, ‘7641’, ‘7642’, ‘7643’, ‘7700’, ‘7711’, ‘7712’, ‘7730’, ‘7740’, ‘7742’, ‘7743’, ‘7750’, ‘7780’, ‘7781’, ‘7782’, ‘7783’, ‘7784’, ‘7800’, ‘7801’, ‘7802’, ‘7803’, ‘7804’, ‘7810’, ‘7811’, ‘7812’, ‘7822’, ‘7823’, ‘7830’, ‘7850’, ‘7860’, ‘7861’, ‘7863’, ‘7864’, ‘7866’, ‘7870’, ‘7880’, ‘7890’, ‘7900’, ‘7903’, ‘7904’, ‘7906’, ‘7910’, ‘7911’, ‘7912’, ‘7940’, ‘7941’, ‘7942’, ‘7943’, ‘7950’, ‘7970’, ‘7971’, ‘7972’, ‘7973’ ),
    ),
    ),
    );
    $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 “