I have a theme that I would like to move stuff around (blocks) I installed the widget that I wanted to place on the front page to replace a block that I do not intend to use for anything, then I noticed, the theme does not have any type of widgets... So how do I do this? 1: I need to remove a block from home page. 2: and replace that block with the widget that i have. Thanks
Register a sidebar for each widget area that you want to create, than create a new fille called sidebar-{the-id-of-the-sidebar} in the root of your theme which will contain the sidebar code: if ( is_active_sidebar( 'sidebar-id' ) ) { // Sidebar code dynamic_sidebar('sidebar-id); } PHP: and just call it in the file that displays your homepage, (home.php, front_page.php or a custom template) like : get_sidebar('sidebar-id'); PHP:
Hi, its really a simple task. Just you need to page. One is for Home/front page & another one is for other page. Now setup both pages as your requirements. After then, you need to select template you will create the page from Dashboard. I hope now you are clear. If you have anymore query please let me know. Thanks.