add floater to open a modal in wordpress

PHP
Popup Maker : https://wordpress.org/plugins/popup-maker/

more reference :
https://www.maketecheasier.com/plugins-add-modal-window-wordpress/
Source

Also in PHP: