Add Custom Page Settings for Themes - Custom data in postmeta table #28820
sflwa
started this conversation in
Feature Request
Replies: 1 comment
-
Someone in the Facebook Community helped me with this to create a widget - I'd love for it to be within page options but the widget works well - https://github.com/sflwa/astra-elementor-widget |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Prerequisites
What problem is your feature request going to solve? Please describe..
In Elementor under page settings Yoast for example adds a new tab to edit the yoast settings
Essential Addons for example has Reading Progress, TOC and Scroll to Top as separate sections under Settings
I use WP Astra as my theme and they have some settings which get stored as separate records in the postmeta table - for example to show or hide the page title.
I am trying to see how (if possible) to add a section to page settings and have it save / read from the postmeta table.
I was able to find a test snippet to add a color code, but that (like your data) adds to the _elementor_page_settings field and I need to access a custom field form example - I want to be able to see the value of meta_key='site-post-title" and set the meta_value to either empty (no value) or disabled
I reached out to WP Astra and they said they can't customize elementor. I'm willing to do the work to build this, I just need some help with a code snippet to get started / pointed in the right direction.
Describe the solution you'd like.
The ability to add (either via a plugin or snippet) custom elements to the page settings to edit postmeta information
Describe alternatives you've considered.
No response
Additional context
No response
Agreement
Beta Was this translation helpful? Give feedback.
All reactions