Annonces

Description

Annonces display announces posted in your WordPress interface on a Google map.

Shortcodes

Display the Google Map in a page with the shortcode :

[annonces]

Filters

Change metadatas in infowindow of map

add_filter(\'set_marker_data\', \'mytheme_set_marker_data\', 10, 2);
function mytheme_set_marker_data($microdata, $annonce_id) {
    // datas
    return $microdata;
}

Change title of filter bloc over the map

add_filter(\'bloc_filter_title\', \'mytheme_set_filter_title\', 10, 1);
function mytheme_set_marker_data($filter_title) {
    // datas
    return $filter_title;
}

Template

You can create single-announces.php in your child theme to edit the single page of announce : code for the single-annouce.php

ACF

  • Width the ACF plugin, you can create or import fields to personalize your announces.
  • Edit the templates as explain above.
  • You will obtain custom announces which will suit your project

Screenshots

  • Map with announces
  • description of an announce

Installation

  • In your backadmin, go to \”Plugins\” pannel
  • Install the plugin Annonces
  • Install required plugin : ACF Free and update it to version 5.x.x
  • Activate plugins Annonces and ACF

FAQ

Installation Instructions
  • In your backadmin, go to \”Plugins\” pannel
  • Install the plugin Annonces
  • Install required plugin : ACF Free and update it to version 5.x.x
  • Activate plugins Annonces and ACF

Reviews

Read all 3 reviews

Contributors & Developers

“Annonces” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Annonces” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.0.0

Improvment

  • 19873 – Core remastering functionalities