Viewing 3 replies - 1 through 3 (of 3 total)
  • It seems, we need to hard-code ??
    For example, to put H3 tags in accordions, modify shortcodes.php at line 91:
    return '<div class="su-spoiler su-spoiler-style-' . $atts['style'] . ' su-spoiler-icon-' . $atts['icon'] . su_ecssc( $atts ) . '"' . $atts['anchor'] . '><h3 class="su-spoiler-title"><span class="su-spoiler-icon"></span>' . su_scattr( $atts['title'] ) . '</h3><div class="su-spoiler-content su-clearfix" style="display:none">' . su_do_shortcode( $content, 's' ) . '</div></div>';

    @ayek, So what will happen to the code when I’ll update the plugin?

    Ordinary spoiler titles become H2 or H3 titles (with their spoiler functionality, of course). It does well on SEO, regarding to the semantic structure of a web document.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Accordion accessible’ is closed to new replies.