Posted By

manavecplan on 09/12/10


Tagged


Versions (?)

custom list


 / Published in: PHP
 

  1. function checklist($atts, $content = null) {
  2. return '
  3. <div class="checklist">'.$content.'</div>
  4. ';
  5. }
  6. add_shortcode('checklist', 'checklist')
  7.  
  8.  
  9.  
  10.  
  11. .checklist ul {
  12. margin-left:50px;
  13. list-style:none!important
  14. }
  15. .checklist ul li{
  16. padding:5px 5px 5px 30px;
  17. background:#fff url(images/check.png) no-repeat center left
  18. }

Report this snippet  

You need to login to post a comment.