,

DX Plugin Base v.1.1 released

I’ve released a major update of my DX Plugin Base plugin which servers as a skeleton for WordPress plugin creation. Some of the old code has been refactored and simplified and a few new features have been added as well.

Currently the list of code snippets working and included in the sample plugin base is:

  • custom post types and taxonomies setup
  • sample admin menu and subpage
  • example of the Settings API in the admin pages – creating 2 options with a validation hooked function for further use
  • registration of activate/deactivate hooks
  • adding 2 metaboxes on pages – on the right and at the bottom
  • demo of an example shortcode (try it yourself in a page)
  • sample widget with an active admin form
  • frontend styles/scripts enqueue ‘the right way’
  • enqueue admin styles/scripts ‘the right way’
  • defining several common constants for paths and versions

Feel free to use the plugin for educational purposes and spread it around. I will continue to add more valuable snippets proving a working samples of the WordPress API on the way.


Mario Peshev is a 5x CEO and operator, founder of DevriX and Growth Shuttle, global value creation advisor, angel investor, and author of “MBA Disrupted.”

His original background in engineering rode the wave of IT entrepreneurship in the last 25 years, from product and service entrepreneurship through acquiring and selling businesses, to investing in global startups like beehiiv, doola, the Stacked Marketer, Alcatraz, SeedBlink.

Peshev spent over 10,000 hours in consulting and training contracts for mid-market and enterprise organizations like VMware, SAP, Software AG, CERN, Saudi Aramco since 2006. His books and guides are referenced in over 50 universities in North America, Europe, and Asia.


Follow Mario on social:

Latest Editions:

Latest Answers: