Linux 软件免费装
Banner图

Image Map Connect - Display Posts as Image Hotspots

开发者 dutchigor
daniela2017
更新时间 2024年11月11日 03:40
PHP版本: 7.2 及以上
WordPress版本: 6.7
版权: GPL-3.0-or-later

标签

Map markers Image map Interactive image Indoor map Image hotspot Floor plan Custom map Stylized map Event map Infographic Map filters Dynamic map

下载

1.0.2

详情介绍:

What is Image Map Connect Plugin? Image Map Connect allows you to add any image to your WordPress website and make it an interactive image map. On the image map you can:
  1. Display your existing and/or new posts as markers, including custom post types
  2. Show post details in a popup
  3. Filter markers
  4. Switch between layers
  5. Zoom in and out
  6. Use block settings to visually configure the plugin
The plugin uses built-in WordPress features where possible, for example it extends the current posts and makes use of the default blocks like the query block. What Can You Use the Plugin for? Among other things, you can use the plugin provide an interactive Key Features

安装:

Install Image Map Connect within WordPress
  1. Visit the plugins page within your dashboard and select ‘Add New’
  2. Search for ‘Image Map Connect’
  3. Activate the Image Map Connect plugin from your Plugins page
  4. See the section ‘After activation’ below.
Install Image Map Connect manually
  1. Upload the ‘image-map-connect’ folder to the /wp-content/plugins/ directory
  2. Activate the Image Map Connect plugin from your Plugins page
  3. See the section ‘After activation’ below.
After activation
  1. Click 'Image Maps' in WordPress sidebar menu
  2. You can find more instructions on the 'Info' tab
  3. Set up the plugin for your site by creating a map and adding layer(s) and markers. Tooltips included in the Maps/Layers/Markers tabs help you when filling in the details.
  4. Add Image Map Connect block to your page or template.

屏幕截图:

  • Process to set up the plugin
  • Plugin Admin Page / Maps Tab
  • Plugin Admin Page / Layers Tab
  • Plugin Admin Page / Markers Tab - type: Posts
  • Plugin Admin Page / Markers Tab - type: Standalone marker
  • Block / Styling
  • Block / Settings

常见问题:

What is an image map?

Image map is an image with clickable areas that can be used e.g. to navigate to different pages of the same website.

Can I add an image map to an archive page?

Yes. In a block theme, you can include the image map in the archive template. If you embed it in the query loop block, only markers for the posts in the archive will be displayed on the image map. In a classic theme, you can add it to the widget area. Any widgets on an archive page will automatically only show markers for the posts in the archive.

Can I make the image map style compatible with my theme?

Yes. The image map size, borders and background color are configurable. The popup text styling is taken from your theme by default and you can further modify the style to align with your theme.

更新日志:

1.0.1 Dependencies This plugin makes use of multiple independent open source packages, both from NPM and from Packagist. You can find a list of all the projects we have the pleasure of including on this plugin in the composer.json and package.json files. For a more comprehensive list, including all the packages that these packages use, see composer.lock and package-lock.json. Development Instructions Source Code The code can be found on Github Development environment setup This plugin makes use of both Node and Composer as development tools. For this reason, ensure both are installed and execute the following commands after cloning the project: The javascript for this plugin is built with the wordpress scripts package, which requires the javascript to be built. To build the corresponding assets, run one of the following: Folder structure This is a brief description of the folder structure used in this plugin. .vscode plugin recommendations, settings and debug configuration for VS Code. app The javascript source code. docker The docker configuration and setup files. inc The php classes and helper files. releases The files to send to the wordpress plugin library. scripts javascript development scripts root The root folder contains all the necessary configuration files for all the development tools used in this plugin: