Widgets in WordPress 2.2
-
Hi. I upgraded to 2.2 this Sunday. I have a question about Widgets. My theme, which is the Sirius theme with some modifications and I really like it, did not allow Widgets.
Is it true that WordPress 2.2 is Widget compatible, no matter what theme you have?
I have been studying about how to Widgetize my theme via modifications to my the ul section in my sidebar, but I’m not sure if this is relevant with 2.2.
Thank you for any help.
P.S. I am posting my modified sidebar code below. Did i do it right?
<div id=”menu”>
<?php /*********************************
-
<?php if ( !function_exists(‘dynamic_sidebar’)
- <h2 class=”sidebar”>Titel</h2>
|| !dynamic_sidebar() ) : ?>- Inhalt
<?php endif; ?>
************************************** /?>
<?php /* — Blogbeschreibung — */
if (function_exists(‘sirius_blogbeschreibunganzeige’)) { sirius_blogbeschreibunganzeige();} ?><?php /* — Kalender — */
if (function_exists(‘sirius_kalender’)) { sirius_kalender();} ?><?php /* — Kategorien — */
if (function_exists(‘sirius_kategorien’)) { sirius_kategorien();} ?><?php /* — Suche — */
if (function_exists(‘sirius_suche’)) { sirius_suche();} ?><?php /* — Letze Kommentare — */
if (function_exists(‘sirius_kommentare’)) { sirius_kommentare();} ?><?php /* — Seiten — */
if (function_exists(‘sirius_seiten’)) { sirius_seiten();} ?><?php /* — Blogroll — */
if (function_exists(‘sirius_blogroll’)) { sirius_blogroll();} ?><?php /* — Archiv — */
if (function_exists(‘sirius_archiv’)) { sirius_archiv();} ?><?php /* — Feeds — */
if (function_exists(‘sirius_feeds’)) { sirius_feeds();} ?><?php /* — Meta — */
if (function_exists(‘sirius_meta’)) { sirius_meta();} ?></div>
- The topic ‘Widgets in WordPress 2.2’ is closed to new replies.