WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Events Calendar] How I fixed my installation (1 post)

  1. Christiann
    Member
    Posted 5 years ago #

    I was having a problem that a lot of other people had:

    I installed Events Calendar, and it worked fine, but did not display my events. Also, the "next month" and "previous month" links were not displayed. I realized this was because JQuery was not being included. This was because my theme did not include <?php wp_head(); ?> in the header.php file.

    If you want to check to see if this might be a problem on your site, you can just "View Source" and check to see if these lines are included:

    <script type='text/javascript' src='http://omiusajpic.org/wp-includes/js/jquery/jquery.js?ver=1.2.6'></script>
    
    <script type='text/javascript' src='http://omiusajpic.org/wp-content/plugins/events-calendar/js/jquery.dimensions.min.js?ver=1.2'></script>
    <script type='text/javascript' src='http://omiusajpic.org/wp-content/plugins/events-calendar/js/jquery.tooltip.min.js?ver=1.2'></script>
    <script type='text/javascript' src='http://omiusajpic.org/wp-includes/js/thickbox/thickbox.js?ver=3.1-20080430'></script>
    <script type='text/javascript' src='http://omiusajpic.org/wp-includes/js/jquery/jquery.form.js?ver=2.02'></script>

    and

    <!-- Start Of Script Generated By Events-Calendar [Luke Howell | www.lukehowell.com] and [R. MALKA | www.heirem.fr] -->
      <link type="text/css" rel="stylesheet" href="http://omiusajpic.org/wp-includes/js/thickbox/thickbox.css" />
      <link type="text/css" rel="stylesheet" href="http://omiusajpic.org/wp-content/plugins/events-calendar/css/events-calendar.css" />
    
    <!-- End Of Script Generated By Events-Calendar -->

    If not, you are missing the <head> content you need, and it will be included if you just add <?php wp_head(); ?> into the header.php file, just above the </head> tag.

    Hope this is helpful -- it took me a little while to find the problem myself :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.