Andrewzz
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [WP FullCalendar] Calendar is not displayingHi,
My problem was a js script I included in the header for a spoiler tag feature, so adding the following after and before the culprit js solve it.
<?php if (!is_page(‘calendar’) ) { ?>
<?php } ?>
The problem is caused by a spoiler hack I’m using for the forum.
<script language="JavaScript" type="text/javascript" src="<?php echo site_url(); ?>/wp-content/plugins/mingle-forum/js/spoiler.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#mingle-spoiler-view li').click(function () { var text = $(this).children('p'); if (text.is(':hidden')) { text.slideDown('200'); $(this).children('span').html('-'); } else { text.slideUp('200'); $(this).children('span').html('+'); } }); }); </script>I included it in the header.php of the theme, do you have any clue why it is conflicting with the calendar script?
It seems it has something to do with the theme, as I have activated the default theme and the calendar worked.
Viewing 3 replies - 1 through 3 (of 3 total)