How to display widgets inside a page content without a plugin?

In order to register dynamic zones, you can follow theses steps :

  • Create a template for your home page
  • Assign that template to a page
  • Define that page as the Home page in Settings->reading
  • Register sidebar in your functions.php by using this function
  • Call the sidebar in your home template

In order to call your sidebar, use dynamic_sidebar. So if you named your sidebar with the id “home-sidebar-1”, you can call it this way :

<?php dynamic_sidebar('home-sidebar-1') ?>

You can add as many sidebar as you have declared in your functions.php