Alter WordPress sql tables: add a new column This code can be used during plugin activation. It first gets the results if that...
Display page list when no menu is assigned Use this function to automatically add wp_list_pages to an empty menu location. You only need...
Programmatically add widgets to sidebars Build a theme and programatically and auto-set widgets to your defined sidebars. Your users get...
Create menu and fill with links programatically create a navigation menu and pre add custom links with this WordPress code snippet....
Change default theme for multisites When you create a new site in WordPress multisite it will automatically assign a theme...
Adjust settings on theme activation This function changes a few default options on theme activation and deletes the demo posts...