• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Chrispian H. Burks

coder. maker. writer. photographer.

  • Home
  • Dreams
  • Dev Links
  • About Me
  • Contact

Draft Post Disclaimer Plugin

Published on: May 29, 2020

My co-worker and friend Sal Ferrarello was telling us in one of our weekly scrums that he uses a draft category to post stuff that might not be quite ready for prime time. This gets the content out faster and its searchable but he added some code to display a disclaimer on those posts to warn people. Here is an example of one posted up here on Chrispian.com.

I’ve been wanting to explore more OOP work in regards to WordPress and I also wanted to play around with the Options / Settings API to create an options page. So I took Sal’s idea and whipped up a quick plugin to explore these concepts. This is a first version and if you have any suggestions / feedback I’d love to hear it.

One bug I know of right off is a deprecated warning about calling a static method. I can already see areas to improve this and that’s the whole point. Here’s the link to the repo. I’ll probably put this one up on .org once it’s been tweaked a bit more.

https://github.com/chrispian/draft-post-disclaimer

Filed Under: Dev, Plugins, WordPress

About Chrispian

My name is Chrispian and I like to make things. I'm a web developer and have been working in the computer / internet field for almost 26 years now. I also draw, write, make things, take pictures and love figuring stuff out. Read More

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

My name is Chrispian and I like to make things. I'm a web developer and have been working in the computer / internet field for almost 26 years now. I also draw, write, make things, take pictures and love figuring stuff out. Read More

Let’s Connect

  • Facebook
  • GitHub
  • Instagram
  • LinkedIn
  • Twitter

Copyright © 2023 · Groovy 1976 Theme by Chrispian H. Burks · Built using Genesis Framework & WordPress Log in