Skip to content

Instantly share code, notes, and snippets.

@DannyOutlaw
Created August 17, 2016 18:22
Show Gist options
  • Save DannyOutlaw/99b13c45391165106db7e91852c23c23 to your computer and use it in GitHub Desktop.
Save DannyOutlaw/99b13c45391165106db7e91852c23c23 to your computer and use it in GitHub Desktop.
<?php
/**
* Shortcode handler
*/
$classes = array( 'my-second-element' );
$classes[] = $features;
?>
<!-- test -->
<?php echo $features;?>
<div <?php cs_atts( array( 'id' => $id, 'class' => implode( ' ', $classes ), 'style' => $style ) ); ?>>
<img src="<?php echo $image;?>" style="padding: <?php echo $image_padding; ?>;">
<?php echo $content; ?>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment