跳到内容

Annonces

v2.1.1

Agence web Eoxia - Montpellier · 2009年12月2日 上架

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

正在使用
10+
评分
2.7 / 5
累计下载
1.4 万
最近更新
2018年7月27日
3 条评价需要 WordPress 4.9.0+已测试到 4.9.36PHP 5.6+

截图

Map with announces
Map with announces
description of an announce
description of an announce

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_filter_title($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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums