• CodeTips

    WordPress Tip: Enqueuing Inline CSS

    - by GB

    We’ve been working with WordPress for years, but there are still some gems to be discovered within the WordPress Codex. This beauty has been around since version 3.3, but I was not familiar with it until very recently.

    Ever needed to include a variable, inline style for your plugin or theme? Enqueueing external CSS files with WordPress’ wp_enqueue_style() function (and its companions) is pretty good but it lacks the functionality to include inline CSS styles. Or does it?  … continues

Load More