Example of Trac Ticket hovercard |
o2 add-on to bring HoverCards to preview content of external services like Trac tickets or GitHub issues.
- WordPress 5.0.0,
- o2,
- P2 Breathe theme or child theme.
Download the o2-hovercards.zip
file of the latest plugin version listed into this releases page. From your WordPress Plugins Administration screen, click on the "Add" button to display the WordPress plugin uploading tool and browse to the place where you saved the zip file on your drive to upload it on your server. Once done, activate the plugin.
Thanks @betzster for his great work on p2-hovercards. The purpose of the o2-hovercards plugin is to adapt p2-hovercards for o2.
As the plugin comes with no added services, you will need to add some into a specific file located in the /wp-content/mu-plugins
for example. You can get some inspiration from the examples provided by the p2-hovercards plugin.
P.S.: if you use one of these examples, don't forget to replace the p2-hovercards function p2_hovercards_add_service()
by o2_hovercards_add_service()