Adicionar um get_option ao footer.php
-
Senhores,
Acessar o endereço http://www.intelligentrealestatesolutions.com/ é possível ver o footer.php com o copyright (Copyright © 2011 – Intelligent Real Estate Solutions for Brazil), após esta informação do copyright eu quero venha o titulo da minha página, exemplo, em http://www.intelligentrealestatesolutions.com/brazil-real-estate-services/ aparece na direita superior o titulo “Brazil Real Estate Services”, quero que isto apareça após o copyright, já tentei incluir o wp_title, mas não consegui.
Segue código.
<?php if (get_option('wp_showfooter') == 'show') { ?> <div id="footer"> <div class="inner"> <?php include 'includes/variables.php' ?> <div class="footerblock"> <div class="inner"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer 1') ) { ?> <?php } ?> </div> </div> <div class="footerblock"> <div class="inner"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer 2') ) { ?> <?php } ?> </div> </div> <div class="footerblock"> <div class="inner"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer 3') ) { ?> <?php } ?> </div> </div> <div class="footerblock last"> <div class="inner"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer 4') ) { ?> <?php } ?> <?php if(get_option('wp_showsociallinks1') == "show") { include 'includes/sociallinks_footer.php'; } ?> </div> </div> </div><!-- end inner --> </div><!-- end footer --> <?php } ?> <?php if(get_option('wp_showfooter') == 'hide') { $class="belowfootermargin"; } ?> <div id="belowfooter" class="<?php echo $class ?>"> <strong><p id="copyright"><?php echo stripslashes(get_option('wp_copyright')) ?></p></strong> <?php wp_nav_menu( array('theme_location' => 'footer', 'container' => 'div', 'sort_column' => 'menu_order', 'menu_id' => 'footermenu' ) ); ?> </div> <?php wp_footer(); ?> <?php echo stripslashes(get_option('wp_ga_code')) ?> <?php if (get_option('wp_includebrowseby') == "Yes") { ?> <ul style="display: none;"> <li id="browseby"><a href="#"><?php echo get_option('wp_browseby_text') ?></a> <ul> <?php if (get_option('wp_includealllistings') == "Yes") { ?> <li><a href="<?php bloginfo('url'); ?>/?alllistings=true&page_id=<?php echo $wp_searchpageid; ?>"><?php echo get_option('wp_alllistings_text') ?></a></li> <?php } ?> <?php if (get_option('wp_includefeatures') == "Yes") { ?> <li><a href="#"><?php echo get_option('wp_features_text') ?></a><?php wp_tag_cloud('format=list&taxonomy=property_features') ?></li> <?php } ?> <?php if (get_option('wp_includepropertytype') == "Yes") { ?> <li><a href="#"><?php echo get_option('wp_propertytype_text2') ?></a><?php wp_tag_cloud('format=list&taxonomy=property_type') ?></li> <?php } ?> <?php if (get_option('wp_includelocation') == "Yes") { ?> <li><a href="#"><?php echo get_option('wp_location_text2') ?></a><?php wp_tag_cloud('format=list&taxonomy=property_location') ?></li> <?php } ?> <?php if (get_option('wp_includepricerange') == "Yes") { ?> <li><a href="#"><?php echo get_option('wp_pricerange_text') ?></a><?php wp_tag_cloud('format=list&taxonomy=property_pricerange')?></li> <?php } ?> <?php if (get_option('wp_includerentorbuy') == "Yes") { ?> <li><a href="#"><?php echo get_option('wp_rentorbuy_text2') ?></a><?php wp_tag_cloud('format=list&taxonomy=property_buyorrent') ?></li> <?php } ?> </ul> </li> </ul> <?php } ?> </div><!-- end wrapper (started in header) --> </div><!-- end page wrapper --> </body> </html>
- O tópico ‘Adicionar um get_option ao footer.php’ está fechado a novas respostas.