- This topic has 5 replies, 2 voices, and was last updated 14 years, 11 months ago by imported_Ryan.
-
AuthorPosts
-
December 13, 2009 at 6:43 am #1132MeginozMember
Trying multiple things to get this working, so thought this should be a new thread as it’s a slightly different issue.
When trying to use the plugin with my own theme I find it doesn’t load the links to all the javascript files. I can get it to work fine locally if I manually add the links to my pages, but obviously I’m missing something as when I try it with Thematic it automatically puts those links in (as did the older Multi-Level Navigation plugin on my own theme). Again, as with my previous question, it’s just the jQuery effects that are not working.
I’d be the first to admit I’m no expert on making WP themes, but wondering if there’s a simple answer/checklist as to what you need to have in your theme for the plugin to work correctly?
Can’t link to this problem live, as the live site is still loaded up with Thematic for my previous question, but if it’s of any help, here’s the generated source of my page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11"><title>Cammeray Tennis Club Inc » Social Clubs</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="generator" content="WordPress 2.8.6" /> <!– leave this for stats please –><link rel="stylesheet" href="http://localhost/cammeray/wp-content/themes/cammeray/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="http://www.cammeraytennis.asn.au/wordpress/wp-content/themes/cammeray/pixopoint.css" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://localhost/cammeray/feed/" />
<link rel="alternate" type="text/xml" title="RSS .92" href="http://localhost/cammeray/feed/rss/" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="http://localhost/cammeray/feed/atom/" />
<link rel="pingback" href="http://localhost/cammeray/xmlrpc.php" /><link rel="alternate" type="application/rss+xml" title="Cammeray Tennis Club Inc » Social Clubs Comments Feed" href="http://localhost/cammeray/social-clubs/feed/" />
<!– PixoPoint Menu Plugin v0.6.15 by PixoPoint Web Development … https://geek.hellyer.kiwi/pixopoint-menu/ –>
<link rel="stylesheet" type="text/css" href="http://localhost/cammeray/wp-content/plugins/pixopoint-menu/css/style.php" /><script type=’text/javascript’ src=’http://localhost/cammeray/wp-includes/js/jquery/jquery.js?ver=1.3.2′></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost/cammeray/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost/cammeray/wp-includes/wlwmanifest.xml" />
<link rel=’index’ title=’Cammeray Tennis Club Inc’ href=’http://localhost/cammeray’ />
<meta name="generator" content="WordPress 2.8.6" /></head>
<body>
<div id="wrap">
<div id="header"><h1>Cammeray Tennis Club Inc</h1>
<p><a href="http://localhost/cammeray"></a></p><div id="imagestrip"></div>
<!–header–></div>
<div id="navcontainer"><!– PixoPoint Menu Plugin by PixoPoint Web Development … https://geek.hellyer.kiwi/pixopoint-menu/ –>
<div id="pixopoint_menu1_wrapper">
<div id="pixopoint_menu1"><ul class="sf-menu" id="suckerfishnav">
<li class="page_item page-item-3"><a href="http://localhost/cammeray" title="Home – Court Bookings">Home – Court Bookings</a></li>
<li class="page_item page-item-2 haschildren"><a href="http://localhost/cammeray/about/" title="About">About</a>
<ul>
<li class="page_item page-item-21"><a href="http://localhost/cammeray/about/map/" title="Map">Map</a></li>
<li class="page_item page-item-23"><a href="http://localhost/cammeray/about/facilities/" title="Facilities">Facilities</a></li>
</ul>
</li>
<li class="page_item page-item-7"><a href="http://localhost/cammeray/coaching/" title="Coaching">Coaching</a></li>
<li class="page_item page-item-8 current_page_item"><a href="http://localhost/cammeray/social-clubs/" title="Social Clubs">Social Clubs</a>
<ul>
<li class="page_item page-item-17"><a href="http://localhost/cammeray/social-clubs/saturday-afternoon-club/" title="Saturday Afternoon Club">Saturday Afternoon Club</a>
<ul>
<li class="page_item page-item-25"><a href="http://localhost/cammeray/social-clubs/saturday-afternoon-club/club-history/" title="Club History">Club History</a></li>
<li class="page_item page-item-27"><a href="http://localhost/cammeray/social-clubs/saturday-afternoon-club/life-members/" title="Life Members">Life Members</a></li>
<li class="page_item page-item-29"><a href="http://localhost/cammeray/social-clubs/saturday-afternoon-club/club-championship-winners/" title="Club Championship Winners">Club Championship Winners</a>
<ul>
<li class="page_item page-item-32"><a href="http://localhost/cammeray/social-clubs/saturday-afternoon-club/club-championship-winners/third-level-page/" title="Third Level Page">Third Level Page</a>
<ul>
<li class="page_item page-item-34"><a href="http://localhost/cammeray/social-clubs/saturday-afternoon-club/club-championship-winners/third-level-page/fourth-level-page/" title="Fourth Level Page">Fourth Level Page</a></li>
<li class="page_item page-item-38"><a href="http://localhost/cammeray/social-clubs/saturday-afternoon-club/club-championship-winners/third-level-page/another-fourth-level-page/" title="Another Fourth Level Page">Another Fourth Level Page</a></li>
</ul>
</li>
<li class="page_item page-item-36"><a href="http://localhost/cammeray/social-clubs/saturday-afternoon-club/club-championship-winners/another-third-level-page/" title="Another Third Level Page">Another Third Level Page</a></li>
</ul>
</li>
</ul>
</li>
<li class="page_item page-item-19"><a href="http://localhost/cammeray/social-clubs/sunday-afternoon-social-group/" title="Sunday Afternoon Social Group">Sunday Afternoon Social Group</a></li>
</ul>
</li>
<li class="page_item page-item-9"><a href="http://localhost/cammeray/contact-us/" title="Contact Us">Contact Us</a></li>
<li class="page_item page-item-43 haschildren"><a href="http://localhost/cammeray/members/" title="Members Area">Members Area</a>
<ul>
<li class="page_item page-item-40"><a href="http://localhost/cammeray/members/rosters/" title="Rosters">Rosters</a></li>
<li class="page_item page-item-48"><a href="http://localhost/cammeray/members/newsletters-email-archives/" title="Newsletters & Email Archives">Newsletters & Email Archives</a></li>
<li class="page_item page-item-50"><a href="http://localhost/cammeray/members/forms/" title="Official Forms">Official Forms</a></li>
<li class="page_item page-item-52"><a href="http://localhost/cammeray/members/membership-contact-details/" title="Membership Contact Details">Membership Contact Details</a></li>
<li class="page_item page-item-54"><a href="http://localhost/cammeray/members/agm/" title="AGM Minutes & Reports">AGM Minutes & Reports</a></li>
<li class="page_item page-item-56"><a href="http://localhost/cammeray/members/committee/" title="Committee Meeting Minutes">Committee Meeting Minutes</a></li>
</ul>
</li>
</ul>
</div>
</div><!–navcontainer–></div>
<a href="http://localhost/cammeray/wp-login.php?action=logout&_wpnonce=d1fe251da5">Log out</a>
<div id="main" class="clearfix"><div class="post" id="post-8">
<h2><a href="http://localhost/cammeray/social-clubs/" title="Social Clubs">Social Clubs</a></h2>
<div class="entry"><!–entry–></div>
<!–post–></div>
</div><!–main–>
</div><!–wrap–><div id="footer">
<!–footer–></div>
</body>
</html>December 13, 2009 at 9:51 am #7412imported_RyanMemberThere are no requirements. It just works automatically.
Are you perhaps using a plugin which unhooks jQuery?
December 19, 2009 at 3:11 am #7413MeginozMemberThere must be something missing from my theme, as it doesn’t automatically add the links to the the javascript files. I had to manually add this to the bottom of my page:
[code:2drz7ebe]<script type=’text/javascript’ src='<?php bloginfo(‘url’); ?>/wp-content/plugins/pixopoint-menu/scripts/hoverIntent.js.php?ver=r5′></script>
<script type=’text/javascript’ src='<?php bloginfo(‘url’); ?>/wp-content/plugins/pixopoint-menu/scripts/superfish.js?ver=1.4.8′></script>
<script type=’text/javascript’ src='<?php bloginfo(‘url’); ?>/wp-content/plugins/pixopoint-menu/scripts/superfish_settings.js.php?ver=1.0′></script>
[/code:2drz7ebe]I have built my theme using this tutorial:
http://www.wpdesigner.com/2007/02/19/so … hemes-huh/I’m wondering if there is something I need to have in my functions.php file?
Currently my functions.php file only contains this, from the above tutorial:
[code:2drz7ebe]<?php
if ( function_exists(‘register_sidebar’) )
register_sidebar();
?>[/code:2drz7ebe]I notice the functions.php in Thematic contains something to enqueue jQuery:
[code:2drz7ebe]// load jQuery
wp_enqueue_script(‘jquery’);[/code:2drz7ebe]I tried adding that into my functions.php file, but maybe I added it in wrong, or maybe that’s not what’s required. I’ve managed to get it working by adding the links manually, but I’d really like to know what I might be missing in my theme that made it not work properly. The page is online now with my theme activated:
http://cammeraytennis.asn.au/wordpress/I have no other plugins installed on the live site other than the standard Akismet and Hello Dolly that come with WP, and they are both deactivated, so I don’t think it can be a plugin conflict.
Thanks
December 19, 2009 at 3:46 am #7414imported_RyanMemberIt sounds like you don’t have the wp_footer() function in your theme … http://codex.wordpress.org/Theme_Develo … _API_Hooks
December 19, 2009 at 5:16 am #7415MeginozMemberThank you!!! That was it!!! *Doing the dance of joy*
December 19, 2009 at 7:35 am #7416imported_RyanMember” title=”Cheesy” />
I imagine a lot of other plugins wouldn’t have worked either.
-
AuthorPosts
- You must be logged in to reply to this topic.