Support

Account

Home Forums General Issues PHP as CSS with ACF field Reply To: PHP as CSS with ACF field

  • You cannot do this because nothing in WP is loaded for the CSS file.

    You need to use admin_ajax.php to load a dynamic CSS file.

    https://bappi-d-great.com/how-to-write-dynamic-css-in-a-php-file-in-wordpress/