{"id":7300,"date":"2009-12-02T11:02:50","date_gmt":"2009-12-02T11:02:50","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/annonces\/"},"modified":"2018-07-27T09:24:50","modified_gmt":"2018-07-27T09:24:50","slug":"annonces","status":"publish","type":"plugin","link":"https:\/\/roh.wordpress.org\/plugins\/annonces\/","author":5449402,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1.1","stable_tag":"2.1.1","tested":"4.9.29","requires":"4.9.0","requires_php":"5.6","requires_plugins":"","header_name":"Annonces","header_author":"Eoxia <dev@eoxia.com>","header_description":"","assets_banners_color":"fcfcfc","last_updated":"2018-07-27 09:24:50","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/www.eoxia.com\/","rating":2.7,"author_block_rating":0,"active_installs":10,"downloads":13427,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":"1","4":"1","5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1903830","resolution":"128x128","location":"assets","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1903830","resolution":"256x256","location":"assets","width":250,"height":250},"icon-64x64.png":{"filename":"icon-64x64.png","revision":"1903830","resolution":"64x64","location":"assets","width":64,"height":64}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1903835","resolution":"1544x500","location":"assets","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1903835","resolution":"772x250","location":"assets","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.1.2","1.1.2.1","1.1.2.2","1.1.2.6","1.2.0.1","1.2.0.3","1.2.0.4","1.2.0.5","1.2.0.6","1.2.0.7","2.0.0","2.1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1903830","resolution":"1","location":"assets","width":959,"height":711},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1903830","resolution":"2","location":"assets","width":959,"height":711}},"screenshots":{"1":"Map with announces","2":"description of an announce"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[],"plugin_category":[49],"plugin_contributors":[82713],"plugin_business_model":[],"class_list":["post-7300","plugin","type-plugin","status-publish","hentry","plugin_category-maps-and-location","plugin_contributors-eoxia","plugin_committers-eoxia"],"banners":{"banner":"https:\/\/ps.w.org\/annonces\/assets\/banner-772x250.png?rev=1903835","banner_2x":"https:\/\/ps.w.org\/annonces\/assets\/banner-1544x500.png?rev=1903835","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/annonces\/assets\/icon-128x128.png?rev=1903830","icon_2x":"https:\/\/ps.w.org\/annonces\/assets\/icon-256x256.png?rev=1903830","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/annonces\/assets\/screenshot-1.jpg?rev=1903830","caption":"Map with announces"},{"src":"https:\/\/ps.w.org\/annonces\/assets\/screenshot-2.jpg?rev=1903830","caption":"description of an announce"}],"raw_content":"<!--section=description-->\n<p>Annonces display announces posted in your WordPress interface on a Google map.<\/p>\n\n<h4>Shortcodes<\/h4>\n\n<p>Display the Google Map in a page with the shortcode :<\/p>\n\n<pre><code>[annonces]\n<\/code><\/pre>\n\n<h4>Filters<\/h4>\n\n<h4>Change metadatas in infowindow of map<\/h4>\n\n<pre><code>add_filter('set_marker_data', 'mytheme_set_marker_data', 10, 2);\nfunction mytheme_set_marker_data($microdata, $annonce_id) {\n    \/\/ datas\n    return $microdata;\n}\n<\/code><\/pre>\n\n<h4>Change title of filter bloc over the map<\/h4>\n\n<pre><code>add_filter('bloc_filter_title', 'mytheme_set_filter_title', 10, 1);\nfunction mytheme_set_filter_title($filter_title) {\n    \/\/ datas\n    return $filter_title;\n}\n<\/code><\/pre>\n\n<h4>Template<\/h4>\n\n<p>You can create single-announces.php in your child theme to edit the single page of announce : <a href=\"https:\/\/github.com\/Eoxia\/annonces\/blob\/master\/modules\/annonce\/view\/single-announce.php\">code for the single-annouce.php<\/a><\/p>\n\n<h4>ACF<\/h4>\n\n<ul>\n<li>Width the ACF plugin, you can create or import fields to personalize your announces.<\/li>\n<li>Edit the templates as explain above.<\/li>\n<li>You will obtain custom announces which will suit your project<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ul>\n<li>In your backadmin, go to \\\"Plugins\\\" pannel<\/li>\n<li>Install the plugin Annonces<\/li>\n<li>Install required plugin : ACF Free and update it to version 5.x.x<\/li>\n<li>Activate plugins Annonces and ACF<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>2.1.1<\/h4>\n\n<h4>Fix<\/h4>\n\n<ul>\n<li>20891 - Fix activation error<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<h4>Fix<\/h4>\n\n<ul>\n<li>20487 - Add condition ACF file existing or not to avoid errors<\/li>\n<li>20488 - Review the name of the filters on the documentation<\/li>\n<li>20489 - Add the Address field in the metadata (map &amp; single)<\/li>\n<li>20492 - add the ACF filter to set the Google map API Key<\/li>\n<li>XXXXX - Minor fix<\/li>\n<\/ul>\n\n<h4>Improvment<\/h4>\n\n<ul>\n<li>20498 - Improvement of the markers toggle script on the google map<\/li>\n<li>20491 - Improved mobile display for the filter block<\/li>\n<li>20564 - All modules in one menu page<\/li>\n<li>20520 - Module Label<\/li>\n<li>20563 - Module Author<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<h4>Improvment<\/h4>\n\n<ul>\n<li>19873 - Core remastering functionalities<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ul>\n<li>In your backadmin, go to \\\"Plugins\\\" pannel<\/li>\n<li>Install the plugin Annonces<\/li>\n<li>Install required plugin : ACF Free and update it to version 5.x.x<\/li>\n<li>Activate plugins Annonces and ACF<\/li>\n<\/ul><\/dd>\n\n<\/dl>","raw_excerpt":"Annonces display announces posted in your WordPress interface on a Google map.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/7300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=7300"}],"author":[{"embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/eoxia"}],"wp:attachment":[{"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=7300"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=7300"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=7300"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=7300"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=7300"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/roh.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=7300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}