Advertisement
Guest User

Untitled

a guest
Mar 16th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 3.0.8.0
  8. * @ Author : DeZender
  9. * @ Release on : 25.09.2017
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. function limit_words($string, $word_limit)
  15. {
  16. $words = explode( ' ', $string );
  17. return implode( ' ', array_slice( $words, 0, $word_limit ) );
  18. }
  19.  
  20. function remove_cssjs_ver($src)
  21. {
  22. if (strpos( $src, '?ver=' )) {
  23. $src = remove_query_arg( 'ver', $src );
  24. }
  25.  
  26. return $src;
  27. }
  28.  
  29. function wpmod_scripts()
  30. {
  31. wp_register_script( 'jquery-12', get_template_directory_uri( ) . '/js/jquery-1.12.2.min.js', array( 'jquery' ), '1.12.2', false );
  32. wp_enqueue_script( 'jquery-12' );
  33. wp_register_script( 'bootstrap-js', get_template_directory_uri( ) . '/js/bootstrap.min.js', array( 'jquery' ), '3.3.6', true );
  34. wp_enqueue_script( 'bootstrap-js' );
  35. }
  36.  
  37. function wpmod_styles()
  38. {
  39. wp_register_style( 'bootstrap-css', get_template_directory_uri( ) . '/css/bootstrap.min.css' );
  40. ..................................................................
  41. ........................................
  42. ....................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement