Expose Footer Code Not Working

Community Forums Forums Design Tips and Tricks Expose Footer Code Not Working

This topic is: not resolved

This topic contains 11 replies, has 5 voices, and was last updated by  gailmail 1 year, 2 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #18838

    dareadel
    Participant
    Post count: 82

    I copied and pasted the following code to the footer.php function according to instruction but it did not work. Footer did not show at the bottom of the page even though the widgets have content.

    <?php if ( is_active_sidebar(“Footer #1?) || is_active_sidebar(“Footer #2?) || is_active_sidebar(“Footer #3?) ) : ?>
    <div id=”footer-widgeted”>
    <div class=”wrap”>
    <div class=”footer-widgeted-1″>
    <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Footer #1′) ) : ?>
    <?php endif; ?>
    </div><!– end .footer-widgeted-1 –>
    <div class=”footer-widgeted-2″>
    <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Footer #2′) ) : ?>
    <?php endif; ?>
    </div><!– end .footer-widgeted-2 –>
    <div class=”footer-widgeted-3″>
    <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Footer #3′) ) : ?>
    <?php endif; ?>
    </div><!– end .footer-widgeted-3 –>
    </div><!– end .wrap –>
    </div><!– end #footer-widgeted –>
    <?php endif; ?>

    #18858

    AC
    Blocked
    Post count: 7712

    What is the URL to your website? Where did you copy the code from?

    #18928

    dareadel
    Participant
    Post count: 82

    URL is http://www.abiastateinternational.com which I am setting up using the xml file. I found the code here at http://my.studiopress.com/setup/expose-theme/

    #19143

    dareadel
    Participant
    Post count: 82

    I noticed someone asked exactly the same question here (http://www.studiopress.com/forums/topic/expose-theme-footer-widgets-not-working/ in January but doesn’t seemed to be resolved. Does anyone knows why this doesn’t work?

    #20717

    dareadel
    Participant
    Post count: 82

    Still need help on this posting.

    #20892

    charriott4
    Participant
    Post count: 60

    looks like the code is wrong. you added “Footer #1? “Footer #2? “Footer #3?              <—- remove the ? and add the ending “


    Web Designs By Chrissy | Twitter @designbychrissy

    Follow Me On Facebook

    #20895

    AC
    Blocked
    Post count: 7712

    @h2ofilters, you said you edited the footer.php. The instructions say to edit the – widgeted-footer.php – file. Locate that file and use the code there.

    #20897

    dareadel
    Participant
    Post count: 82

    @charriott4, I did remove the ?. It was an error posted from copy and paste. I noticed it but without the ? marks it did not work.

    @anitac, yes, you are right. but I had it on the right file but I mentioned home.php here in error.

    #20898

    dareadel
    Participant
    Post count: 82

    One more thing, the widgets are there but they are not showing up. I am thinking if I need an accompanied stylesheet with the widgets.

    #25116

    beyondtimeless
    Participant
    Post count: 2

    Hi, I had the same issue and found a solution. The Expose theme comes with the widgets disabled so you enable them by changing the widget numbers from 3, 4, 5 to 1, 2, 3. Then you need to register the widget by adding a filter (I found on Brian’s website). Links are below.

     

    Note: When I added mine they were not formatted even after pasting the code from Brian’s site. I disabled mine until I can deal with it but just a heads up.

    Changing numbers: (widgeted-footer.php first line) – you do not need to add anything just change the numbers

    Registering the widget: (after the above the widgets should show however they did not until I  added the code from Brian’s site to the functions.php file. http://www.briangardner.com/code/add-footer-widgets/ )

    #25153

    dareadel
    Participant
    Post count: 82

    For unknown reasons nothing works. I did exactly as you described before and I did again, yet the widgeted footer does not show. Even though the widgets are there (meaning they are properly registered) but the contents in the widgets is not showing.

    Thanks for your help.

    #48272

    gailmail
    Participant
    Post count: 5

    I don’t understand why the directions on this page are not complete and correct:

    http://my.studiopress.com/setup/expose-theme/

    I copied the replacement code (which should be written out for us not-too-techies because the way it is written it is unclear about the using the ” in it!) from another post which says it should be
    <?php if ( is_active_sidebar(“Footer #1″) || is_active_sidebar(“Footer #2″) || is_active_sidebar(“Footer #3″) ) : ?>
    <div id=”footer-widgeted”>

    Yet I get an error of Parse error: syntax error, unexpected ‘;’
    and a line at the bottom that says ….wp-content/themes/expose/footer-widgeted.php on line 1

    some posts speak of other things that are supposed to done to make this work??
    if so, can someone tell us what they are and PLEASE add to the documentation under Getting Started for the theme…..?????

    thanks!

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.