Documentation — Floating Instagram

Complete installation, configuration and user guide for the Floating Instagram plugin for WordPress.


Installation

Floating Instagram installs like any other WordPress plugin:

  1. Download the floating-instagram.zip file from the plugin page.
  2. In your WordPress dashboard, go to Plugins → Add New.
  3. Click Upload Plugin, select the .zip file and click Install Now.
  4. Activate the plugin once the installation is complete.

You can also extract the archive and upload the floating-instagram folder to the /wp-content/plugins/ directory on your server via FTP.

Configuration

After activation, go to Settings → Floating Instagram to access the plugin options.

Enable \/ disable the widget

Tick or untick the “Show the floating Instagram logo on all pages” option to control the widget’s visibility. This option lets you temporarily hide the logo without deactivating the plugin.

Instagram profile URL

Enter the full URL of your Instagram profile (for example: https://instagram.com/monprofil). This is the link your visitors will be redirected to when they click the floating logo.

Click dashboard

The settings page also shows click statistics for the last 30 days:

  • Total clicks: the total number of clicks recorded over the period.
  • Breakdown by day: a table showing the date and the number of clicks for each day.

The data is automatically cleaned up after 30 days thanks to a daily cron task. No action is required on your part.

Widget behaviour

The Instagram logo is displayed in a fixed position on the right-hand side of the screen, vertically centred. It is visible on all pages of your site (excluding the WordPress dashboard).

  • Desktop: 50×50 pixel logo with rounded corners.
  • Mobile (screens under 768 px): logo reduced to 40×40 pixels.
  • A hover effect slightly enlarges the logo and adds a drop shadow.
  • The link opens in a new tab with the rel="noopener" attribute for security.

Uninstallation

When you delete the plugin from the WordPress dashboard (Plugins → Delete), all data is automatically cleaned up:

  • The wp_ig_widget_clicks database table is removed.
  • The fig_enabled and fig_url options are removed from the wp_options table.
  • The scheduled cron task is automatically removed on deactivation.

Simply deactivating the plugin (without deleting it) keeps all your data and settings.

Technical information

  • Database table: {prefix}_ig_widget_clicks — stores the date and number of clicks per day.
  • Cron task: fig_daily_cleanup — run daily to purge data older than 30 days.
  • AJAX: click tracking uses WordPress’s native AJAX API with nonce verification for security.
  • CSS and JS: inlined via wp_add_inline_style and wp_add_inline_script. No external files loaded.
  • Compatibility: WordPress 5.0+, PHP 7.4+, all modern browsers.

← Back to the plugin page