not helped
helped only the intervention in the plugin code
maybe add the plugin settings?
Code:
$(function() {
$("#sidebar .faq-wrapper").removeClass("faq-wrapper");
$("#main-clients .faq-wrapper").removeClass("faq-wrapper");
$("#footer .faq-wrapper").removeClass("faq-wrapper");
});
Code:
$('.article .faq-wrapper h1, .article .faq-wrapper h2, .article .faq-wrapper h3, .article .faq-wrapper h4, .article .faq-wrapper h5, .article .faq-wrapper h6').addClass('faq-question').addClass('closed');
processHeaders('.article .faq-wrapper h1','h1');
processHeaders('.article .faq-wrapper h2','h1, h2');
processHeaders('.article .faq-wrapper h3','h1, h2, h3');
processHeaders('.article .faq-wrapper h4','h1, h2, h3, h4');
processHeaders('.article .faq-wrapper h5','h1, h2, h3, h4, h5');
processHeaders('.article .faq-wrapper h6','h1, h2, h3, h4, h5, h6');
(2014-06-28, 17:53:31)mvlcek Wrote:(2014-06-28, 08:05:25)Oleg06 Wrote: I use in the template code
and your plugin binds class faq-wrapper and to this block alsoCode:<?php get_i18n_content('clients'); ?>
You can try to remove the class in a javascript before get_i18n_headers(), e.g.
Adjust the selector to only identify the content in your sidebar.Code:$(function() {
$(".sidebar .faq-wrapper").removeClass("faq-wrapper");
});