Example #1
0
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_tab_nav', 'title' => __('Tab Nav', csl18n()), 'weight' => 920, 'icon' => 'tab-nav', 'section' => __('Content', csl18n()), 'description' => __('Include a tab nav into your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/tabbed-content/', 'params' => array(array('param_name' => 'type', 'heading' => __('Tab Nav Items Per Row', csl18n()), 'description' => __('If your tab nav is on top, select how many tab nav items you want per row.', csl18n()), 'type' => 'dropdown', 'value' => array('Two' => 'two-up', 'Three' => 'three-up', 'Four' => 'four-up', 'Five' => 'five-up')), array('param_name' => 'float', 'heading' => __('Tab Nav Position', csl18n()), 'description' => __('Select the position of your tab nav.', csl18n()), 'type' => 'dropdown', 'value' => array('None' => 'none', 'Left' => 'left', 'Right' => 'right')), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
     $this->sg_map(array('id' => 'x_tab_nav_item', 'title' => __('Tab Nav Item', csl18n()), 'weight' => 910, 'icon' => 'tab-nav-item', 'section' => __('Content', csl18n()), 'description' => __('Include a tab nav item into your tab nav', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/tabbed-content/', 'params' => array(array('param_name' => 'title', 'heading' => __('Title', csl18n()), 'description' => __('Include a title for your tab nav item.', csl18n()), 'type' => 'textfield'), array('param_name' => 'active', 'heading' => __('Active', csl18n()), 'description' => __('Select to make this tab nav item active.', csl18n()), 'type' => 'checkbox', 'value' => 'true'), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
     $this->sg_map(array('id' => 'x_tabs', 'title' => __('Tabs', csl18n()), 'weight' => 900, 'icon' => 'tabs', 'section' => __('Content', csl18n()), 'description' => __('Include a tabs container after your tab nav', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/tabbed-content/', 'params' => array(array('param_name' => 'id', 'heading' => __('ID', csl18n()), 'description' => __('(Optional) Enter a unique ID.', csl18n()), 'type' => 'textfield'), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
     $this->sg_map(array('id' => 'x_tab', 'title' => __('Tab', csl18n()), 'weight' => 890, 'icon' => 'tab', 'section' => __('Content', csl18n()), 'description' => __('Include a tab into your tabs container', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/tabbed-content/', 'params' => array(array('param_name' => 'content', 'heading' => __('Text', csl18n()), 'description' => __('Enter your text.', csl18n()), 'type' => 'textarea_html', 'value' => ''), array('param_name' => 'active', 'heading' => __('Active', csl18n()), 'description' => __('Select to make this tab active.', csl18n()), 'type' => 'checkbox', 'value' => 'true'), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_pricing_table_column', 'title' => __('Pricing Table Column', csl18n()), 'weight' => 670, 'icon' => 'pricing-table-column', 'section' => __('Marketing', csl18n()), 'description' => __('Include a pricing table column', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/responsive-pricing-table/', 'params' => array(array('param_name' => 'content', 'heading' => __('Text', csl18n()), 'description' => __('Enter your text.', csl18n()), 'type' => 'textarea_html', 'value' => ''), array('param_name' => 'title', 'heading' => __('Title', csl18n()), 'description' => __('Include a title for your pricing column.', csl18n()), 'type' => 'textfield'), array('param_name' => 'featured', 'heading' => __('Featured', csl18n()), 'description' => __('Select to make this your featured offer.', csl18n()), 'type' => 'checkbox', 'value' => 'true'), array('param_name' => 'featured_sub', 'heading' => __('Featured Sub Heading', csl18n()), 'description' => __('Include a sub heading for your featured column.', csl18n()), 'type' => 'textfield'), array('param_name' => 'currency', 'heading' => __('Currency Symbol', csl18n()), 'description' => __('Enter in the currency symbol you want to use.', csl18n()), 'type' => 'textfield'), array('param_name' => 'price', 'heading' => __('Price', csl18n()), 'description' => __('Enter in the price for this pricing column.', csl18n()), 'type' => 'textfield'), array('param_name' => 'interval', 'heading' => __('Interval', csl18n()), 'description' => __('Enter in the time period that this pricing column is for.', csl18n()), 'type' => 'textfield', 'value' => 'Per Month'), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_callout', 'title' => __('Callout', csl18n()), 'section' => __('Marketing', csl18n()), 'description' => __('Include a marketing callout into your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/callout/', 'params' => array(array('param_name' => 'type', 'heading' => __('Alignment', csl18n()), 'description' => __('Select the alignment for your callout.', csl18n()), 'type' => 'dropdown', 'value' => array('Left' => 'left', 'Center' => 'center', 'Right' => 'right')), array('param_name' => 'title', 'heading' => __('Title', csl18n()), 'description' => __('Enter the title for your callout.', csl18n()), 'type' => 'textfield'), array('param_name' => 'message', 'heading' => __('Message', csl18n()), 'description' => __('Enter the message for your callout.', csl18n()), 'type' => 'textarea'), array('param_name' => 'button_text', 'heading' => __('Button Text', csl18n()), 'description' => __('Enter the text for your callout button.', csl18n()), 'type' => 'textfield'), array('param_name' => 'button_icon', 'heading' => __('Button Icon', csl18n()), 'description' => __('Optionally enter the button icon.', csl18n()), 'type' => 'dropdown', 'value' => array_keys(fa_all_unicode())), array('param_name' => 'circle', 'heading' => __('Marketing Circle', csl18n()), 'description' => __('Select to include a marketing circle around your button.', csl18n()), 'type' => 'checkbox', 'value' => 'true'), array('param_name' => 'href', 'heading' => __('Href', csl18n()), 'description' => __('Enter in the URL you want your callout button to link to.', csl18n()), 'type' => 'textfield'), array('param_name' => 'target', 'heading' => __('Target', csl18n()), 'description' => __('Select to open your callout link button in a new window.', csl18n()), 'type' => 'checkbox', 'value' => 'blank'), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_skill_bar', 'title' => __('Skill Bar', csl18n()), 'section' => __('Information', csl18n()), 'description' => __('Include an informational skill bar', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/skill-bar/', 'params' => array(array('param_name' => 'heading', 'heading' => __('Heading', csl18n()), 'description' => __('Enter the heading of your skill bar.', csl18n()), 'type' => 'textfield'), array('param_name' => 'percent', 'heading' => __('Percent', csl18n()), 'description' => __('Enter the percentage of your skill and be sure to include the percentage sign (i.e. 90%).', csl18n()), 'type' => 'textfield'), array('param_name' => 'bar_text', 'heading' => __('Bar Text', csl18n()), 'description' => __('Enter in some alternate text in place of the percentage inside the skill bar.', csl18n()), 'type' => 'textfield'), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
Example #5
0
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_slide', 'title' => __('Slide', csl18n()), 'weight' => 600, 'icon' => 'slide', 'section' => __('Media', csl18n()), 'description' => __('Include a slide into your slider', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/responsive-slider/', 'params' => array(array('param_name' => 'content', 'heading' => __('Text', csl18n()), 'description' => __('Enter your text.', csl18n()), 'type' => 'textarea_html', 'value' => ''), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_block_grid_item', 'title' => __('Block Grid Item', csl18n()), 'weight' => 870, 'icon' => 'block-grid-item', 'section' => __('Content', csl18n()), 'description' => __('Include a block grid item in your block grid', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/block-grid/', 'params' => array(array('param_name' => 'content', 'heading' => __('Text', csl18n()), 'description' => __('Enter your text.', csl18n()), 'type' => 'textarea_html', 'value' => ''), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_pricing_table', 'title' => __('Pricing Table', csl18n()), 'weight' => 680, 'icon' => 'pricing-table', 'section' => __('Marketing', csl18n()), 'description' => __('Include a pricing table in your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/responsive-pricing-table/', 'params' => array(array('param_name' => 'columns', 'heading' => __('Columns', csl18n()), 'description' => __('Select how many columns you want for your pricing table.', csl18n()), 'type' => 'dropdown', 'value' => array('1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5')), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_icon_list', 'title' => __('Icon List', csl18n()), 'weight' => 780, 'icon' => 'icon-list', 'section' => __('Typography', csl18n()), 'description' => __('Include an icon list in your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/icon-list/', 'params' => array(Cornerstone_Shortcode_Generator::map_default_id(array('advanced' => false)), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_accordion_item', 'title' => __('Accordion Item', csl18n()), 'weight' => 940, 'icon' => 'accordion-item', 'section' => __('Content', csl18n()), 'description' => __('Include an accordion item in your accordion', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/accordion/', 'params' => array(array('param_name' => 'content', 'heading' => __('Text', csl18n()), 'description' => __('Enter your text.', csl18n()), 'type' => 'textarea_html', 'value' => ''), array('param_name' => 'parent_id', 'heading' => __('Parent ID', csl18n()), 'description' => __('Optionally include an ID given to the parent accordion to only allow one toggle to be open at a time.', csl18n()), 'type' => 'textfield'), array('param_name' => 'title', 'heading' => __('Title', csl18n()), 'description' => __('Include a title for your accordion item.', csl18n()), 'type' => 'textfield'), array('param_name' => 'open', 'heading' => __('Open', csl18n()), 'description' => __('Select for your accordion item to be open by default.', csl18n()), 'type' => 'checkbox', 'value' => 'true'), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_video_player', 'title' => __('Video (Self Hosted)', csl18n()), 'section' => __('Media', csl18n()), 'description' => __('Include responsive video into your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/responsive-video/', 'params' => array(array('param_name' => 'type', 'heading' => __('Aspect Ratio', csl18n()), 'description' => __('Select your aspect ratio.', csl18n()), 'type' => 'dropdown', 'value' => array('16:9' => '16:9', '5:3' => '5:3', '5:4' => '5:4', '4:3' => '4:3', '3:2' => '3:2')), array('param_name' => 'm4v', 'heading' => __('M4V', csl18n()), 'description' => __('Include and .m4v version of your video.', csl18n()), 'type' => 'textfield'), array('param_name' => 'ogv', 'heading' => __('OGV', csl18n()), 'description' => __('Include and .ogv version of your video for additional native browser support.', csl18n()), 'type' => 'textfield'), array('param_name' => 'poster', 'heading' => __('Poster Image', csl18n()), 'description' => __('Include a poster image for your self-hosted video.', csl18n()), 'type' => 'attach_image'), array('param_name' => 'hide_controls', 'heading' => __('Hide Controls', csl18n()), 'description' => __('Select to hide the controls on your self-hosted video.', csl18n()), 'type' => 'checkbox', 'value' => 'true'), array('param_name' => 'autoplay', 'heading' => __('Autoplay', csl18n()), 'description' => __('Select to automatically play your self-hosted video.', csl18n()), 'type' => 'checkbox', 'value' => 'true'), array('param_name' => 'no_container', 'heading' => __('No Container', csl18n()), 'description' => __('Select to remove the container around the video.', csl18n()), 'type' => 'checkbox', 'value' => 'true'), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
Example #11
0
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_gap', 'title' => __('Gap', csl18n()), 'section' => __('Structure', csl18n()), 'description' => __('Insert a vertical gap in your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/gap/', 'params' => array(array('param_name' => 'size', 'heading' => __('Size', csl18n()), 'description' => __('Enter in the size of your gap. Pixels, ems, and percentages are all valid units of measurement.', csl18n()), 'type' => 'textfield', 'value' => '1.313em'), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
Example #12
0
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_button', 'title' => __('Button', csl18n()), 'section' => __('Marketing', csl18n()), 'description' => __('Add a clickable button to your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/buttons', 'params' => array(array('param_name' => 'content', 'heading' => __('Text', csl18n()), 'description' => __('Enter your text.', csl18n()), 'type' => 'textarea_html', 'value' => ''), array('param_name' => 'shape', 'heading' => __('Shape', csl18n()), 'description' => __('Select the button shape.', csl18n()), 'type' => 'dropdown', 'value' => array('Square' => 'square', 'Rounded' => 'rounded', 'Pill' => 'pill')), array('param_name' => 'size', 'heading' => __('Size', csl18n()), 'description' => __('Select the button size.', csl18n()), 'type' => 'dropdown', 'value' => array('Mini' => 'mini', 'Small' => 'small', 'Standard' => 'regular', 'Large' => 'large', 'Extra Large' => 'x-large', 'Jumbo' => 'jumbo')), array('param_name' => 'float', 'heading' => __('Float', csl18n()), 'description' => __('Optionally float the button.', csl18n()), 'type' => 'dropdown', 'value' => array('None' => 'none', 'Left' => 'left', 'Right' => 'right')), array('param_name' => 'block', 'heading' => __('Block', csl18n()), 'description' => __('Select to make your button go fullwidth.', csl18n()), 'type' => 'checkbox', 'value' => 'true'), array('param_name' => 'circle', 'heading' => __('Marketing Circle', csl18n()), 'description' => __('Select to include a marketing circle around your button.', csl18n()), 'type' => 'checkbox', 'value' => 'true'), array('param_name' => 'icon_only', 'heading' => __('Icon Only', csl18n()), 'description' => __('Select if you are only using an icon in your button.', csl18n()), 'type' => 'checkbox', 'value' => 'true'), array('param_name' => 'href', 'heading' => __('Href', csl18n()), 'description' => __('Enter in the URL you want your button to link to.', csl18n()), 'type' => 'textfield'), array('param_name' => 'title', 'heading' => __('Title', csl18n()), 'description' => __('Enter in the title attribute you want for your button (will also double as title for popover or tooltip if you have chosen to display one).', csl18n()), 'type' => 'textfield'), array('param_name' => 'target', 'heading' => __('Target', csl18n()), 'description' => __('Select to open your button link in a new window.', csl18n()), 'type' => 'checkbox', 'value' => 'blank'), array('param_name' => 'info', 'heading' => __('Info', csl18n()), 'description' => __('Select whether or not you want to add a popover or tooltip to your button.', csl18n()), 'type' => 'dropdown', 'value' => array('None' => 'none', 'Popover' => 'popover', 'Tooltip' => 'tooltip')), array('param_name' => 'info_place', 'heading' => __('Info Placement', csl18n()), 'description' => __('Select where you want your popover or tooltip to appear.', csl18n()), 'type' => 'dropdown', 'value' => array('Top' => 'top', 'Left' => 'left', 'Right' => 'right', 'Bottom' => 'bottom')), array('param_name' => 'info_trigger', 'heading' => __('Info Trigger', csl18n()), 'description' => __('Select what actions you want to trigger the popover or tooltip.', csl18n()), 'type' => 'dropdown', 'value' => array('Hover' => 'hover', 'Click' => 'click', 'Focus' => 'focus')), array('param_name' => 'info_content', 'heading' => __('Info Content', csl18n()), 'description' => __('Extra content for the popover.', csl18n()), 'type' => 'textfield'), array('param_name' => 'lightbox_thumb', 'heading' => __('Lightbox Thumbnail', csl18n()), 'description' => __('Use this option to select a thumbnail for your lightbox thumbnail navigation or to set an image if you are linking out to a video.', csl18n()), 'type' => 'attach_image'), array('param_name' => 'lightbox_video', 'heading' => __('Lightbox Video', csl18n()), 'description' => __('Select if you are linking to a video from this button in the lightbox.', csl18n()), 'type' => 'checkbox', 'value' => 'true'), array('param_name' => 'lightbox_caption', 'heading' => __('Lightbox Caption', csl18n()), 'description' => __('Lightbox caption text.', csl18n()), 'type' => 'textfield'), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_video_embed', 'title' => __('Video (Embedded)', csl18n()), 'section' => __('Media', csl18n()), 'description' => __('Include responsive video into your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/responsive-video/', 'params' => array(array('param_name' => 'content', 'heading' => __('Code (See Notes Below)', csl18n()), 'description' => __('Switch to the "text" editor and do not place anything else here other than your ‹iframe› or ‹embed› code.', csl18n()), 'type' => 'textarea_html', 'value' => ''), array('param_name' => 'type', 'heading' => __('Aspect Ratio', csl18n()), 'description' => __('Select your aspect ratio.', csl18n()), 'type' => 'dropdown', 'value' => array('16:9' => '16:9', '5:3' => '5:3', '5:4' => '5:4', '4:3' => '4:3', '3:2' => '3:2')), array('param_name' => 'no_container', 'heading' => __('No Container', csl18n()), 'description' => __('Select to remove the container around the video.', csl18n()), 'type' => 'checkbox', 'value' => 'true'), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_icon_list_item', 'title' => __('Icon List Item', csl18n()), 'weight' => 770, 'icon' => 'icon-list-item', 'section' => __('Typography', csl18n()), 'description' => __('Include an icon list item in your icon list', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/icon-list/', 'params' => array(array('param_name' => 'content', 'heading' => __('Text', csl18n()), 'description' => __('Enter your text.', csl18n()), 'type' => 'textarea_html', 'value' => ''), array('param_name' => 'type', 'heading' => __('Type', csl18n()), 'description' => __('Select your icon.', csl18n()), 'type' => 'dropdown', 'value' => array_keys(fa_all_unicode())), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_accordion', 'title' => __('Accordion', csl18n()), 'weight' => 930, 'icon' => 'accordion', 'section' => __('Content', csl18n()), 'description' => __('Include an accordion into your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/accordion/', 'params' => array(Cornerstone_Shortcode_Generator::map_default_id(array('advanced' => false)), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_map', 'title' => __('Map (Embed)', csl18n()), 'section' => __('Media', csl18n()), 'description' => __('Embed a map from a third-party provider', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/map/', 'params' => array(array('param_name' => 'content', 'heading' => __('Code (See Notes Below)', csl18n()), 'description' => __('Switch to the "text" editor and do not place anything else here other than your ‹iframe› or ‹embed› code.', csl18n()), 'type' => 'textarea_html', 'value' => ''), array('param_name' => 'no_container', 'heading' => __('No Container', csl18n()), 'description' => __('Select to remove the container around the map.', csl18n()), 'type' => 'checkbox', 'value' => 'true'), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
Example #17
0
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_clear', 'title' => __('Clear', csl18n()), 'section' => __('Structure', csl18n()), 'description' => __('Clear floated elements in your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/clear/', 'params' => array(Cornerstone_Shortcode_Generator::map_default_id(array('advanced' => false)), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_audio_embed', 'title' => __('Audio (Embedded)', csl18n()), 'section' => __('Media', csl18n()), 'description' => __('Place audio files into your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/audio/', 'params' => array(array('param_name' => 'content', 'heading' => __('Code (See Notes Below)', csl18n()), 'description' => __('Switch to the "text" editor and do not place anything else here other than your ‹iframe› or ‹embed› code.', csl18n()), 'type' => 'textarea_html', 'value' => ''), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
Example #19
0
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_search', 'title' => __('Search', csl18n()), 'section' => __('Content', csl18n()), 'description' => __('Include a search field in your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/search/', 'params' => array(Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
Example #20
0
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_counter', 'title' => __('Counter', csl18n()), 'section' => __('Information', csl18n()), 'description' => __('Include an animated number counter in your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/counter/', 'params' => array(array('param_name' => 'num_start', 'heading' => __('Starting Number', csl18n()), 'description' => __('Enter in the number that you would like your counter to start from.', csl18n()), 'type' => 'textfield', 'value' => '0'), array('param_name' => 'num_end', 'heading' => __('Ending Number', csl18n()), 'description' => __('Enter int he number that you would like your counter to end at. This must be higher than your starting number.', csl18n()), 'type' => 'textfield', 'value' => '100'), array('param_name' => 'num_speed', 'heading' => __('Counter Speed', csl18n()), 'description' => __('The amount of time to transition between numbers in milliseconds.', csl18n()), 'type' => 'textfield', 'value' => '1500'), array('param_name' => 'num_prefix', 'heading' => __('Number Prefix', csl18n()), 'description' => __('Prefix your number with a symbol or text.', csl18n()), 'type' => 'textfield'), array('param_name' => 'num_suffix', 'heading' => __('Number Suffix', csl18n()), 'description' => __('Suffix your number with a symbol or text.', csl18n()), 'type' => 'textfield'), array('param_name' => 'num_color', 'heading' => __('Number Color', csl18n()), 'description' => __('Select the color of your number.', csl18n()), 'type' => 'colorpicker'), array('param_name' => 'text_above', 'heading' => __('Text Above', csl18n()), 'description' => __('Optionally include text above your number.', csl18n()), 'type' => 'textfield'), array('param_name' => 'text_below', 'heading' => __('Text Below', csl18n()), 'description' => __('Optionally include text below your number.', csl18n()), 'type' => 'textfield'), array('param_name' => 'text_color', 'heading' => __('Text Color', csl18n()), 'description' => __('Select the color of your text above and below the number if you have include any.', csl18n()), 'type' => 'colorpicker'), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
Example #21
0
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_toc', 'title' => __('Table of Contents', csl18n()), 'weight' => 630, 'icon' => 'toc', 'section' => __('Information', csl18n()), 'description' => __('Include a table of contents in your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/table-of-contents/', 'params' => array(array('param_name' => 'title', 'heading' => __('Title', csl18n()), 'description' => __('Set the title of the table of contents.', csl18n()), 'type' => 'textfield', 'value' => 'Table of Contents'), array('param_name' => 'type', 'heading' => __('Alignment', csl18n()), 'description' => __('Select the alignment of your table of contents.', csl18n()), 'type' => 'dropdown', 'value' => array('Left' => 'left', 'Right' => 'right', 'Fullwidth' => 'block')), array('param_name' => 'columns', 'heading' => __('Columns', csl18n()), 'description' => __('Select a column count for your links if you have chosen "Fullwidth" as your alignment.', csl18n()), 'type' => 'dropdown', 'value' => array('1' => '1', '2' => '2', '3' => '3')), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_visibility', 'title' => __('Visibility', csl18n()), 'weight' => 850, 'icon' => 'visibility', 'section' => __('Content', csl18n()), 'description' => __('Alter content based on screen size', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/responsive-visibility/', 'params' => array(array('param_name' => 'type', 'heading' => __('Visibility Type', csl18n()), 'description' => __('Select how you want to hide or show your content.', csl18n()), 'type' => 'dropdown', 'value' => array('Hidden Phone' => 'hidden-phone', 'Hidden Tablet' => 'hidden-tablet', 'Hidden Desktop' => 'hidden-desktop', 'Visible Phone' => 'visible-phone', 'Visible Tablet' => 'visible-tablet', 'Visible Desktop' => 'visible-desktop')), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_audio_player', 'title' => __('Audio (Self Hosted)', csl18n()), 'section' => __('Media', csl18n()), 'description' => __('Place audio files into your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/audio/', 'params' => array(array('param_name' => 'mp3', 'heading' => __('MP3', csl18n()), 'description' => __('Include and .mp3 version of your audio.', csl18n()), 'type' => 'textfield'), array('param_name' => 'oga', 'heading' => __('OGA', csl18n()), 'description' => __('Include and .oga version of your audio for additional native browser support.', csl18n()), 'type' => 'textfield'), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
Example #24
0
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_promo', 'title' => __('Promo', csl18n()), 'section' => __('Marketing', csl18n()), 'description' => __('Include a marketing promo in your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/promo/', 'params' => array(array('param_name' => 'content', 'heading' => __('Text', csl18n()), 'description' => __('Enter your text.', csl18n()), 'type' => 'textarea_html', 'value' => ''), array('param_name' => 'image', 'heading' => __('Promo Image', csl18n()), 'description' => __('Include an image for your promo element.', csl18n()), 'type' => 'attach_image'), array('param_name' => 'alt', 'heading' => __('Alt', csl18n()), 'description' => __('Enter in the alt text for your promo image.', csl18n()), 'type' => 'textfield'), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_block_grid', 'title' => __('Block Grid', csl18n()), 'weight' => 880, 'icon' => 'block-grid', 'section' => __('Content', csl18n()), 'description' => __('Include a block grid container in your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/block-grid/', 'params' => array(array('param_name' => 'type', 'heading' => __('Type', csl18n()), 'description' => __('Select how many block grid items you want per row.', csl18n()), 'type' => 'dropdown', 'value' => array('Two' => 'two-up', 'Three' => 'three-up', 'Four' => 'four-up', 'Five' => 'five-up')), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
Example #26
0
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_code', 'title' => __('Code', csl18n()), 'section' => __('Typography', csl18n()), 'description' => __('Add a block of example code to your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/code/', 'params' => array(array('param_name' => 'content', 'heading' => __('Text', csl18n()), 'description' => __('Enter your text.', csl18n()), 'type' => 'textarea_html', 'value' => ''), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_blockquote', 'title' => __('Blockquote', csl18n()), 'section' => __('Typography', csl18n()), 'description' => __('Include a blockquote in your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/blockquote/', 'params' => array(array('param_name' => 'content', 'heading' => __('Text', csl18n()), 'description' => __('Enter your text.', csl18n()), 'type' => 'textarea_html', 'value' => ''), array('param_name' => 'cite', 'heading' => __('Cite', csl18n()), 'description' => __('Cite the person you are quoting.', csl18n()), 'type' => 'textfield'), array('param_name' => 'type', 'heading' => __('Alignment', csl18n()), 'description' => __('Select the alignment of the blockquote.', csl18n()), 'type' => 'dropdown', 'value' => array('Left' => 'left', 'Center' => 'center', 'Right' => 'right')), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_feature_headline', 'title' => __('Feature Headline', csl18n()), 'section' => __('Typography', csl18n()), 'description' => __('Include a feature headline in your content', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/feature-headline/', 'params' => array(array('param_name' => 'content', 'heading' => __('Text', csl18n()), 'description' => __('Enter your text.', csl18n()), 'type' => 'textarea_html', 'value' => ''), array('param_name' => 'type', 'heading' => __('Alignment', csl18n()), 'description' => __('Select which way to align the feature headline.', csl18n()), 'type' => 'dropdown', 'value' => array('Left' => 'left', 'Center' => 'center', 'Right' => 'right')), array('param_name' => 'level', 'heading' => __('Heading Level', csl18n()), 'description' => __('Select which level to use for your heading (e.g. h2).', csl18n()), 'type' => 'dropdown', 'value' => array('h1' => 'h1', 'h2' => 'h2', 'h3' => 'h3', 'h4' => 'h4', 'h5' => 'h5', 'h6' => 'h6')), array('param_name' => 'looks_like', 'heading' => __('Looks Like', csl18n()), 'description' => __('Select which level your heading should look like (e.g. h3).', csl18n()), 'type' => 'dropdown', 'value' => array('h1' => 'h1', 'h2' => 'h2', 'h3' => 'h3', 'h4' => 'h4', 'h5' => 'h5', 'h6' => 'h6')), array('param_name' => 'icon', 'heading' => __('Icon', csl18n()), 'description' => __('Select the icon to use with your feature headline.', csl18n()), 'type' => 'dropdown', 'value' => array_keys(fa_all_unicode())), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_toc_item', 'title' => __('Table of Contents Item', csl18n()), 'weight' => 620, 'icon' => 'toc-item', 'section' => __('Information', csl18n()), 'description' => __('Include a table of contents item', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/table-of-contents/', 'params' => array(array('param_name' => 'title', 'heading' => __('Title', csl18n()), 'description' => __('Set the title of the table of contents item.', csl18n()), 'type' => 'textfield'), array('param_name' => 'page', 'heading' => __('Page', csl18n()), 'description' => __('Set the page of the table of contents item.', csl18n()), 'type' => 'textfield'), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }
 public function xsg()
 {
     $this->sg_map(array('id' => 'x_recent_posts', 'title' => __('Recent Posts', csl18n()), 'section' => __('Social', csl18n()), 'description' => __('Display your most recent posts', csl18n()), 'demo' => 'http://theme.co/x/demo/integrity/1/shortcodes/recent-posts/', 'params' => array(array('param_name' => 'type', 'heading' => __('Post Type', csl18n()), 'description' => __('Choose between standard posts or portfolio posts.', csl18n()), 'type' => 'dropdown', 'value' => array('Posts' => 'post', 'Portfolio' => 'portfolio')), array('param_name' => 'count', 'heading' => __('Post Count', csl18n()), 'description' => __('Select how many posts to display.', csl18n()), 'type' => 'dropdown', 'value' => array('1' => '1', '2' => '2', '3' => '3', '4' => '4')), array('param_name' => 'offset', 'heading' => __('Offset', csl18n()), 'description' => __('Enter a number to offset initial starting post of your recent posts.', csl18n()), 'type' => 'textfield'), array('param_name' => 'category', 'heading' => __('Category', csl18n()), 'description' => __('To filter your posts by category, enter in the slug of your desired category. To filter by multiple categories, enter in your slugs separated by a comma.', csl18n()), 'type' => 'textfield'), array('param_name' => 'orientation', 'heading' => __('Orientation', csl18n()), 'description' => __('Select the orientation or your recent posts.', csl18n()), 'type' => 'dropdown', 'value' => array('Horizontal' => 'horizontal', 'Vertical' => 'vertical')), array('param_name' => 'no_image', 'heading' => __('Remove Featured Image', csl18n()), 'description' => __('Select to remove the featured image.', csl18n()), 'type' => 'checkbox', 'value' => 'true'), array('param_name' => 'fade', 'heading' => __('Fade Effect', csl18n()), 'description' => __('Select to activate the fade effect.', csl18n()), 'type' => 'checkbox', 'value' => 'true'), Cornerstone_Shortcode_Generator::map_default_id(), Cornerstone_Shortcode_Generator::map_default_class(), Cornerstone_Shortcode_Generator::map_default_style())));
 }