<?php /** * Theme functions and definitions * * @package HelloElementorChild */ /** * Load child theme css and optional scripts * * @return void */ function hello_elementor_child_enqueue_scripts() { wp_enqueue_style( 'hello-elementor-child-style', get_stylesheet_directory_uri() . '/style.css', [ 'hello-elementor-theme-style', ], '1.3.8' ); /*wp_enqueue_script( 'immowpjs', get_stylesheet_directory_uri() . '/js/immowp.js', array(), '1.0.2', true );*/ } add_action( 'wp_enqueue_scripts', 'hello_elementor_child_enqueue_scripts', 20 ); add_action( 'wpcf7_before_send_mail', 'wpcf7_add_text_to_mail_body' ); function wpcf7_add_text_to_mail_body($contact_form){ global $post; $post_id = $post->ID; $mail = $contact_form->prop( 'mail' ); $wpcf7 = WPCF7_ContactForm::get_current(); $submission = WPCF7_Submission::get_instance(); if ($submission) { $posted_data = $submission->get_posted_data(); $post_id = $posted_data[ 'post-id' ]; $negociateur_email = get_post_meta($post_id, 'negociateur_email', true); if (empty($negociateur_email)) { return $contact_form; } else { $properties = $contact_form->get_properties(); $properties['mail']['recipient'] = $negociateur_email; $contact_form->set_properties($properties); return $contact_form; } } return $contact_form; } add_action( 'wpcf7_init', 'wpcf7_new_form_tag' ); function wpcf7_new_form_tag() { wpcf7_add_form_tag( 'post_id', function ( $tag ) { return '<input type="hidden" value="'.get_the_id().'" name="post-id">'; } ); } /** * Create custom post type * * @since 1.0.0 */ function wpm_custom_post_type() { $cptName = 'agents'; $labels = array( 'name' => 'Agents', 'singular_name' => 'Agent', 'add_new_item' => 'Ajouter un agent', 'edit_item' => 'Editer un agent', 'new_item' => 'Nouveau agent', 'view_item' => "Voir le agent", 'search_items' => 'Rechercher un agent', 'not_found' => 'Aucun agent trouvé', 'not_found_in_trash' => 'Aucun agent trouvé dans la corbeille', 'parent_item_colon' => '', 'menu_name' => 'Agents', 'all_items' => 'Tous les agents', 'add_new' => 'Ajouter un agent' ); $args = array( 'labels' => $labels, 'description' => 'bien', 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'show_in_nav_menus' => true, 'publicly_queryable' => true, 'exclude_from_search' => true, 'rewrite' => array( 'slug' => 'agent'), 'capability_type' => 'post', 'has_archive' => false, 'hierarchical' => false, 'menu_position' => 3, 'show_in_rest' => true, 'query_var' => $cptName, 'menu_icon' => 'dashicons-admin-home', 'supports' => array('title', 'editor', 'thumbnail') ); register_post_type($cptName, $args); } add_action( 'init', 'wpm_custom_post_type', 0 ); Agence Immobilière Peret - Agence Immobilier Peret

Agence Immobilière Peret
spécialiste de l'immobilier en Aquitaine

L’Agence Immobilière PERET est une agence indépendante reconnue depuis 2010 sur la Gironde, Les Landes ainsi que le Pays Basque au service des Particuliers et des Professionnels.

Agence Immobilière Peret

Nous vous proposons plusieurs services
pour vos projets immobiliers

Afin de répondre efficacement aux besoins de ces clients, Le Directeur Thierry PERET, s’est entouré d’une équipe de collaborateurs natifs du secteur dont ils sont en charge.
 
Cette proximité apporte à l’Agence Immobilière Peret, une réactivité ainsi qu’une parfaite connaissance du Marché immobilier.
 
 
Vous avez un projet de vente, d’achat, d’investissement ou de location de bien professionnel, l’Agence Immobilière Peret saura vous apporter toute son écoute, son expertise, et sa bienveillance.

Agence Immobilière Peret

  • Maison
  • Appartement
  • Terrain
  • Immeuble...
  • Bureau
  • Commerce
  • Entrepôt
  • Fond de commerce...
  • Local artisanal
  • Local commercial
  • Local d'activités
  • Local industriel...

Nos derniers biens

Les avis de nos clients

L. Guilbert
L. Guilbert
Agence avec un conseil de qualité avec un réel savoir faire dans l’accompagnement.

Contactez-nous

Notre rôle : vous accompagner dans votre projet immobilier.

Pour toutes demandes d’informations, complétez ce formulaire et nous ferons de notre mieux pour y répondre au plus vite.