== F12 Floating Menu, sticky menu for WordPress ==
Contributors: forge12
Donate link: https://www.paypal.com/donate?hosted_button_id=MGZTVZH3L5L2G
Tags: custom menu, custom navigation menu, custom side menu, floating menu, floating navigation menu, floating wordpress menu, inline navigation menu, navigation menu, one page navigator, one page navigator menu, side, side menu, sticky menu, sticky navigation menu, sticky navigator
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 1.4.2
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: f12-floating-menu
Domain Path: /languages

Easily add unlimited floating/sticky menus to your Website. The F12 Floating Menu comes with an easy-to-use interface, allowing you to have the full control on every aspect of the menu.

=== Description ===
F12 Floating Menu is a free WordPress plugin which allows you to easily create multiple sticky/floating menus on your Website.

The plugin allows you to add unlimited sticky menus to your website. It's even possible to show menus only for specific pages and post types.
This allows you to create customized sticky menus for your customers. The plugin uses the font awesome icon pack to chose from. You can also use your custom icons and upload them for each menu.
It is also fully responsive, which will allow you to use it for mobile devices too.

Use the F12 Floating Menu if you are looking for a simple, easy-to-use sticky/floating menu which allows you to give some extra benefits to customers.

= Free Features =

* <strong>Unlimited Menus</strong>
Create as many menus as you want. No limits.
* <strong>Easy sortable menu</strong>
Easily order your menu by drag and drop.
* <strong>Placement option</strong>
8 different menu positions (Left, Right, Top, Bottom, Upper Right, Lower Right, Upper Left, Lower Left)
* <strong>Show/Hide menus</strong>
Show or hide menus on specific pages.
* <strong>Menu setting</strong>
Each menu can be displayed on all pages, specified pages, or only on defined post types. It's up to you.
* <strong>Mobile configurable</strong>
Enable or disable the menu for mobile devices.
* <strong>Inbuilt menu icons</strong>
Easily pick your icons from a predefined list.
* <strong>Custom menu icons</strong>
Easily upload your custom icons for your menus.
* <strong>Easy to use</strong>
Anyone can use it.
* <strong>Customizable</strong>
Customize the layout via settings or use your own css and php.
* <strong>Translation Ready</strong>
Use LocoTranslate or WPML to translate the menu.
* <strong>Social Sharing</strong>
Predefined Social Sharing Links allow you to build your Menus by one click.

=== Installation ===
1. Upload the plugin to the "/wp-content/plugins/" directory.
1. Activate the plugin through the "Plugins" menu in WordPress.

If you have any further questions do not hesitate to ask.

== Third-Party Libraries ==

This plugin bundles the following third-party assets. All are GPL-compatible:

* Font Awesome Free (icons & webfonts) — Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT. https://fontawesome.com/
* Select2 — MIT License. https://select2.org/

== Changelog ==

= 1.4.2 =
* Security: Hardened the page-search AJAX endpoint with prepared statements and capability checks.
* Fix: Unified the translation text domain to "f12-floating-menu" so language files load correctly.
* New: Added activation/deactivation hooks and a full uninstall cleanup routine.

= 1.4.1 =
* New: Language selector — restrict a floating menu to a specific WPML language directly in the menu settings.
* New: Status page with environment info, WPML diagnostics, and menu health checks.

= 1.4.0 =
* New: WPML compatibility — floating menus can now be translated per language.
* New: Menu item labels and titles are registered as individual WPML strings for translation.
* New: Page visibility now supports translated pages automatically.
* New: Added load_plugin_textdomain() for .po/.mo translation file support.
* New: Added wpml-config.xml for WPML integration.
* New: Custom post type labels now use "Menu" instead of "Post" (Add Menu, Edit Menu, etc.).
* Improved: Admin UI with section headings (Visibility, Position & Responsive, Appearance, Animations & Display).
* Improved: Better input focus states, hover effects, and visual separation between options.
* Improved: Menu item tabs with hover and active state styling.
* Improved: Social share buttons with hover effect.
* Improved: Responsive layout for smaller screens.
* New: Modern React-based admin dashboard with drag-and-drop menu editor.
* New: REST API (f12-floating-menu/v1) for menu CRUD, settings, page search, and post types.
* New: Dashboard page with menu overview, stats, and quick actions.
* Fix: get_posts() now respects language filters when WPML is active.

= 1.3.4 =
* Fix: Removed "Add Link" Control from Customizer to fix a issue causing the links to be overwritten.

= 1.3.1 =
* Fix: Added missing files.

= 1.3 =
* New: Create Menus directly within the customizer and see your changes live.
* Fix: Fixed a bug causing a limitation on menus visible.

= 1.2.94 =
* Fix: Fixed a display issue not showing specific pages as selected within the input field.

= 1.2.93 =
* Fix: Performance optimizing. Reducing Javascript and CSS requests.

= 1.2.92 =
* Fix: WordPress 6.0 compatibility

= 1.2.91 =
* Fix: Attachment fixed
* New: Added the option to add a custom url as image

= 1.2.9 =
* Fix: Syntax error fixed on activation.

= 1.2.8 =
* Fix: Custom Images not working caused by the font awesome icon set.

= 1.2.7 =
* Fix: Disabled button animation for mobil view.
* Fix: Noopener & Noreferrer fixed

= 1.2.6 =
* Fix: Mobile view optimized - Fixed an issue not showing the mobile buttons
* Fix: Fixed a problem loading the admin-style.css in the wp dashboard.

= 1.2.5 =
* Fix: Fixed Toggle compatibility.

= 1.2.4 =
* Fix: Fixed Version

= 1.2.3 =
* Fix: Toggle.js fixed class.

= 1.2.2 =
* Fix: Toggle.js replaced replaceAll with a regex replace.

= 1.2.1 =
* Fix: JS Fix for Toggle Buttons implemented.
* Fix: Specific Pages not looking for the keyword.

= 1.2 =
* Update: Updated core structure
* Fix: Fixed calculation for some special positions
* New: Added 4 new positions (corner of the screen) as posibile solution.
* New: Added support option creating a backlink as no script. can be disabled within the settings of the plugin. default is enabled.
* Update: Added css to automatically move the floating menu to the bottom of the screen on mobile devices.

= 1.1.1 =
* Version 5.9 compatibility

= 1.1 =
* Added options to define to display the floating menu everywhere, for custom post types or on specific pages.
* Added options to hide / display the floating menu on desktop, tablet or mobile devices.

= 1.0 =
* Initial commit