Community Forums › Forums › Design Tips and Tricks › Expose Footer Code Not Working
This topic contains 10 replies, has 4 voices, and was last updated by h2ofilters 3 months, 1 week ago.
-
AuthorPosts
-
February 7, 2013 at 9:12 pm #18838
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; ?>February 7, 2013 at 10:19 pm #18858What is the URL to your website? Where did you copy the code from?
Need customization services or other help? Visit me here: Cre8tiveDiva.com | Twitter: @thecre8tivediva
Why Not Take The Challenge! – Help us answer some of the unanswered postsFebruary 8, 2013 at 9:10 am #18928URL 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/
February 8, 2013 at 8:49 pm #19143I 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?
February 16, 2013 at 3:04 pm #20717Still need help on this posting.
February 17, 2013 at 4:10 pm #20892looks 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
February 17, 2013 at 4:22 pm #20895@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.
Need customization services or other help? Visit me here: Cre8tiveDiva.com | Twitter: @thecre8tivediva
Why Not Take The Challenge! – Help us answer some of the unanswered postsFebruary 17, 2013 at 5:05 pm #20897@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.
February 17, 2013 at 5:09 pm #20898One more thing, the widgets are there but they are not showing up. I am thinking if I need an accompanied stylesheet with the widgets.
March 8, 2013 at 7:36 pm #25116Hi, 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/ )
March 8, 2013 at 11:17 pm #25153For 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.
-
AuthorPosts
You must be logged in to reply to this topic.