/home/vianto5/.trash/cititower.mx/wp-content/themes/montreal
NameSizeModeActions
admin/-0755rm
css/-0755rm
font/-0755rm
images/-0755rm
img/-0755rm
inc/-0755rm
js/-0755rm
languages/-0755rm
player/-0755rm
postformats/-0755rm
404.php7230644editdlrm
archive-portfolio.php13520644editdlrm
comments.php00644editdlrm
editor-style-rtl.css4130644editdlrm
editor-style.css54340644editdlrm
footer-stripe.php17990644editdlrm
footer.php23080644editdlrm
functions.php157990644editdlrm
header.php27570644editdlrm
index.php14680644editdlrm
newsletter.php13530644editdlrm
page-about.php49480644editdlrm
page-blog-list.php15900644editdlrm
page-home.php91220644editdlrm
page-location.php27410644editdlrm
page-planner.php88280644editdlrm
page-portfolio-basic.php21820644editdlrm
page-portfolio-drag.php20940644editdlrm
page-portfolio-grid-black.php20290644editdlrm
page-portfolio-grid-block.php13800644editdlrm
page-portfolio-grid-white.php19810644editdlrm
page-portfolio-stripe.php16490644editdlrm
page-sidebar.php9930644editdlrm
page-thanks.php5660644editdlrm
page-ubicacion.php28650644editdlrm
page.php7820644editdlrm
portfolio-navigation.php6820644editdlrm
projectplanner.php52370644editdlrm
rtl.css14390644editdlrm
rtl.php430340644editdlrm
screenshot.png3941760644editdlrm
search.php14650644editdlrm
searchform.php3230644editdlrm
sendemail.php25170644editdlrm
sidebar-contact.php1030644editdlrm
sidebar.php990644editdlrm
single-portfolio.php2180644editdlrm
single.php11490644editdlrm
style.css14950644editdlrm
styles.php431910644editdlrm
wp-updates-theme.php19230644editdlrm
Edit: /home/vianto5/.trash/cititower.mx/wp-content/themes/montreal/functions.php (15799B)
>
comment_author_email, 48 ); ?>

%s'), get_comment_author_link()) ?> - - $depth, 'max_depth' => $args['max_depth']))) ?>

comment_approved == '0') : ?>

max_num_pages; if(!$pages) { $pages = 1; } } if(1 != $pages) { echo "\n"; } } function the_simple_terms() { global $post; if( get_the_terms($post->ID,'portfolio-category') ) { $terms = get_the_terms($post->ID,'portfolio-category','',', ',''); $terms = array_map('_simple_cb', $terms); return implode(' / ', $terms); } } function the_grid_simple_terms() { global $post; if( get_the_terms($post->ID,'portfolio-category') ) { $terms = get_the_terms($post->ID,'portfolio-category','',', ',''); $terms = array_map('_simple_cb', $terms); return implode('
', $terms); } } function _simple_cb($t) { return $t->name; } //Replace wp_trim_excerpt with a commented out strip_shortcodes() function improved_trim_excerpt($text) { $raw_excerpt = $text; if ( '' == $text ) { $text = get_the_content(''); //$text = strip_shortcodes( $text ); $text = apply_filters('the_content', $text); $text = str_replace(']]>', ']]>', $text); $text = strip_tags($text); $excerpt_length = apply_filters('excerpt_length', 55); $excerpt_more = apply_filters('excerpt_more', ' ' . '[...]'); $words = preg_split("/[\n\r\t ]+/", $text, $excerpt_length + 1, PREG_SPLIT_NO_EMPTY); if ( count($words) > $excerpt_length ) { array_pop($words); $text = implode(' ', $words); $text = $text . $excerpt_more; } else { $text = implode(' ', $words); } } return apply_filters('improved_trim_excerpt', $text, $raw_excerpt); } remove_filter('get_the_excerpt', 'wp_trim_excerpt'); add_filter('get_the_excerpt', 'improved_trim_excerpt'); //SHORTCODE DROP DOWN add_action('media_buttons','add_sc_select',11); function add_sc_select(){ global $shortcode_tags; $shortcodes_list=''; /** Any Shortcodes that should be excluded from this list should be added below */ $exclude = array("wp_caption", "embed", 'caption', 'gallery'); echo ''; } add_action('admin_head', 'button_js'); function button_js() { echo ''; } function activate_montreal($oldname, $oldtheme=false){ $msg = '

Thank you for installing Montreal, Please follow these simple instructions:

  1. In order to load the basic styles of Montreal please visit the Theme Customizer
  2. Make any change within the Theme Customizer to enable the Save & Publish Button
  3. Click the Save & Publish Button to load the Montreal basic styling. Your site is now ready to be viewed. Enjoy Montreal & Read the Documentation

'; add_action( 'admin_notices', $c = create_function( '', 'echo "' . addcslashes( $msg, '"') . '";' ) ); } add_action("after_switch_theme", "activate_montreal", 10, 2); require_once('wp-updates-theme.php'); new WPUpdatesThemeUpdater( 'http://wp-updates.com/api/1/theme', 166, 'montreal' ); function testimonial($title){ ?>

ID, '_cmb_the_team_social1_link', true ) !='' ) : ?>ID, '_cmb_the_team_social1_name', true ); ?>   ID, '_cmb_the_team_social2_link', true ) !='' ) : ?>ID, '_cmb_the_team_social2_name', true ); ?>   ID, '_cmb_the_team_social3_link', true ) !='' ) : ?>ID, '_cmb_the_team_social3_name', true ); ?>

ID, '_cmb_the_job_title', true ); ?>