Réflexologue Namur

Réflexologue Namur : trouver un réflexologue à Namur.
‘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( ‘5000’, ‘5001’, ‘5002’, ‘5003’, ‘5004’, ‘5020’, ‘5021’, ‘5022’, ‘5024’, ‘5030’, ‘5031’, ‘5032’, ‘5060’, ‘5070’, ‘5080’, ‘5081’, ‘5100’, ‘5101’, ‘5140’, ‘5150’, ‘5170’, ‘5190’, ‘5300’, ‘5310’, ‘5330’, ‘5332’, ‘5333’, ‘5334’, ‘5336’, ‘5340’, ‘5350’, ‘5351’, ‘5352’, ‘5353’, ‘5354’, ‘5360’, ‘5361’, ‘5362’, ‘5363’, ‘5364’, ‘5370’, ‘5372’, ‘5374’, ‘5376’, ‘5377’, ‘5380’, ‘5500’, ‘5501’, ‘5502’, ‘5503’, ‘5504’, ‘5520’, ‘5521’, ‘5522’, ‘5523’, ‘5524’, ‘5530’, ‘5537’, ‘5540’, ‘5541’, ‘5542’, ‘5543’, ‘5544’, ‘5550’, ‘5555’, ‘5560’, ‘5561’, ‘5562’, ‘5563’, ‘5564’, ‘5570’, ‘5571’, ‘5572’, ‘5573’, ‘5574’, ‘5575’, ‘5576’, ‘5580’, ‘5590’, ‘5600’, ‘5620’, ‘5621’, ‘5630’, ‘5640’, ‘5641’, ‘5644’, ‘5646’, ‘5650’, ‘5651’, ‘5660’, ‘5670’, ‘5680’ ),
),
),
);
$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( ‘5000’, ‘5001’, ‘5002’, ‘5003’, ‘5004’, ‘5020’, ‘5021’, ‘5022’, ‘5024’, ‘5030’, ‘5031’, ‘5032’, ‘5060’, ‘5070’, ‘5080’, ‘5081’, ‘5100’, ‘5101’, ‘5140’, ‘5150’, ‘5170’, ‘5190’, ‘5300’, ‘5310’, ‘5330’, ‘5332’, ‘5333’, ‘5334’, ‘5336’, ‘5340’, ‘5350’, ‘5351’, ‘5352’, ‘5353’, ‘5354’, ‘5360’, ‘5361’, ‘5362’, ‘5363’, ‘5364’, ‘5370’, ‘5372’, ‘5374’, ‘5376’, ‘5377’, ‘5380’, ‘5500’, ‘5501’, ‘5502’, ‘5503’, ‘5504’, ‘5520’, ‘5521’, ‘5522’, ‘5523’, ‘5524’, ‘5530’, ‘5537’, ‘5540’, ‘5541’, ‘5542’, ‘5543’, ‘5544’, ‘5550’, ‘5555’, ‘5560’, ‘5561’, ‘5562’, ‘5563’, ‘5564’, ‘5570’, ‘5571’, ‘5572’, ‘5573’, ‘5574’, ‘5575’, ‘5576’, ‘5580’, ‘5590’, ‘5600’, ‘5620’, ‘5621’, ‘5630’, ‘5640’, ‘5641’, ‘5644’, ‘5646’, ‘5650’, ‘5651’, ‘5660’, ‘5670’, ‘5680’ ),
    ),
    ),
    );
    $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 “