amarinediary / WordPress-simple-URL-based-breadcrumb

🍞 A non-invasive WordPress unofficial plugin, minimalist and SEO friendly. both lightweight and lightning fast, adding URL based breadcrumb support. Plug-and-play, with no required configuration.
https://stackoverflow.com/a/67453887/3645650
Creative Commons Zero v1.0 Universal
27 stars 5 forks source link

Code refactoring #15

Closed amarinediary closed 1 year ago

amarinediary commented 1 year ago

With 2023 and all those Ai tools, someone should consider running my code through ChatGPT (or any other tool) to do some :

mattmacneil commented 1 year ago

I use this plugin here and there and it's been a big help to me. Every other solution is either underdeveloped and just spits out a list of parent pages until there aren't any more (which I'd rather just write myself), or super bloated for what is a relatively simple ask. This plugin is right in the sweet spot between the two poles.

The point is, I appreciate your work and I'd like to help. Subscribing to this - let me know if you still plan on doing any work here, I'd lend a hand when possible (with an AI tool or without).

I think there might be some native breadcrumb support in an upcoming WP release that might make this redundant? But until then I presume this repo will be one of the first things people find via your SO answer when Googling "wordpress breadcrumbs" so definitely worth keeping in good shape. Not that it's in bad shape right now lol but you know what I mean.

amarinediary commented 1 year ago

@mattmacneil First of all, thank you for the kind words. I've taken some distance with WordPress nowadays so improvements are not happening that often. The project is open source, feel free to make it your own. I've just released a 1.2.4. Some improvements have been made but nothing ground breaking. 1.2.4 has been released has a pre-release, I didn't had time to test it live. Feel free to do so, and don't hesitate to pull and ask for merge if you can make valuable improvements.

amarinediary commented 1 year ago

1.2.4

1.2.4 brings further improvements conditional logic based on the PHP version and further improvements. 1.2.4 hasn't been through any testing. Feedback for 1.2.4 is apreciated and more than welcome.

1.2.3 remains the current most stable version.