Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php /** * The template for displaying the footer. * * Closes the
- for #content, #content-main and #container, and tags. * * @package Graphene * @since Graphene 1.0 */ global $graphene_settings; ?> <?php do_action( 'graphene_bottom_content' ); ?>
- <?php /* Sidebar 2 on the right side? */ if ( graphene_column_mode() == 'three_col_left' ){ get_sidebar( 'two' ); } /* Sidebar 1 on the right side? */ if ( in_array( graphene_column_mode(), array( 'two_col_left', 'three_col_left', 'three_col_center' ) ) ){ get_sidebar(); } ?> <?php do_action( 'graphene_after_content' ); ?> <?php /* Get the footer widget area */ ?> <?php get_template_part('sidebar', 'footer'); ?> <?php do_action('graphene_before_footer'); ?>
- <?php if ( ! $graphene_settings['hide_copyright'] ) : ?>
- <?php _e('Copyright', 'graphene'); ?>
- <?php if ( $graphene_settings['copy_text'] == '' && ! $graphene_settings['show_cc'] ) : ?>
- <?php printf( '© %1$s %2$s.', date( 'Y' ), get_bloginfo( 'name' ) ); ?>
- <?php elseif ( ! $graphene_settings['show_cc'] ) : ?> <?php if ( ! stristr( $graphene_settings['copy_text'], '
- ' ) ) { $graphene_settings['copy_text'] = wpautop( $graphene_settings['copy_text'] ); } echo $graphene_settings['copy_text']; ?> <?php endif; ?> <?php if ( $graphene_settings['show_cc'] ) : ?> <?php /* translators: %s will replaced by a link to the Creative Commons licence page, with "Creative Commons Licence" as the link text. */?>
- <?php printf( __( 'Except where otherwise noted, content on this site is licensed under a %s.', 'graphene' ), '' . __( 'Creative Commons Licence', 'graphene' ) . '' ); ?>
- <?php _e( 'Creative Commons Licence BY-NC-ND', 'graphene' ); ?>
- <?php endif; ?> <?php do_action('graphene_copyright'); ?>
- <?php endif; ?> <?php if ( has_nav_menu( 'footer-menu' ) || ! $graphene_settings['hide_return_top'] ) : ?>
- <?php /* Footer menu */ $args = array( 'container' => '', 'fallback_cb' => 'none', 'depth' => 2, 'theme_location' => 'footer-menu', 'items_wrap' => '%3$s' ); wp_nav_menu(apply_filters('graphene_footer_menu_args', $args)); ?> <?php if ( ! $graphene_settings['hide_return_top'] ) : ?>
- <?php _e('Return to top', 'graphene'); ?> <?php endif; ?>
- <?php endif; ?> <?php if ( ! $graphene_settings['disable_credit'] ) : ?>
- <?php /* translators: %1$s is the link to WordPress.org, %2$s is the theme's name */ ?> <?php printf( __('Powered by %1$s and the %2$s.', 'graphene'), 'un buen canuto', '' . __('Graphene Theme', 'graphene') . ''); ?>
- <?php do_action('graphene_developer'); ?>
- <?php endif; ?> <?php do_action('graphene_footer'); ?>
- <?php do_action('graphene_after_footer'); ?> <?php if (!get_theme_mod('background_image', false) && !get_theme_mod('background_color', false)) : ?> <?php endif; ?> <?php wp_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment