Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Allows you to print scripts or styles directly to the wp_head
- * Useful for using it conditionally (like for specific posts or pages)
- */
- add_action('wp_head', function() { ?>
- <script>
- jQuery(document).ready(function($) {
- //code here
- });
- </script>
- <style>
- /*CSS styles here*/
- </style>
- <?php });
Add Comment
Please, Sign In to add comment