Plugin Directory

Changeset 1833219


Ignore:
Timestamp:
03/04/2018 03:45:29 PM (7 years ago)
Author:
devikas301
Message:

update code

Location:
rockon-woo-variations-table
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rockon-woo-variations-table/tags/6.0/ron-woo-variations-table.php

    r1830300 r1833219  
    226226               
    227227    $data .= '</tr>';   
     228 } 
     229 
     230}   
     231       
     232  $data .= '</tbody></table></div>';
     233
     234 return $data;
     235}
     236
     237 add_action( 'wp_enqueue_scripts', 'rwvt_enqueue_styles' );
     238 function rwvt_enqueue_styles() {     
     239    global $wp_styles;
     240    wp_register_style('RWVT', RWVT_LINK. "assets/css/rwvt_style.css");
     241   
     242    wp_enqueue_style('RWVT');
     243 }
     244
     245 add_action( 'wp_head', 'rwvt_head_scripts' );
     246function rwvt_head_scripts(){
    228247?>
    229248<script>
     
    270289 
    271290</script>
    272 <?php
    273 }
    274  
    275 }   
    276        
    277   $data .= '</tbody></table></div>';
    278 
    279  return $data;
    280 }
    281 
    282  add_action( 'wp_enqueue_scripts', 'rwvt_enqueue_styles' );
    283  function rwvt_enqueue_styles() {     
    284     global $wp_styles;
    285     wp_register_style('RWVT', RWVT_LINK. "assets/css/rwvt_style.css");
    286    
    287     wp_enqueue_style('RWVT');
    288  }
    289 ?>
     291<?php } ?>
  • rockon-woo-variations-table/trunk/ron-woo-variations-table.php

    r1830298 r1833219  
    226226               
    227227    $data .= '</tr>';   
     228 } 
     229 
     230}   
     231       
     232  $data .= '</tbody></table></div>';
     233
     234 return $data;
     235}
     236
     237 add_action( 'wp_enqueue_scripts', 'rwvt_enqueue_styles' );
     238 function rwvt_enqueue_styles() {     
     239    global $wp_styles;
     240    wp_register_style('RWVT', RWVT_LINK. "assets/css/rwvt_style.css");
     241   
     242    wp_enqueue_style('RWVT');
     243 }
     244 
     245 add_action( 'wp_head', 'rwvt_head_scripts' );
     246function rwvt_head_scripts(){ 
    228247?>
    229248<script>
     
    270289 
    271290</script>
    272 <?php
    273 }
    274  
    275 }   
    276        
    277   $data .= '</tbody></table></div>';
    278 
    279  return $data;
    280 }
    281 
    282  add_action( 'wp_enqueue_scripts', 'rwvt_enqueue_styles' );
    283  function rwvt_enqueue_styles() {     
    284     global $wp_styles;
    285     wp_register_style('RWVT', RWVT_LINK. "assets/css/rwvt_style.css");
    286    
    287     wp_enqueue_style('RWVT');
    288  }
    289 ?>
     291<?php } ?>
Note: See TracChangeset for help on using the changeset viewer.