Hi there! I'm currently buildinng a website based on Toolset Blocks for a lot of front page elements like the homepage. Since I'm coding the website from scratch, I would simply love to have full control over the classes on my Toolset Blocks, but currently it's adding a lot of unnecessary classes to my code. Is there any way to prevent Toolset from adding all these classes? Stuff like "wp-block-toolset-views-view-template-block wpv-block-loop-item php-to-be-replaced-with-shortcode" seems a bit unnecassary to me.
A preview can be viewed at hidden link. Thanks in advance,
Kevin
Hi Kevin,
Thank you for contacting us and I'd be happy to assist.
The new block-based editor 'Gutenberg' from WordPress, aims to provide a code-free interface, to add content elements with inline design controls.
While, you can add your own custom classes and IDs, into the output from these blocks, the default HTML elements can't be disabled as they exist to fulfill certain design or functional requirement(s).
If you'd prefer to have the absolute control over the HTML/output, then you can use the classic/legacy editor, instead of the blocks editor.
To enable the classic/legacy editor, you can select the option "Show both the legacy and Blocks interface and let me choose which to use for each item I build" for the editing experience.
( at WP Admin -> Toolset -> Settings -> General )
The guides on using classic/legacy editor are available at:
https://toolset.com/documentation/legacy-features/views-plugin/
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar
Hi Waqar,
That's the feeling I got, so I decided to switch back to the views plugin. Thanks.