Change footer text to center of footer
-
Hi Guys.
How do i change my footer TEXT to the center/middle of footer?
My Footer.php code:<?php if( is_front_page() || is_page_template( ‘template-landing-page.php’ ) || ( is_home() && ! is_paged() ) ) : ?>
<?php get_sidebar( ‘footer-wide’ ); ?>
<?php endif; ?>
<div id=”footer”>
<?php get_sidebar( ‘footer’ ); ?>
<div id=”copyright”>
<p class=”copyright twocol”><?php pinboard_copyright_notice(); ?></p>
<?php if( pinboard_get_option( ‘theme_credit_link’ ) || pinboard_get_option( ‘author_credit_link’ ) || pinboard_get_option( ‘wordpress_credit_link’ ) ) : ?>
<p class=”credits twocol”>
<?php $theme_credit_link = ‘‘ . __( ‘Pinboard Theme’, ‘pinboard’ ) . ‘‘; ?>
<?php $author_credit_link = ‘‘ . __( ‘One Designs’, ‘pinboard’ ) . ‘‘; ?>
<?php $wordpress_credit_link = ‘‘ . __( ‘WordPress’, ‘pinboard’ ) . ‘‘;; ?>
<?php if( pinboard_get_option( ‘theme_credit_link’ ) && pinboard_get_option( ‘author_credit_link’ ) && pinboard_get_option( ‘wordpress_credit_link’ ) ) : ?>
<?php echo sprintf( __( ‘Powered by %1$s by %2$s and %3$s’, ‘pinboard’ ), $theme_credit_link, $author_credit_link, $wordpress_credit_link ); ?>
<?php elseif( pinboard_get_option( ‘theme_credit_link’ ) && pinboard_get_option( ‘author_credit_link’ ) && ! pinboard_get_option( ‘wordpress_credit_link’ ) ) : ?>
<?php echo sprintf( __( ‘Powered by %1$s by %2$s’, ‘pinboard’ ), $theme_credit_link, $author_credit_link ); ?>
<?php elseif( pinboard_get_option( ‘theme_credit_link’ ) && ! pinboard_get_option( ‘author_credit_link’ ) && pinboard_get_option( ‘wordpress_credit_link’ ) ) : ?>
<?php echo sprintf( __( ‘Powered by %1$s and %2$s’, ‘pinboard’ ), $theme_credit_link, $wordpress_credit_link ); ?>
<?php elseif( ! pinboard_get_option( ‘theme_credit_link’ ) && pinboard_get_option( ‘author_credit_link’ ) && pinboard_get_option( ‘wordpress_credit_link’ ) ) : ?>
<?php echo sprintf( __( ‘Powered by %1$s and %2$s’, ‘pinboard’ ), $author_credit_link, $wordpress_credit_link ); ?>
<?php elseif( pinboard_get_option( ‘theme_credit_link’ ) && ! pinboard_get_option( ‘author_credit_link’ ) && ! pinboard_get_option( ‘wordpress_credit_link’ ) ) : ?>
<?php echo sprintf( __( ‘Powered by %1$s’, ‘pinboard’ ), $theme_credit_link ); ?>
<?php elseif( ! pinboard_get_option( ‘theme_credit_link’ ) && pinboard_get_option( ‘author_credit_link’ ) && ! pinboard_get_option( ‘wordpress_credit_link’ ) ) : ?>
<?php echo sprintf( __( ‘Powered by %1$s’, ‘pinboard’ ), $author_credit_link ); ?>
<?php elseif( ! pinboard_get_option( ‘theme_credit_link’ ) && ! pinboard_get_option( ‘author_credit_link’ ) && pinboard_get_option( ‘wordpress_credit_link’ ) ) : ?>
<?php echo sprintf( __( ‘Powered by %1$s’, ‘pinboard’ ), $wordpress_credit_link ); ?>
<?php endif; ?>
</p>
<?php endif; ?>
<div class=”clear”></div>
</div><!– #copyright –>
</div><!– #footer –>
</div><!– #wrapper –>
<?php wp_footer(); ?>
</body>
</html>Hope i can get the help i need, thanks.
- The topic ‘Change footer text to center of footer’ is closed to new replies.