• Hey
    I want to add a textfield to the sections controller in Elementor through my plugin. I need to be able to write text in a text input field that will be added to the CSS class output that Elementor creates.

    There was some coding examples on how to do this on widgets by DTBaker but they seem to not work in the latest versions of Elementor.

    And I need it on a section not a widget.

    Any ideas, any help would be awesome. If I can fix this you all will get my Elementor Add-on before new years eve ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Can you provide an example such as git or gist?

    Looking at Dave’s article it appears one could refer to changes in these files -> (wp-content/plugins/elementor/includes/widgets/*.php) to compare any differences with the newer version(s) of Elementor.

    I’m thinking it could likely be some naming conversion(s) that have changed as this plugin is still in heavy development without an official API where we have some “sticky” standards to rely on when coding our own add-ons. We risk writing what we can for now and should almost expect them to break until we get that coming soon API.

    I might play around with adding an id attribute to sections since that’s been shot down already by the Elementor team to not likely ever happen since the inclusion of the anchor element now exists AND they worry that the id att would easily be duplicated by those that do not know id atts should be unique and *could* end up breaking something. Since I work in the web, I can now use something like that at my discretion without needing to convince the Elementor team non-web-saavy folks won’t break their websites.

    I’ll use Dave’s approach and report back how it goes.

    Thread Starter Andreas Kviby

    (@andreaskviby)

    I would be greatly grateful and you will get my PRO version for free.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hooks & Actions to alter sections’ is closed to new replies.