Extract CSS from Divi cache file.
Budget: $30 – $250 USD
Problem:
When creating custom Header or Footer in theme builder, Divi creates CSS file with random filename:
https://divi.cmsbased.net/wp/wp-content/et-cache/6/et-core-unified-cpt-6-16247173328091.min.css
This CSS is required by external app and needs to be easily accessible.
Solution:
I have an existing plugin that creates API endpoints for Header and Footer HTML.
https://divi.cmsbased.net/wp/wp-json/wp/v2/divi_html_header/6/
Need to add WP API endpoint with predictable URL (register_rest_route function) that contains missing CSS so external app can reference it and use it.
Api endpoint may look like this:
/wp-json/wp/v2/divi_html_header/6/css
When creating custom Header or Footer in theme builder, Divi creates CSS file with random filename:
https://divi.cmsbased.net/wp/wp-content/et-cache/6/et-core-unified-cpt-6-16247173328091.min.css
This CSS is required by external app and needs to be easily accessible.
Solution:
I have an existing plugin that creates API endpoints for Header and Footer HTML.
https://divi.cmsbased.net/wp/wp-json/wp/v2/divi_html_header/6/
Need to add WP API endpoint with predictable URL (register_rest_route function) that contains missing CSS so external app can reference it and use it.
Api endpoint may look like this:
/wp-json/wp/v2/divi_html_header/6/css