PATH:
home
/
letacommog
/
supportleta
/
wp-content
/
plugins
/
webnus-shortcodes
/
shortcodes
<?php /** * Subtitle */ function easyweb_webnus_subtitle ($atts, $content = null) { extract( shortcode_atts( array( 'type' => '1', 'heading' => '4', 'subtitle_content' => '', 'subtitle_color' => '', 'border_color' => '', ), $atts ) ); $border_color = $border_color ? ' style="border-bottom-color: ' . $border_color . ';"' : ''; $subtitle_color = $subtitle_color ? ' style="color: ' . $subtitle_color . ';"' : ''; $out = ' <div class="subtitle-element subtitle-element' . $type . '"' . $border_color .'> <h' . $heading . $subtitle_color . '>'. $subtitle_content .'</h' . $heading . '> </div>'; return $out; } add_shortcode('subtitle','easyweb_webnus_subtitle'); /* bigtitle */ function easyweb_webnus_bigtitle_shortcode ($atts, $content = null) { extract(shortcode_atts(array( 'heading' => '2', 'bigtitle_content' => '', 'aligncenter' => '', ), $atts)); $align=($aligncenter)?' aligncenter':''; $out = '<h'.$heading.' class="big-title1'.$align.'">'. $bigtitle_content .'</h'.$heading.'>'; return $out; } add_shortcode('big_title','easyweb_webnus_bigtitle_shortcode'); function easyweb_webnus_bigtitle2_shortcode ($atts, $content = null) { extract(shortcode_atts(array( 'title' => '', 'bigtitle' => '', ), $atts)); $out = '<h2 class="mex-title">'. $bigtitle .'</h2>'; return $out; } add_shortcode('big_title2','easyweb_webnus_bigtitle2_shortcode'); function easyweb_webnus_title($atts, $content = null) { extract(shortcode_atts(array( 'type' => '4', ), $atts)); $out = '<h'.$type.'><strong>'.$content.'</strong></h'.$type.'>'; return $out; } add_shortcode('title', 'easyweb_webnus_title'); /** * Max Title */ function easyweb_webnus_maxtitle_shortcode( $atts, $content = null ) { extract( shortcode_atts( array( 'type' => '1', 'heading' => '2', 'maxtitle_content' => '', 'maxtitle_color' => '', ), $atts ) ); $maxtitle_color = $maxtitle_color ? ' style="color: ' . $maxtitle_color . ';"' : ''; $out = ' <div class="max-title max-title' . $type . '"> <h' . $heading. $maxtitle_color . '>'. $maxtitle_content .'</h2> </div>'; return $out; } add_shortcode('maxtitle','easyweb_webnus_maxtitle_shortcode');
[+]
..
[-] ourclients.php
[edit]
[-] pricing-plan.php
[edit]
[-] callout.php
[edit]
[-] icon.php
[edit]
[-] blog.php
[edit]
[-] buy-process.php
[edit]
[-] tab.php
[edit]
[-] distance.php
[edit]
[-] heading.php
[edit]
[-] alerts.php
[edit]
[-] categorybox.php
[edit]
[-] columns.php
[edit]
[-] ministry.php
[edit]
[-] postfromblog.php
[edit]
[-] single-resource-books.php
[edit]
[-] ourteam.php
[edit]
[-] video-bg.php
[edit]
[-] accordion.php
[edit]
[-] title.php
[edit]
[-] portfolio-carousel.php
[edit]
[-] webtags.php
[edit]
[-] slide-up-note.php
[edit]
[-] latest-from-blog.php
[edit]
[-] iconbox.php
[edit]
[-] quote.php
[edit]
[-] iconfonts-param.php
[edit]
[-] subscribe.php
[edit]
[-] list.php
[edit]
[-] buttons.php
[edit]
[-] checklist-param.php
[edit]
[-] maxslider.php
[edit]
[-] teaser-box.php
[edit]
[-] latest-news.php
[edit]
[-] testimonial-carousel.php
[edit]
[-] our-porcess.php
[edit]
[-] lefttab.php
[edit]
[-] flexslider.php
[edit]
[-] icon-divider.php
[edit]
[-] googlemap.php
[edit]
[-] webnus-divider.php
[edit]
[-] tooltip.php
[edit]
[-] highlight.php
[edit]
[-] taglineslider.php
[edit]
[-] pie.php
[edit]
[-] countdown.php
[edit]
[-] maxcounter.php
[edit]
[-] testimonials.php
[edit]
[-] parallax.php
[edit]
[-] doublepromo.php
[edit]
[-] resource-books.php
[edit]
[-] progressbar.php
[edit]
[-] dropcap.php
[edit]
[-] video-play.php
[edit]
[-] blox.php
[edit]
[-] pricingtables.php
[edit]
[-] magicmore.php
[edit]