uploads - Add media library items to Menus using the Customizer (via Media Manager not URL)
You can add links to files in the media library URL via the Custom Links panel of the Customizer but for clients this requires multiple steps including cutting and pasting a URL from the media library (from a box that is much smaller than the URL!) and it's not the best user experience. I am surprised that
- This isn't already part of WP Core
- I couldn't find a plugin to handle this.
I have looked into the settings but cannot seem to figure this out.
- $wp_customize->add_section
- $wp_customize->add_setting
- $wp_customize->add_control
As my backend coding is not great I have mocked up a visual.
N.B. Someone else has added it to WordPress ideas here. Votes appreciated.
最新文章
- 2015年形成的计算机发展趋势 Windows10依然强势
- 谷歌重塑软件业务围剿苹果
- 苹果兜售没用软件脸不红心不跳
- [连载]巨头“心血之作”终失败(四):intel Larrabee图形芯片
- javascript - Chrome Extension with proxy, onAuthRequired never being triggered - Stack Overflow
- dataframe - Dataset uploaded and verified, but cannot use read.csv - Stack Overflow
- responsive design - How achieve given UI using custom clipper in flutter - Stack Overflow
- rust - Basic bracket-lib example crashes with “unsafe precondition(s) violated: slice::from_raw_parts” - Stack Overflow
- python - How to explicitly define a function's domain in sympy - Stack Overflow
- Flutter - individual bloc states - Stack Overflow
- python - CERT_PATH points to the wrong directory even though I set it correctly in my Django project - Stack Overflow
- postgresql - How to divide two NUMERIC values and get a result that has the maximum number of digits the NUMERIC type supports?
- Keeping Data In Denormalized NoSql Databases (CassandraScyllaDb) Tables In Sync? - Stack Overflow
- java - XSLT 3.0 chained burst-streaming with saxon - memory consumption considerations - Stack Overflow
- python - NaN loss output when training DNN with Keras - Stack Overflow
- node.js - How to Deploy an Angular 19 SSR App on AWS Amplify? - Stack Overflow
- artificial intelligence - Pinecone similarity_search Returning Null - Stack Overflow