Changeset 2005785
- Timestamp:
- 01/03/2019 03:50:21 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cryptocurrency-shortcodes/trunk/my-admin/admin-return-html-templates/rg-shortcode-template.php
r1999113 r2005785 13 13 $attribs = shortcode_atts( 14 14 array( 15 'type' => 'list',16 'max' => '1000',17 'title' => '',18 'bg ' => '',19 'font_color' => ''15 'type' => 'list', 16 'max' => '1000', 17 'title' => '', 18 'bg_color' => '#222', 19 'font_color' => '#fff' 20 20 ),$atts 21 21 ); 22 22 23 $type = $attribs['type']; 24 $max = $attribs['max']; 23 $type = $attribs['type']; 24 $max = $attribs['max']; 25 $bg_color = $attribs['bg_color']; 26 25 27 if($type == 'list'){ 26 28 include('rg-shortcode-template-list.php'); 27 29 }elseif($type == 'carousel'){ 30 ?> 31 <style> 32 .rynerg_rgcs_get_sample_shortcode_carousel, .rgcs_shortcode_carousel_container{ background: <?php echo $bg_color; ?> } 33 </style> 34 <?php 28 35 include('rg-shortcode-template-carousel.php'); 29 36 }
Note: See TracChangeset
for help on using the changeset viewer.