This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <section style="background-color:#ffffff; " id="whoweareasection" class="menu_page"> | |
| <div class="container"> | |
| <div class="themefeatures"> | |
| <div class="one_half"></p> | |
| <h3>¿Porqué Rentacont?</h3> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Custom redirect for users after clicking 'return to shop' | |
| add_filter('woocommerce_return_to_shop_redirect', 'bryce_wc_return_to_shop_redirect'); | |
| function bryce_wc_return_to_shop_redirect( $redirect ) { | |
| $redirect = 'http://google.com/'; | |
| return $redirect; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Eliminar párrafos automáticos por defecto | |
| remove_filter('the_content', 'wpautop'); | |
| remove_filter( 'the_excerpt', 'wpautop' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="container content-area"> | |
| <div class="middle-align"> | |
| <div class="site-main nosidebar"> | |
| <div class="blog-post-repeat"> | |
| <article id="post-342" class="post-342 post type-post status-publish format-standard has-post-thumbnail hentry category-uncategorized"> | |
| <header class="entry-header"> | |
| <h3 class="post-title"><a href="https://www.gracethemes.com/demo/milestonez/nulla-consequat-massa-quis/" rel="bookmark">Ubicación por regiones </a></h3> | |
| <div class="postmeta"> | |
| <div class="post-date">Rentacont es una empresa chilena fundada 1989, fecha en que un grupo de personas con gran experiencia en las actividades relacionadas con la operación y mantenimiento de contenedores marítimos, se reúnen bajo esta razón social con el único objetivo de satisfacer necesidades de la industria y minería nacional, en materia de construcciones metálicas transportables tipo containers. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <img src="http://rentacont.com/wp-content/uploads/Logo-Rentacont-JPG-3.jpg" style="width: 280px;" title="Rentacont" alt="Logo"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Show Slider Section | |
| } | |
| add_action( 'customize_register', 'milestone_lite_customize_register' ); | |
| function milestone_lite_custom_css(){ | |
| ?> | |
| <style type="text/css"> | |
| a, .siteblog_listing h2 a:hover, | |
| #sidebar ul li a:hover, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // four services Boxes Section | |
| $wp_customize->add_section('pageboxes_section', array( | |
| 'title' => __('Four Page Boxes Section','milestone-lite'), | |
| 'description' => __('Select Pages from the dropdown for four services boxes section','milestone-lite'), | |
| 'priority' => null | |
| )); | |
| $wp_customize->add_setting('pagebox-area1', array( | |
| 'default' => '0', | |
| 'capability' => 'edit_theme_options', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Slider Section | |
| $wp_customize->add_section( 'slider_options', array( | |
| 'title' => __('Slider Options', 'milestone-lite'), | |
| 'priority' => null, | |
| 'description' => __('Featured Image Size Should be ( 1400x600 ).','milestone-lite'), | |
| )); | |
| $wp_customize->add_setting('slide-page7',array( | |
| 'default' => '0', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| jQuery(window).bind('scroll', function() { | |
| var wwd = jQuery(window).width(); | |
| if( wwd > 939 ){ | |
| var navHeight = jQuery( window ).height() - 575; | |
| } | |
| }); | |
| jQuery(window).load(function() { | |
| jQuery('#slider').nivoSlider({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function milestone_lite_scripts() { | |
| wp_enqueue_style('milestone-lite-font', milestone_lite_font_url(), array()); | |
| wp_enqueue_style( 'milestone-lite-basic-style', get_stylesheet_uri() ); | |
| wp_enqueue_style( 'nivo-slider', get_template_directory_uri()."/css/nivo-slider.css" ); | |
| wp_enqueue_style( 'milestone-lite-responsive', get_template_directory_uri()."/css/responsive.css" ); | |
| wp_enqueue_style( 'font-awesome', get_template_directory_uri()."/css/font-awesome.css" ); | |
| wp_enqueue_script( 'jquery-nivo-slider', get_template_directory_uri() . '/js/jquery.nivo.slider.js', array('jquery') ); | |
| wp_enqueue_script( 'milestone-lite-editable', get_template_directory_uri() . '/js/editable.js' ); | |
| if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { | |
| wp_enqueue_script( 'comment-reply' ); |
NewerOlder