March 2020
Beginner
660 pages
18h 28m
English
The Available Widgets section of the Widgets menu loads all the registered widgets from the WordPress core, theme, and plugins. Once we drag and drop the widgets to a widget area, they will be automatically saved in the database. The widgets for each widget area are stored in the sidebars_widgets key of the wp_options table. The default value for the Twenty Twenty theme will look similar to the following:
a:4:{s:19:"wp_inactive_widgets";a:1:{i:0;s:10:"calendar-3";}s:9:"sidebar-1";a:3:{i:0;s:8:"search-2";i:1;s:14:"recent-posts-2";i:2;s:17:"recent-comments-2";}s:9:"sidebar-2";a:3:{i:0;s:10:"archives-2";i:1;s:12:"categories-2";i:2;s:6:"meta-2";}s:13:"array_version";i:3;}
As you can see, Twenty Twenty theme contains two sidebars ...
Read now
Unlock full access