What is the difference between a PHP snippet with CSS and an actual CSS snippet?
-
There are two ways a user can use Code Snippets (Pro) to implement CSS:
- Create a PHP snippet with CSS (available in free version):
add_action( ‘wp_head’, function () { ?>
<style>
/* write your CSS code here */
</style> - Create a CSS snippet (available only in Pro version) that simply begins with <style> and ends with </style>
What is the difference between using one or the other?
- Create a PHP snippet with CSS (available in free version):
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘What is the difference between a PHP snippet with CSS and an actual CSS snippet?’ is closed to new replies.