Bakery Theme Footer
-
I want to take out the “proudly powered by wordpress” the only way i found out was to remove <?php get_footer(); ?> but doing that ruins a couple of plugin i have. this is my footer.php:
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package SKT Bakery
*/
?>
<footer id=”footer”>
<div class=”site-aligner”>
<div class=”widget-column”>
<div class=”cols”><h2><?php echo get_theme_mod(‘contact_title’,__(‘Our Location’,’skt_bakery’)); ?></h2>
<?php if( get_theme_mod(‘contact_desc’) ) { ?>
<p><?php echo get_theme_mod(‘contact_desc’,__(‘Lorem Ipsum is simply dummy text of the printing and typesetting industry.’,’skt_bakery’)); ?></p>
<?php } ?>
<div class=”spacer40″></div>
<?php if( get_theme_mod(‘contact_no’)){ ?>
<div class=”foot-label”><?php _e(‘Call for Reservation : ‘,’skt_bakery’); ?></div><div class=”add-content”><?php echo get_theme_mod(‘contact_no’,__(‘+9876543210′,’skt_bakery’)); ?></div><div class=”clear”></div>
<?php } ?>
<?php if( get_theme_mod(‘contact_mail’)){ ?>
<div class=”foot-label”><?php _e(‘E-mail : ‘,’skt_bakery’); ?></div><div class=”mail-content”>“><?php echo get_theme_mod(‘contact_mail’,’[email protected]’); ?></div><!– mail-content –><div class=”clear”></div>
<?php } ?>
<div class=”clear”></div>
<div class=”social”>
<?php if ( get_theme_mod(‘fb_link’) != “”) { ?>
” title=”Facebook” ><div class=”fb icon”></div>
<?php } ?>
<?php if ( get_theme_mod(‘twitt_link’) != “”) { ?>
” title=”Twitter” ><div class=”twitt icon”></div>
<?php } ?>
<?php if ( get_theme_mod(‘gplus_link’) != “”) { ?>
” title=”Google Plus” ><div class=”gplus icon”></div>
<?php } ?>
<?php if ( get_theme_mod(‘linked_link’) != “”) { ?>
” title=”Linkedin” ><div class=”linkedin icon”></div>
<?php } ?></div>
</div><!– cols –>
</div><!– widget-column –>
<div class=”widget-column”>
<div class=”cols”><h2><?php _e(‘Our Menu’,’skt_bakery’); ?></h2>
<?php wp_nav_menu(array(‘theme_location’ => ‘primary’)); ?>
</div><!– cols –>
</div><!– widget-column –>
<div class=”widget-column”>
<div class=”cols”><h2><?php _e(‘Latest Posts’,’skt_bakery’); ?></h2>
<?php $args = array( ‘posts_per_page’ => 6, ‘post__not_in’ => get_option(‘sticky_posts’), ‘orderby’ => ‘date’, ‘order’ => ‘desc’ );
query_posts( $args ); ?>
<ul class=”recent-post”>
<?php query_posts(‘post_type=post&posts_per_page=3’); ?>
<?php if ( have_posts() ) : ?>
<?php while( have_posts() ) : the_post(); ?>- “><?php the_post_thumbnail(array(59,51)); ?><?php the_title();?><br/><?php echo skt_bakery_content(10); ?>
- /images/creamy-cake.jpg”>Lorem ipsum dolor sit amet<br><p>Sed nec pellentesque lacus. Aliqu aliquet leo eget metus</p>
- /images/nws1.jpg”>Lorem ipsum dolor sit amet<br><p>Sed nec pellentesque lacus. Aliqu aliquet leo eget metus</p>
- /images/nws3.jpg”>Lorem ipsum dolor sit amet<br><p>Sed nec pellentesque lacus. Aliqu aliquet leo eget metus</p>
<?php endwhile; ?>
<?php else : ?><?php endif; ?>
</div><!– cols –>
</div><!– widget-column –>
<div class=”widget-column last”>
<?php if(!dynamic_sidebar(‘twitter-wid’)) : ?>
<div class=”cols”><h2><?php _e(‘Twitter Feed’,’skt_bakery’); ?></h2>
<p><?php _e(‘Use twitter widget for twitter feed.’,’skt_bakery’); ?></p>
</div><!– cols –>
<?php endif; ?>
</div><!– widget-column –><div class=”clear”></div>
</div><!– site-aligner –>
</footer>
<div id=”copyright”>
<div class=”site-aligner”>
<div class=”right”><?php echo skt_bakery_by(); ?></div>
<div class=”clear”></div>
</div>
</div><!– copyright –>
</div><!– wrapper –>
<?php wp_footer(); ?>
</body>
</html>
- The topic ‘Bakery Theme Footer’ is closed to new replies.