• Resolved Kamil

    (@kaaamilek)


    Hello kubiq!

    Thanks again for this great plugin. ??

    Is there a possibility to convert the buttons of the accordions with the class “accordion-button” on the whole website globally from a button to a H3 heading for example? That would be very important for search engine optimized texts ??

    Or is this only possible with a “the_content” filter?

    Thanks in advance!

    Kind regards
    Kamil

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author kubiq

    (@kubiq)

    Hello,

    I’m not sure if it’s possible to do it without <button> as there is always a button in Bootstrap documentation https://getbootstrap.com/docs/5.2/components/accordion/#content

    But yes, they use <hX> as a wrapper element, so maybe I can add this with some select for heading level

    Sure if you are advanced coder, you can solve it also with hooks – render_block is what you need and you can see it also in my plugins code

    Plugin Author kubiq

    (@kubiq)

    you can update to version 2.2 – there is a new option to set buttons wrapper for accordion

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Convert Accordion Buttons to Headings’ is closed to new replies.