Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Settings Page #54

Open
joshuadavidnelson opened this issue Apr 14, 2022 · 5 comments
Open

Settings Page #54

joshuadavidnelson opened this issue Apr 14, 2022 · 5 comments
Assignees
Milestone

Comments

@joshuadavidnelson
Copy link
Owner

Create a Settings page, and the ability to toggle it's own visibility in the admin. Use existing filters (and possibly add new ones) to facilitate the control of specific features from the settings page.

@ethanraevan
Copy link
Collaborator

Have you found any possible setting APIs to use for the plugin? For my variant, I used this repo:

https://github.com/tareq1988/wordpress-settings-api-class

But it's been 6+ years since it has been updated. So maybe it's not the most viable one to use and stay compatible with the latest version of WordPress. With a quick search, I see there are some other alternatives worth trying out that are more up-to-date:

https://github.com/search?o=desc&q=wordpress+settings+api&s=updated&type=Repositories
https://github.com/topics/wordpress-settings-api

@joshuadavidnelson
Copy link
Owner Author

Yea, I have started building some of this out using WordPress Settings Framework, I'm hoping to get a basic settings page in the next release. I'm also mapping out the Disable Blogging features towards the goal of providing a migration path for users to Disable Blog. More on that soon, I hope!

@joshuadavidnelson
Copy link
Owner Author

Some follow up on this project: I've put together a proof of concept for a Settings page using a slightly modified version of the WordPress Settings Framework, in the feature/settings-page branch.

I'm still working on this but have made good headway in this first push. Here's my task list from here:

  • Refactor code to follow settings structure (e.g. "disable blog" functionality grouped separately from "disable author archives" etc).
  • Add relevant links in settings strings (e.g. link to "Settings > Reading").
  • Test in Multisite environment and WP versions supported.
  • Add logic to disable settings fields if filters are being used to override them, throw a notice on the settings page.
  • Add simplified method for users to filter settings.
  • Move "blog" submenu item up to below "General" in settings page.
  • Roadmap future settings for core filters.
  • Add translators: to all strings.
  • Update Readme docs:
    • Remove the long list and replace with more concise language about functionality.
    • New settings page screenshots.
    • Expand FAQ.
    • Provide documentation for update.

I'm aiming for this to be done as part of the v0.6.0 and mapping out the roadmap for 0.7.0 being the release fully supporting Disable Blogging features. I've expanded the milestones as a rough roadmap between here an a v1.0.0.

@ethanraevan
Copy link
Collaborator

That's great @joshuadavidnelson, lemme know if there's a way I can help with testing.

@joshuadavidnelson
Copy link
Owner Author

joshuadavidnelson commented Sep 22, 2022

@ethanosullivan Thanks! I'll reach out once it's ready. I would love review/input before finalizing the release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants