Note that making any changes to the core files of a theme may be erased if the theme updated. Removing sidebar widgets completely through the code If the source code is changed and the site breaks, it can be difficult to remember what change broke it, Especially if the code is deleted. Commenting the code is good because the original source code is not changed. If for whatever reason, the widget text box is not available or does not work, the code can be commented out to remove the sidebar links and widgets. Now the links and widgets will not display. Click here for information on removing and adding widgets. Removing sidebar widgets completely through the Theme editor This article will explain how to completely remove the sidebar links and widgets from the bird site theme through the Widget editor and through the Appearance editor. There are several ways the sidebar widgets can be disabled. (Not a current customer? Click here to learn more about InMotion’s WordPress Hosting platform.) This can be done through the Widgets or by editing the source code of the sidebar.php file in the WordPress Appearance editor. When working with a WordPress theme, occasionally, the webmaster may want to completely remove the sidebar links and widgets from the theme.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |