Hi Toolset Support,
I'm building some custom cells and its going well. One part of the process I'm getting stuck on is setting the default HTML tag to header.
within the registration of the cell (cell_name_cell_init()) I'm capable of loading up some additional classes to the primary container of the cell. I'm wondering if there is a way to set the HTML tag as well using a similar method to:
'cell-class' => 'primary-title-cell entry-header '
** If possible let me know how to remove the HTML Tag option. It'd be useful for certain cells that should never be changed.
Thanks in advance!:)
It doesn't seem to exist a public argument for that:
https://toolset.com/documentation/programmer-reference/layouts-cells-api/
I assume this would require a feature request.
I will feedback to you on Monday after consulting with the Toolset Layouts developer.
Thanks for the update. Excited to hear back Monday!
There is no public filter for this.
I filed a feature request, which will eventually be implemented according to votes of users requiring this, and other factors.
For now, this requires custom code, since the Layouts Plugin does not offer the public API for this specific part of the Cells.
You could eventually receive help from the Contractors:
https://toolset.com/contractors/
Hi Beda,
Thanks for the update. I just wanted to make sure it wasn't a part of the API prior to coming up w/ a custom solution.
I'm one of the contractors so that takes a few keystrokes out of the process:)
Feel free to close this ticket.