Support » Plugins » Widgetize Theme

  • Hello I have a theme I love the visual look of, I’ve made some modifications.

    I want to widgetize my theme. I’m using 2.2. I tried making recommended changes to the sidebar as suggested on, but no dice.

    Can someone help please?

    I will post my sidebar text in below. Thank you for any help.

    <div id="menu">
    <?php /*********************************
     if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar() ) : ?>
    <li><h2 class="sidebar">Titel</h2>
    <?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();} ?>
Viewing 4 replies - 1 through 4 (of 4 total)
  • 1. Learn how to post code…
    2. Duplicate post:
    3. You probably didn’t read carefully the article about widgetizing. (it has been given you several times in other threads)
    4. In your code above the only “widget-like” portion is the Titel. Nothing else. If that’s waht you want, then it’s fine.


    1. Had you given even a modicum of thought to your irritable message before posting, it might have occurred to you that the reason I made several posts on this topic, each well-intentioned and politely stated, is that I have not resolved my issue. Are you incapable of this kind of inference (your post is poorly written and contains several spelling errors), or just lazy about thinking it through?

    2. I read the automattic article on the issue several times, and experimented for some time with modifications to my sidebar code. Web articles like this (again, I am speaking here to an intelligence that may well be beyond you), though very helpful as starting points, are by nature generalized, and cannot speak to every issue a layperson will encounter. Hence, moshu- web forums. And web moderators.

    Incidentally, I clicked a single post of yours at random, and you had a similarly prissy, critical message for the person who posted that thread. You will likely say you are trying to moderate and keep the forum on track, but that is a deception, one you first had to get over on yourself. Elitism and negativity are simply not helpful. Ever.

    Finally, I would like to publicly express my gratitude for all the people who have helped me in web forums in the past. They are a wonderful way for people to connect with and help other people, and create good karma. Thank you!

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    After a bit of searching, I figured out that you’re using the Sirius theme. I’m looking at it now.

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    I think these are correct (have not tested them):

    The sidebar.php should look like this:

    The functions.php should look like this:

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Widgetize Theme’ is closed to new replies.