php - Trying to generate a CSS file in wordpress uploads folder

When we customise the page in WordPress, it shows Additional CSS option in left panel, Customizer settings are saved by

When we customise the page in WordPress, it shows Additional CSS option in left panel, Customizer settings are saved by hitting the ‘Save & Publish’ button. This also saves our custom CSS added in the Additional CSS section, This custom added CSS is placed in the HTML head section on the frontend so that the changes can be applied to the frontend. (Can be checked by viewing the source code from the frontend.)

My task is,

To save this CSS in a file in the upload folder dynamically Render the custom CSS from the file. (that was just generated dynamically in 1st step above.) Remove it from the HTML head section. Otherwise, the custom CSS will be rendered twice. please can anyone suggest some code to perform this? Thanks

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742257224a4410242.html

相关推荐

  • php - Trying to generate a CSS file in wordpress uploads folder

    When we customise the page in WordPress, it shows Additional CSS option in left panel, Customizer settings are saved by

    1天前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信