Community Forums › Forums › Archived Forums › Design Tips and Tricks › Expose Footer Code Not Working
- This topic has 11 replies, 5 voices, and was last updated 11 years, 5 months ago by gailmail.
-
AuthorPosts
-
February 7, 2013 at 9:12 pm #18838dareadelParticipant
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 #18858AnitaCKeymasterWhat is the URL to your website? Where did you copy the code from?
Need help with customization or troubleshooting? Reach out to me.
February 8, 2013 at 9:10 am #18928dareadelParticipantURL 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 #19143dareadelParticipantI noticed someone asked exactly the same question here (http://www.studiopress.community/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 #20717dareadelParticipantStill need help on this posting.
February 17, 2013 at 4:10 pm #20892charriott4Memberlooks 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 #20895AnitaCKeymaster@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 help with customization or troubleshooting? Reach out to me.
February 17, 2013 at 5:05 pm #20897dareadelParticipant@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 #20898dareadelParticipantOne 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 #25116beyondtimelessMemberHi, 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 #25153dareadelParticipantFor 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.
June 28, 2013 at 2:47 pm #48272gailmailParticipantI 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 1some 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!
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.