Dev Code Branch for Adding Button to Posts
-
Hi Team Ko-fi,
I had the same idea as @randgrid. So, I’d like to pitch my code changes to you.
I created a dev branch in GitHub of your awesome plugin.
https://github.com/marklchaves/cuyohoga/tree/master/ko-fi-button
Here’s a summary of what I’d like to merge into your main branch.
Summary of Changes
1. Added an “Add to Posts” feature on the admin settings page.
2. UpdatedKo_fi.php
andDefault_ko_fi_options.php
to support the new “Add to Post” feature.
3. Added WordPress _filter_ in Ko_fi.php to append a pretty linkbox for the Ko-fi button that contains the title, description, and Ko-fi code from the settings page.
4. Fixed some typos and changedhttp
tohttps
throughout.Screen Grabs
Note: All dev was done using Local by Flywheel on PHP 7.3.2 and WordPress 5.3. I’d be happy to test/tweak to certify your plugin for 5.3. And, update your README of course.
Thanks for your time ??
- The topic ‘Dev Code Branch for Adding Button to Posts’ is closed to new replies.