85°F

Aaron Parecki

  • Articles
  • Notes
  • Photos
  • https://github.com/indieweb/wordpress-indieauth

    Allow the user to set a default category for posts created by the application

    April 4, 2018

    A common feature request I hear from people using Wordpress with Micropub apps all the time is they want certain apps posts to appear in certain wordpress categories by default. For example, all posts from OwnYourGram should be added to the "Photos" category, all posts from OwnYourSwarm should be added to the "Checkins" category, but posts from Quill or Micro.blog should be "Uncategorized" or set to "Microblog". With the built-in authorization server, there is a great opportunity to have the wordpress plugin handle this now. It will take coordination with the Micropub plugin as well.

    screenshot 2018-04-04 13 14 34

    If the create scope is requested, then the authorization screen can provide an additional field for the user to select the default category for posts created by that application.

    When the token is generated, the category ID can be stored in the database along with how it stores the token scope and all the other token info. Then the Micropub plugin can look at the token and if there is a category ID in the token, use that when creating the post.

    Saving the value from this select box will be easier once #24 is fixed.

    Portland, Oregon • 54°F
    Wed, Apr 4, 2018 1:17pm -07:00 #wordpress
Posted in /replies using quill.p3k.io

Hi, I'm Aaron Parecki, Director of Identity Standards at Okta, and co-founder of IndieWebCamp. I maintain oauth.net, write and consult about OAuth, and participate in the OAuth Working Group at the IETF. I also help people learn about video production and livestreaming. (detailed bio)

I've been tracking my location since 2008 and I wrote 100 songs in 100 days. I've spoken at conferences around the world about owning your data, OAuth, quantified self, and explained why R is a vowel. Read more.

  • Director of Identity Standards at Okta
  • IndieWebCamp Founder
  • OAuth WG Editor
  • OpenID Board Member

  • 🎥 YouTube Tutorials and Reviews
  • 🏠 We're building a triplex!
  • ⭐️ Life Stack
  • ⚙️ Home Automation
  • All
  • Articles
  • Bookmarks
  • Notes
  • Photos
  • Replies
  • Reviews
  • Trips
  • Videos
  • Contact
© 1999-2025 by Aaron Parecki. Powered by p3k. This site supports Webmention.
Except where otherwise noted, text content on this site is licensed under a Creative Commons Attribution 3.0 License.
IndieWebCamp Microformats Webmention W3C HTML5 Creative Commons
WeChat ID
aaronpk_tv