Image Hotspot by DevVN Shortcode

Below, you’ll find a detailed guide on how to add the Image Hotspot by DevVN Shortcode to your WordPress website, including its parameters, examples, and PHP function code. Additionally, we’ll assist you with common issues that might cause the Image Hotspot by DevVN Plugin shortcode not to show or not to work correctly.

Before starting, here is an overview of the Image Hotspot by DevVN Plugin and the shortcodes it provides:

Plugin Icon
Image Hotspot by DevVN

"Image Hotspot by DevVN is a dynamic WordPress plugin that allows users to create interactive images with hotspots. With this tool, enhance your visuals and improve user engagement."

★★★★✩ (29) Active Installs: 30000+ Tested with: 5.9.8 PHP Version: false
Included Shortcodes:
  • [devvn_ihotspot]

Image Hotspot [devvn_ihotspot] Shortcode

The devvn-image-hotspot plugin shortcode creates interactive hotspots on an image. It extracts the image and hotspot data from the post metadata, and generates HTML for displaying the image with hotspots.

Shortcode: [devvn_ihotspot]

Parameters

Here is a list of all possible devvn_ihotspot shortcode parameters and attributes:

  • id – Unique identifier for the specific hotspot map

Examples and Usage

Basic example – Displaying an image hotspot by referencing the ID of the post.

[devvn_ihotspot id=1 /]

PHP Function Code

In case you have difficulties debugging what causing issues with [devvn_ihotspot] shortcode, check below the related PHP functions code.

Shortcode line:

add_shortcode('devvn_ihotspot','devvn_ihotspot_shortcode_func');

Shortcode PHP function:

Code file location:

devvn-image-hotspot/devvn-image-hotspot/admin/inc/add_shortcode_devvn_ihotspot.php

Conclusion

Now that you’ve learned how to embed the Image Hotspot by DevVN Plugin shortcode, understood the parameters, and seen code examples, it’s easy to use and debug any issue that might cause it to ‘not work’. If you still have difficulties with it, don’t hesitate to leave a comment below.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *