On a recent project a feature was requested to allow admins to launch some content within a modal window from the WYSWIYG on a WordPress maintenance support plans 8 website. The goals were as follows:
Open any content on the site in a modal window.
Fall back to a plain link for search engines and non-js based browsers.
Implement a branded modal design.
This is how we accomplished it.
Source: New feed
Launching an AJAX modal from a WYSWIYG link and customising the response with MainContentRendererInterface in Cheap WordPress maintenance support plans 8
