• Resolved allleyG

    (@allleyg)


    okies, so this guy wants to edit his site on a daily basis.
    this is after i have already written the entire site in flash, well he changed his mind and had me rebuild the entire site in plain html and php. and i am no genius with php, but i muddle though.

    well he finally told me the other day he wants to be able to edit the site on a daily basis.

    i thought wordpress would be perfect for his needs.
    my family gets to eat if i do these for him.

    anyways. lol. enough rambling
    my problem is this

    i created the site, i created the functions.php
    the code looks like

    <?php register_sidebars(2, array('name'=>'sidebar %d')); ?>
    <?php register_sidebars(4, array('name'=>'footer %d')); ?>

    so i am thinking i have to make
    2 sidebars named sidebar-sidebar1.php and sidebar-sidebar2.php
    and 4 files
    named
    sidebar-footer1.php, sidebar-footer2.php,
    sidebar-footer3.php, sidebar-footer4.php

    so in my footer file i call for the footer side bars.

    </div></div>
    		<div id="content">
    			<div id="col_holder">
    		<?php get_sidebar('footer1'); ?>
    		<?php get_sidebar('footer2'); ?><br />
            <?php get_sidebar('footer3'); ?>
      </div>

    well, yes it opens these files, but when i go to the admin widget panel and drag and drop in a widget and save it, the widget does not show.

    here is the code i am using on the footer1.php and so one it’s pretty all much the same

    sidebar-footer3.php

    <div class="col_sm_holder last">
    			<div class="col_sm">
    
    <?php if ( !dynamic_sidebar() ) : ?>
       <li>{static sidebar item 1}</li>
       <li>{static sidebar item 2}</li>
    <?php endif; ?>
    </div>
    		        <div class="col_sm_bot"></div>
            	    </div>

    well it shows the side bar, and says
    '{static sidebar item 1}
    {static sidebar item 2}
    `

    but it wont show the widgets.

    🙁

    i am very very sad and hungry i am really really hungry.

    can someone please take the time out of your day to tell me why it’s not showing the widgets?

    thank you so very very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter allleyG

    (@allleyg)

    will give you a mental kiss or a hug for any help. thank you again!

    Thread Starter allleyG

    (@allleyg)

    omg

    okies if anyone has this problem in the future, here was the solution to this glitch, and please try not to laugh at me.

    <div class="col_sm_holder last">
    			<div class="col_sm">
    <?php if ( !dynamic_sidebar() ) : ?>
                            <li>{static sidebar item 1}</li>
                            <li>{static sidebar item 2}</li>
    <?php endif; ?>
                            </div>
    		        <div class="col_sm_bot"></div>
            	        </div>

    like i said i used the same code on each page for the side bars.

    my glitch was forgetting the number of the sidebar.lol.

    corrected code looks like

    <div class="col_sm_holder last">
    			<div class="col_sm">
    <?php if ( !dynamic_sidebar(

    1

    ) ) : ?>
                            <li>{static sidebar item 1}</li>
                            <li>{static sidebar item 2}</li>
    <?php endif; ?>
                            </div>
    		        <div class="col_sm_bot"></div>
            	        </div>

    sooooo

    in short i missed putting in a number of the side bar i wanted to use, on each side bar page. called.

    you guys are awesome

    thank you thank you!

    Thread Starter allleyG

    (@allleyg)

    problem solved!

    i can’t wait to eat!

    and you are more then welcome to join me!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘issue with multiple sidebars going bonkers, please help. thank you.’ is closed to new replies.