/
home
/
vianto5
/
.trash
/
cititower.mx
/
wp-content
/
themes
/
montreal
/
/home/vianto5/.trash/cititower.mx/wp-content/themes/montreal
mkdir
upload
Name
Size
Mode
Actions
admin/
-
0755
rm
css/
-
0755
rm
font/
-
0755
rm
images/
-
0755
rm
img/
-
0755
rm
inc/
-
0755
rm
js/
-
0755
rm
languages/
-
0755
rm
player/
-
0755
rm
postformats/
-
0755
rm
404.php
723
0644
edit
dl
rm
archive-portfolio.php
1352
0644
edit
dl
rm
comments.php
0
0644
edit
dl
rm
editor-style-rtl.css
413
0644
edit
dl
rm
editor-style.css
5434
0644
edit
dl
rm
footer-stripe.php
1799
0644
edit
dl
rm
footer.php
2308
0644
edit
dl
rm
functions.php
15799
0644
edit
dl
rm
header.php
2757
0644
edit
dl
rm
index.php
1468
0644
edit
dl
rm
newsletter.php
1353
0644
edit
dl
rm
page-about.php
4948
0644
edit
dl
rm
page-blog-list.php
1590
0644
edit
dl
rm
page-home.php
9122
0644
edit
dl
rm
page-location.php
2741
0644
edit
dl
rm
page-planner.php
8828
0644
edit
dl
rm
page-portfolio-basic.php
2182
0644
edit
dl
rm
page-portfolio-drag.php
2094
0644
edit
dl
rm
page-portfolio-grid-black.php
2029
0644
edit
dl
rm
page-portfolio-grid-block.php
1380
0644
edit
dl
rm
page-portfolio-grid-white.php
1981
0644
edit
dl
rm
page-portfolio-stripe.php
1649
0644
edit
dl
rm
page-sidebar.php
993
0644
edit
dl
rm
page-thanks.php
566
0644
edit
dl
rm
page-ubicacion.php
2865
0644
edit
dl
rm
page.php
782
0644
edit
dl
rm
portfolio-navigation.php
682
0644
edit
dl
rm
projectplanner.php
5237
0644
edit
dl
rm
rtl.css
1439
0644
edit
dl
rm
rtl.php
43034
0644
edit
dl
rm
screenshot.png
394176
0644
edit
dl
rm
search.php
1465
0644
edit
dl
rm
searchform.php
323
0644
edit
dl
rm
sendemail.php
2517
0644
edit
dl
rm
sidebar-contact.php
103
0644
edit
dl
rm
sidebar.php
99
0644
edit
dl
rm
single-portfolio.php
218
0644
edit
dl
rm
single.php
1149
0644
edit
dl
rm
style.css
1495
0644
edit
dl
rm
styles.php
43191
0644
edit
dl
rm
wp-updates-theme.php
1923
0644
edit
dl
rm
Edit:
/home/vianto5/.trash/cititower.mx/wp-content/themes/montreal/page-home.php
(9122B)
<?php /* Template Name: Homepage */ ?> <?php get_header(); the_post(); global $post; $option = get_option('montreal_theme_options'); ?> <div class="container slideshow" style="background:url(<?php echo $option['background_image_faded']; ?>);"> <section class="row largepadding"> <div class="six columns bigpadding intro"> <div class="bigtoppadding whitetext"><?php the_content(); ?></div> </div> </section> </div> <script> jQuery(window).load(function($){ jQuery.supersized({ // Functionality slideshow : 1, // Slideshow on/off autoplay : 1, // Slideshow starts playing automatically start_slide : 1, // Start slide (0 is random) stop_loop : 0, // Pauses slideshow on last slide random : 0, // Randomize slide order (Ignores start slide) slide_interval : <?php echo get_post_meta( $post->ID, '_cmb_home_gallery_animation_delay', true ); ?>, // Length between transitions transition : <?php echo get_post_meta( $post->ID, '_cmb_home_gallery_animation', true ); ?>, // 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left transition_speed : 1000, // Speed of transition new_window : 1, // Image links open in new window/tab pause_hover : 0, // Pause slideshow on hover keyboard_nav : 1, // Keyboard navigation on/off performance : 1, // 0-Normal, 1-Hybrid speed/quality, 2-Optimizes image quality, 3-Optimizes transition speed // (Only works for Firefox/IE, not Webkit) image_protect : 1, // Disables image dragging and right click with Javascript // Size & Position min_width : 0, // Min width allowed (in pixels) min_height : 0, // Min height allowed (in pixels) vertical_center : 1, // Vertically center background horizontal_center : 1, // Horizontally center background fit_always : 0, // Image will never exceed browser width or height (Ignores min. dimensions) fit_portrait : 1, // Portrait images will not exceed browser height fit_landscape : 0, // Landscape images will not exceed browser width // Components slide_links : 'blank', // Individual links for each slide (Options: false, 'num', 'name', 'blank') thumb_links : 1, // Individual thumb links for each slide thumbnail_navigation : 0, // Thumbnail navigation slides : [ // Slideshow Images <?php $home_gallery1 = get_post_meta( $post->ID, '_cmb_home_gallery1', true ); if ($home_gallery1 !='') { echo '{image : "' . $home_gallery1 . '", thumb : "' . $home_gallery1 . '"},'; } $home_gallery2 = get_post_meta( $post->ID, '_cmb_home_gallery2', true ); if ($home_gallery2 !='') { echo '{image : "' . $home_gallery2 . '", thumb : "' . $home_gallery2 . '"},'; } $home_gallery3 = get_post_meta( $post->ID, '_cmb_home_gallery3', true ); if ($home_gallery3 !='') { echo '{image : "' . $home_gallery3 . '", thumb : "' . $home_gallery3 . '"},'; } $home_gallery4 = get_post_meta( $post->ID, '_cmb_home_gallery4', true ); if ($home_gallery4 !='') { echo '{image : "' . $home_gallery4 . '", thumb : "' . $home_gallery4 . '"},'; } $home_gallery5 = get_post_meta( $post->ID, '_cmb_home_gallery5', true ); if ($home_gallery5 !='') { echo '{image : "' . $home_gallery5 . '", thumb : "' . $home_gallery5 . '"},'; } $home_gallery6 = get_post_meta( $post->ID, '_cmb_home_gallery6', true ); if ($home_gallery6 !='') { echo '{image : "' . $home_gallery6 . '", thumb : "' . $home_gallery6 . '"},'; } ?> ], // Theme Options progress_bar : 1, // Timer for each slide mouse_scrub : 0 }); }); </script> <!-- <?php if(get_post_meta( $post->ID, '_cmb_the_portfolio_switch', true ) !='on') : ?> <div class="smallpadding" style="background:url(<?php echo $option['background_image']; ?>);"> </div>--> <!--<div class="container white bigpadding"> <section class="row smallbottompadding"> <h3 class="blacktext bold midbottommargin center"><?php _e('OUR RECENT WORK','montreal'); ?></h3> --> <!-- BLACKHORIZONTAL <div class="three columns alpha centered blackhorizontal"> </div> <div class="four columns centered smalltoppadding"> <p class="center"> <a class="smallfont greytext" href="<?php echo home_url('/portfolio'); ?>"><?php _e('VIEW ALL PORTFOLIO','montreal'); ?></a> </p> </div> </section> <!-- BASIC PORTFOLIO ITEM ROW <section class="row midbottompadding"> <?php query_posts('post_type=portfolio&posts_per_page=3'); if( have_posts() ) : $counter = '0'; while( have_posts() ) : the_post(); $counter++; ?> <div class="item four columns <?php if($counter == '1'){ echo 'alpha'; } ?>"> <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a> <h5 class="blacktext extrabold smalltoppadding uppercase"><?php the_title(); ?><span class="right light">0<?php echo $counter; ?></span></h5> <h6 class="blacktext uppercase"><?php echo the_simple_terms(); ?></h6> <a href="<?php the_permalink(); ?>" class="blacktext smallfont"><?php echo $option['view_project']; ?></a> </div> <?php endwhile; endif; wp_reset_query(); ?> </section> </div> <div class="smallpadding" style="background:url(<?php echo $option['background_image']; ?>);"></div> <?php endif; ?> <?php if(get_post_meta( $post->ID, '_cmb_the_quote_switch', true ) == 'on') : ?> <div class="container largepadding" style="background:url(<?php echo $option['background_image_faded']; ?>);"> <section class="row bigpadding">--> <!-- WHITE HORIZONTAL --> <div class="alpha centered six columns whitehorizontal midmargin"> </div> <!-- QUOTE <div class="alpha eleven columns centered"> <h2 class="italic center whitetext">"<?php echo get_post_meta( $post->ID, '_cmb_the_home_quote', true ); ?>"</h2> </div> <!-- WHITE HORIZONTAL <div class="alpha centered six columns whitehorizontal smallmargin"> </div> </section> </div>--> <?php endif; ?> <?php if(get_post_meta( $post->ID, '_cmb_the_blog_switch', true ) !='on') : ?> <!--<div class="container midpadding" style="background:url(<?php echo $option['background_image']; ?>)"> <section class="row midpadding white smallbottommargin"> <h3 class="blacktext bold midmargin center"><?php _e('OUR RECENT NOTES','montreal'); ?></h3> <div class="three columns alpha centered blackhorizontal"> </div> <div class="four columns centered smalltoppadding"> <p class="center"> <a class="smallfont greytext" href="<?php if( get_option( 'show_on_front' ) == 'page' ) echo get_permalink( get_option('page_for_posts' ) ); else echo home_url(); ?>"><?php _e('VIEW ALL NOTES','montreal'); ?></a> </p> </div> </section> <?php query_posts('post_type=post&posts_per_page=3'); if( have_posts() ) : while( have_posts() ) : the_post(); ?> <article class="row blog white blogArticle"> <div class="eight columns centered"> <!-- POST TITLE <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <h4 class="blacktext italic center"><?php the_title(); ?></h4> </a>--> <!-- POST META <p class="center"> <i class="icon-time greytext"></i> <a class="smallfont greytext" href="#"><?php the_time(get_option('date_format')); ?></a> <i class="greytext icon-folder-open"></i> <?php the_tags('',' / ',''); ?> <i class="greytext icon-link"></i> <a class="smallfont greytext" href="<?php the_permalink(); ?>"><?php _e('READ POST', 'montreal'); ?></a> </p> </div> </article> <?php endwhile; endif; wp_reset_query(); ?> </div>--> <?php endif; ?> <?php if(get_post_meta( $post->ID, '_cmb_the_twitter_switch', true ) == 'on') : ?> <div class="container white"> <section class="row bigpadding"> <h2 class="light blacktext center icon-twitter"></h2> <div class="alpha seven columns centered"> <div class="tweet"> </div> <a href="http://www.twitter.com/<?php echo get_post_meta( $post->ID, '_cmb_the_home_twitter_id', true ); ?>" class="blacktext"> <h6 class="center bold meta uppercase"><?php echo get_post_meta( $post->ID, '_cmb_the_home_twitter_id', true ); ?></h6> </a> </div> </section> <script> // twitter jQuery(function($){ $(".tweet").tweet({ username: "<?php echo get_post_meta( $post->ID, '_cmb_the_home_twitter_id', true ); ?>", join_text: "auto", avatar_size: null, count: 1, auto_join_text_default: " ", auto_join_text_ed: " ", auto_join_text_ing: " ", auto_join_text_reply: " ", auto_join_text_url: " ", loading_text: "<?php _e('loading tweets...','montreal'); ?>" }); }); </script> </div><?php endif; get_footer(); ?>
Save
ID, '_cmb_the_blog_switch', true ) !='on') : ?> ID, '_cmb_the_twitter_switch', true ) == 'on') : ?>
ID, '_cmb_the_home_twitter_id', true ); ?>