/home/vianto5/cititower.mx/wp-content/themes/montreal/inc/framework
NameSizeModeActions
metabox/-0755rm
admin.js34040644editdlrm
metaboxes.php224770644editdlrm
shortcodes.php75930644editdlrm
theme_options.php119690644editdlrm
widgets.php40060644editdlrm
Edit: /home/vianto5/cititower.mx/wp-content/themes/montreal/inc/framework/shortcodes.php (7593B)
'' ), $atts)); ob_start(); testimonial($title); $output_string = ob_get_contents(); ob_end_clean(); return $output_string; } add_shortcode('testimonials', 'montreal_testimonials'); //CLIENTS function montreal_clients( $atts, $content = null ) { extract(shortcode_atts(array( 'title' => '' ), $atts)); ob_start(); clients($title); $output_string = ob_get_contents(); ob_end_clean(); return $output_string; } add_shortcode('clients', 'montreal_clients'); //TEAM MEMBERS function montreal_team_members( $atts, $content = null ) { extract(shortcode_atts(array( 'title' => '' ), $atts)); ob_start(); team($title); $output_string = ob_get_contents(); ob_end_clean(); return $output_string; } add_shortcode('team_members', 'montreal_team_members'); //BLOCKQUOTE function montreal_blockquote( $atts, $content = null ) { return '
' . do_shortcode($content) . '
'; } add_shortcode('blockquote', 'montreal_blockquote'); //LARGEFONT function montreal_largefont( $atts, $content = null ) { return '
' . do_shortcode($content) . '
'; } add_shortcode('largefont', 'montreal_largefont'); //METAFONT function montreal_metafont( $atts, $content = null ) { return '
' . do_shortcode($content) . '
'; } add_shortcode('metafont', 'montreal_metafont'); //SMALLFONT function montreal_smallfont( $atts, $content = null ) { return '
' . do_shortcode($content) . '
'; } add_shortcode('smallfont', 'montreal_smallfont'); //DRAWER function montreal_drawer( $atts, $content = null ) { extract(shortcode_atts(array( 'title' => '', 'instructions' => '' ), $atts)); return '
' . $title . '
' . $instructions . '

' . $content . '

'; } add_shortcode('drawer', 'montreal_drawer'); //FANCY_HEADLINE function montreal_fancy_headline( $atts, $content = null ) { extract(shortcode_atts(array( 'center' => '', ), $atts)); if($center == 'yes'){$center = 'center';} return '
' . do_shortcode($content) . '
'; } add_shortcode('fancy_headline', 'montreal_fancy_headline'); //FANCY LIST function montreal_fancy_list( $atts, $content = null ) { extract(shortcode_atts(array( 'type' => '', ), $atts)); return '
' . do_shortcode($content) . '
'; } add_shortcode('fancy_list', 'montreal_fancy_list'); //DROPCAP function montreal_dropcap( $atts, $content = null ) { return '

' . do_shortcode($content) . '

'; } add_shortcode('dropcap', 'montreal_dropcap'); //FANCY LINK function montreal_fancy_link( $atts, $content = null ) { extract(shortcode_atts(array( 'link' => '' ), $atts)); $button =''; $button .= ''; return $button; } add_shortcode('fancy_link', 'montreal_fancy_link'); //FULL WIDTH function montreal_full_width( $atts, $content = null ) { return '
' . do_shortcode($content) . '
'; } add_shortcode('full_width', 'montreal_full_width'); //CENTERED COLUMN function montreal_centered_column( $atts, $content = null ) { return '
' . do_shortcode($content) . '
'; } add_shortcode('centered_column', 'montreal_centered_column'); //ONE HALF function montreal_one_half( $atts, $content = null ) { extract(shortcode_atts(array( 'first' => '' ), $atts)); if($first == 'yes'){ $first = 'alpha'; } return '
' . do_shortcode($content) . '
'; } add_shortcode('one_half', 'montreal_one_half'); //ONE THIRD function montreal_one_third( $atts, $content = null ) { extract(shortcode_atts(array( 'first' => '' ), $atts)); if($first == 'yes'){ $first = 'alpha'; } return '
' . do_shortcode($content) . '
'; } add_shortcode('one_third', 'montreal_one_third'); //ONE QUARTER function montreal_one_quarter( $atts, $content = null ) { extract(shortcode_atts(array( 'first' => '' ), $atts)); if($first == 'yes'){ $first = 'alpha'; } return '
' . do_shortcode($content) . '
'; } add_shortcode('one_quarter', 'montreal_one_quarter'); //TWO THIRDS function montreal_two_thirds( $atts, $content = null ) { extract(shortcode_atts(array( 'first' => '' ), $atts)); if($first == 'yes'){ $first = 'alpha'; } return '
' . do_shortcode($content) . '
'; } add_shortcode('two_thirds', 'montreal_two_thirds'); //BUTTONS function montreal_button( $atts, $content = null ) { extract(shortcode_atts(array( 'link' => '', 'type' => '' ), $atts)); return '' . $content . ''; } add_shortcode('button', 'montreal_button'); //big_button function montreal_big_button( $atts, $content = null ) { extract(shortcode_atts(array( 'link' => '', 'type' => '', 'margin' => '' ), $atts)); return '
' . $content . '
'; } add_shortcode('big_button', 'montreal_big_button'); //TABS add_shortcode( 'tabgroup', 'montreal_tabgroup' ); function montreal_tabgroup( $atts, $content ){ extract(shortcode_atts(array( 'title' => '' ), $atts)); $GLOBALS['tab_count'] = 0; do_shortcode( $content ); if( is_array( $GLOBALS['tabs'] ) ){ foreach( $GLOBALS['tabs'] as $tab ){ $active= ''; if( $tab['id'] == 't1' ){$active = 'active';} $tabs[] = '
  • '.$tab['title'].'
  • '; $panes[] = '

    '.$tab['content'].'

    '; } $return = "\n".'
    ' . $title . '
      '.implode( "\n", $tabs ).'
    '."\n".''.implode( "\n", $panes ).'
    '."\n"; } return $return; } add_shortcode( 'tab', 'montreal_tab' ); function montreal_tab( $atts, $content ){ extract(shortcode_atts(array( 'title' => '%d', 'id' => '%d' ), $atts)); $x = $GLOBALS['tab_count']; $GLOBALS['tabs'][$x] = array( 'title' => sprintf( $title, $GLOBALS['tab_count'] ), 'content' => do_shortcode($content), 'id' => $id ); $GLOBALS['tab_count']++; } //CLEAR function montreal_break( $atts, $content = null ) { return '
    '; } add_shortcode('clear', 'montreal_break'); //BIG_CLEAR function montreal_big_clear( $atts, $content = null ) { return '
    '; } add_shortcode('big_clear', 'montreal_big_clear'); //CLEAR function montreal_clearline( $atts, $content = null ) { return '
    '; } add_shortcode('clearline', 'montreal_clearline'); ?>