Viewing 3 replies - 1 through 3 (of 3 total)
  • in footer.php

    First copy to footer.php your footer template from your own html file.

    Then change your texts there to this:

    <?php
    if ( is_sidebar_active('sidebar-id') {
    // some container as <div class="footer-container-up>
     dynamic_sidebar('sidebar-id');
    // end of container </div>
    }?>

    Then If you add something in sidebar this will appear in the footer.

    Thread Starter Chander Dhingra

    (@chanderdelhi)

    my HTML/CSS footer code

    <footer class="custom-footer">
    	<div id="footer-content">
    		<div id="footer-right">
            	<h3>Contacte</h3>
                <form action='https://www.e-mail.cl/clientes/proc.php' method='post' id='_form_5050' accept-charset='utf-8' enctype='multipart/form-data'>
      <input type='hidden' name='f' value='5050'>
      <input type='hidden' name='s' value=''>
      <input type='hidden' name='c' value='0'>
      <input type='hidden' name='m' value='0'>
      <input type='hidden' name='act' value='sub'>
      <input type='hidden' name='nlbox[]' value='727'>
      <div class='_form'>
        <div class='formwrapper'>
          <div id='_field11991'>
            <div id='compile11991' class='_field _type_input'>
              <div class='_label '>
                Correo electr贸nico *
              </div>
              <div class='_option'>
                <input type='email' name='email' >
              </div>
            </div>
          </div>
          <div id='_field11992'>
            <div id='compile11992' class='_field _type_input'>
              <div class='_option'>
                <input type='submit' value='Suscribir'>
              </div>
            </div>
          </div>
        </div>
      </div>
    </form>
    		</div>
    		<div id="footer-middle">
            	<h3>Siguenes en:</h3>
    			<ul class="social-icons">
                	<li><img src="images/images/facebook.png" alt=""></li>
                    <li><img src="images/images/twitter.png" alt=""></li>
                    <li><img src="images/images/vimeo.png" alt=""></li>
                    <li><img src="images/images/youtube.png" alt=""></li>
                </ul>
          	</div>
    		<div id="footer-left">
       		  <h3>Contacte</h3>
                <span class="footer-address">Dirección:Los Militares 5620, Las Condes</span>
                <span class="footer-address">Teléfono:(+56-2) 2792 55 94</span>
                <span class="footer-address">E-mail:contacto@budamail.com</span>
    		</div>
    	</div>
        <div id="copyright">
          	<span class="todos"> ©Todos los derechos reservados 2013</span>
            <span class="dessarollado"> Desarrollado por: BudaMail</span>
        </div>
    <footer>

    And I am adding below code in functions.php

    function remove_version() {
      return '';
    }
    add_filter('the_generator', 'remove_version');
    remove_action('wp_head', 'wlwmanifest_link');
    remove_action('wp_head', 'rsd_link');
    
    function wpv_widgets_init() {
    	register_sidebar( array(
    		'name' => __( 'Main Sidebar', 'sintia' ),
    		'id' => 'sidebar-1',
    		'description' => __( 'Appears on posts and pages except the optional Front Page template, which has its own widgets', 'sintia' ),
    		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    		'after_widget' => '</aside>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    	) );
    
    	register_sidebar( array(
    		'name' => __( 'First Front Page Widget Area', 'sintia' ),
    		'id' => 'sidebar-2',
    		'description' => __( 'Appears when using the optional Front Page template with a page set as Static Front Page', 'sintia' ),
    		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    		'after_widget' => '</aside>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    	) );
    
    	register_sidebar( array(
    		'name' => __( 'Second Front Page Widget Area', 'sintia' ),
    		'id' => 'sidebar-3',
    		'description' => __( 'Appears when using the optional Front Page template with a page set as Static Front Page', 'sintia' ),
    		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    		'after_widget' => '</aside>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    	) );
    
    	register_sidebar( array(
    		'name' => __( 'Third Front Page Widget Area', 'sintia' ),
    		'id' => 'sidebar-4',
    		'description' => __( 'Appears when using the optional Front Page template with a page set as Static Front Page', 'sintia' ),
    		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
    		'after_widget' => '</aside>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    	) );
    
    }
    Thread Starter Chander Dhingra

    (@chanderdelhi)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTML to wordpress footer’ is closed to new replies.