Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(document).ready(function($) {
- var block_class = 'block-field-therapy-offered';
- var item_icon = 'mi wifi_tethering';
- var content = $('.' + block_class + ' .pf-body > p').html().split(',');
- if ( content && content.length ) {
- $('.' + block_class + ' .pf-body').html('<ul class="details-list social-nav"></ul>');
- $('.' + block_class + ' .pf-body ul').html('<li><i class="' + item_icon + '"></i> <span>' + content.join('</span></li><li><i class="' + item_icon + '"></i> <span>') + '</span></li>');
- $('.grid').isotope();
- }
- });
Add Comment
Please, Sign In to add comment