Widgetising a theme
-
My theme doesn’t support sidebar widgets, and I’ve widgetised it using the help on the Automattic site.
Now I can use my Dashboard to go to the Sidebar Widgets section, which shows the box ready for me to drag widgets to. But my current sidebar (which is created in the index.php file) already has items in that I want to keep – for example the calendar, links that I’ve updated, feeds and MyBlogLog stuff.
Do I need to move the entries from my index.php into a sidebar.php (my theme didn’t have one of those, either), so the sidebar is loaded from the sidebar file rather than being embedded in the index.php? If so, how do I tell the index.php to load the sidebar.php?
TIA
Sorry for these questions – my php is almost non-existent, I’m only used to plain HTML and CSS. ??
- The topic ‘Widgetising a theme’ is closed to new replies.