Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FAQ Plugin
#38
not helped
Code:
$(function() {
  $("#sidebar .faq-wrapper").removeClass("faq-wrapper");
  $("#main-clients .faq-wrapper").removeClass("faq-wrapper");
  $("#footer .faq-wrapper").removeClass("faq-wrapper");
});
helped only the intervention in the plugin code
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');
maybe add the plugin settings?

(2014-06-28, 17:53:31)mvlcek Wrote:
(2014-06-28, 08:05:25)Oleg06 Wrote: I use in the template code
Code:
<?php get_i18n_content('clients'); ?>
and your plugin binds class faq-wrapper and to this block also

You can try to remove the class in a javascript before get_i18n_headers(), e.g.
Code:
$(function() {
  $(".sidebar .faq-wrapper").removeClass("faq-wrapper");
});
Adjust the selector to only identify the content in your sidebar.
Reply


Messages In This Thread
FAQ Plugin - by mvlcek - 2011-05-06, 05:10:02
RE: FAQ Plugin - by hameau - 2012-12-11, 22:36:55
RE: FAQ Plugin - by mvlcek - 2012-12-11, 23:16:39
RE: FAQ Plugin - by hameau - 2012-12-12, 01:13:29
RE: FAQ Plugin - by thisnthat - 2013-11-12, 12:26:47
RE: FAQ Plugin - by Oleg06 - 2014-06-28, 08:05:25
RE: FAQ Plugin - by mvlcek - 2014-06-28, 17:53:31
RE: FAQ Plugin - by Oleg06 - 2014-06-28, 19:11:57
RE: FAQ Plugin - by Oleg06 - 2014-07-02, 10:45:57
RE: FAQ Plugin - by SoHo22 - 2014-10-18, 20:41:24
RE: FAQ Plugin - by mvlcek - 2014-10-19, 02:13:18
RE: FAQ Plugin - by SoHo22 - 2014-10-19, 02:48:12
RE: FAQ Plugin - by maco-nl - 2015-04-13, 05:00:25
RE: FAQ Plugin - by datiswous - 2015-04-13, 07:55:06
RE: FAQ Plugin - by maco-nl - 2015-04-13, 16:24:00
RE: FAQ Plugin - by datiswous - 2015-04-13, 20:51:15
RE: FAQ Plugin - by maco-nl - 2015-04-13, 22:19:04
RE: FAQ Plugin - by Shasaar - 2016-06-25, 22:54:46
RE: FAQ Plugin - by mvlcek - 2016-07-01, 19:46:59
RE: FAQ Plugin - by vanfruniken - 2017-02-12, 01:58:44
RE: FAQ Plugin - by Riianna - 2017-06-10, 21:42:39
FAQ Plugin - by jlm - 2011-05-06, 05:36:27
FAQ Plugin - by Oleg06 - 2011-05-06, 05:37:40
FAQ Plugin - by mvlcek - 2011-05-06, 05:40:53
FAQ Plugin - by mvlcek - 2011-05-06, 06:54:40
FAQ Plugin - by Connie - 2011-05-06, 16:19:14
FAQ Plugin - by jlm - 2011-05-07, 02:21:37
FAQ Plugin - by jlm - 2011-05-07, 16:27:51
FAQ Plugin - by hameau - 2011-05-07, 20:04:43
FAQ Plugin - by mvlcek - 2011-05-07, 21:21:38
FAQ Plugin - by bereza - 2011-07-08, 23:17:44
FAQ Plugin - by Niedes - 2011-09-16, 12:48:16
FAQ Plugin - by mvlcek - 2011-09-16, 15:38:34
FAQ Plugin - by Niedes - 2011-09-16, 22:47:22
FAQ Plugin - by mus.aqeel - 2012-09-05, 06:16:26
FAQ Plugin - by mvlcek - 2012-09-19, 02:23:42
FAQ Plugin - by mvlcek - 2012-09-30, 14:13:12
FAQ Plugin - by mus.aqeel - 2012-10-05, 17:14:58
FAQ Plugin - by mvlcek - 2012-10-05, 18:05:54
FAQ Plugin - by mus.aqeel - 2012-10-05, 20:31:17
FAQ Plugin - by mus.aqeel - 2012-10-05, 21:47:10
FAQ Plugin - by mvlcek - 2012-10-05, 22:13:46
FAQ Plugin - by mus.aqeel - 2012-10-06, 17:23:39
FAQ Plugin - by mvlcek - 2012-10-06, 18:19:30
FAQ Plugin - by mus.aqeel - 2012-10-07, 17:25:40
FAQ Plugin - by datiswous - 2012-10-18, 04:10:32



Users browsing this thread: 5 Guest(s)