Add info at footer in Sydney


#1

I’m trying to add text in the footer for a link, but when I try to center the new text it’s placed lower than the left text, I’m using this code.

<?php
/**

  • The template for displaying the footer.
  • Contains the closing of the #content div and all content after
  • @package Sydney
    */

?>
</div>
</div>
</div><!-- #content -->
<?php if ( is_active_sidebar( ‘footer-1’ ) ) : ?>
<?php get_sidebar(‘footer’); ?>
<?php endif; ?>

<a>&lt;i class="fa fa-angle-up"&gt;&lt;/i&gt;</a>

&lt;footer id="colophon" class="site-footer" role="contentinfo"&gt;
	&lt;div class="site-info container"&gt;
		&lt;p&gt;&copy; 2015 Laelaps. Todos los derechos reservados.  &lt;center&gt; <a>"&gt;&lt;?php printf( __( 'Consulta nuestro aviso de %s', 'aviso' ), 'Privacidad' ); ?&gt;</a>&lt;/center&gt; &lt;/p&gt;

	&lt;/div&gt;&lt;!-- .site-info --&gt;
&lt;/footer&gt;&lt;!-- #colophon --&gt;

</div><!-- #page -->

<?php wp_footer(); ?>
</body>
</html>


#2

Hi,

This theme are using Bootstrap CSS framework and its support grid system to work with column. Please try to use the following code instead:

<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package Sydney
*/

?>
</div>
</div>
</div><!-- #content -->
<?php if ( is_active_sidebar( 'footer-1' ) ) : ?>
<?php get_sidebar('footer'); ?>
<?php endif; ?>

<i class="fa fa-angle-up"></i>

<footer id="colophon" class="site-footer" role="contentinfo">
<div class="site-info container">
	<div class="row">
		<div class="col-md-4 col-sm-12">
			<p>© 2015 Laelaps. Todos los derechos reservados.</p>
		</div>
		<div class="col-md-4 col-sm-12">
			<?php printf( __( 'Consulta nuestro aviso de %s', 'aviso' ), 'Privacidad' ); ?>
		</div>
		<div class="col-md-4 col-sm-12">
		</div>

</div> <!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->

<?php wp_footer(); ?>
</body>
</html>

#3

Thank you very much that worked perfect.