,

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 serial martech entrepreneur, global business advisor, angel investor, and author, famous for launching a top 20 enterprise WordPress consultancy and authoring the modern startup formation book, “MBA Disrupted.”

His digital footprint includes 25 years of creating and scaling technical solutions, building and growing digital teams, starting and growing companies from zero to seven figures, acquiring and selling assets and businesses, and investing in global startups like beehiiv, doola, the Stacked Marketer, Alcatraz, SeedBlink.

Peshev spent over 10,000 hours in consulting and training activities for organizations like VMware, SAP, Software AG, CERN, Saudi Aramco since 2006. His books and guides are references in over 30 universities in North America, Europe, and Asia.


Follow Mario on social:

Latest Editions:

Browse by Category

Latest Answers: