Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use the hybrid_footer_content() function

Hybrid Core 1.4 introduces the hybrid_footer_content() function to
output the footer content.

The unnecessary wrapper div .wrap has been removed
  • Loading branch information...
commit 737daa01d464fc238876c1f36a8481c2beff2857 1 parent 65ee6ec
@jayj authored
Showing with 6 additions and 9 deletions.
  1. +3 −5 footer.php
  2. +3 −4 style.dev.css
View
8 footer.php
@@ -30,9 +30,9 @@
<?php do_atomic( 'open_footer' ); // cakifo_open_footer ?>
- <div class="wrap clearfix">
-
- <?php echo apply_atomic_shortcode( 'footer_content', '<div class="footer-content">'. hybrid_get_setting( 'footer_insert' ) . '</div>' ); ?>
+ <div class="footer-content">
+ <?php hybrid_footer_content(); ?>
+ </div> <!-- .footer-content -->
<?php do_atomic( 'footer' ); // cakifo_footer ?>
@@ -44,8 +44,6 @@
get_sidebar( 'subsidiary' );
?>
- </div> <!-- .wrap -->
-
<?php do_atomic( 'close_footer' ); // cakifo_close_footer ?>
</footer> <!-- #footer -->
View
7 style.dev.css
@@ -2268,11 +2268,11 @@ img.alignright {
text-shadow: 1px 1px 0 #fff;
}
-#footer .wrap {
- margin: 10px 0 0;
+/* Footer text */
+#footer .footer-content {
+ margin-top: 10px;
}
-/* Footer text */
#footer .copyright,
#footer .credit {
width: 50%;
@@ -2291,7 +2291,6 @@ img.alignright {
/* Footer sidebar */
#sidebar-subsidiary {
clear: both;
- padding-top: 20px;
}
/* Two Footer Widget Areas */
Please sign in to comment.
Something went wrong with that request. Please try again.