Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How do I resolve a jquery conflict on my self-hosted WordPress site?

Posted on 2014-02-09
3
395 Views
Last Modified: 2014-02-13
I maintain a site at www.ezrahenderson.com. I have identified a jquery conflict on the EPK page (www.ezrahenderson.com/epk).

If you go directly to that page, it loads just fine.But if you first go to the home page, then click on "Bio" to get to the EPK, the conflict manifests like this:

1. the page is supposed to open in a new tab/window -- this doesn't happen
2. the Wunderslider gallery does not load properly

I used a plugin called "Restore jQuery" to force only the WordPress version of jquery to load, but this breaks the dropdown menu on mobile so isn't a viable solution. I've deactivated this plugin.

If I can't resolve the conflict I'll need to either find a new responsive theme, that properly uses the WordPress version of jquery, or find a new image gallery. I don't have a problem making changes to the theme files but don't know where to start or how to do it in a way that won't break other components.

Thanks for any help!
0
Comment
Question by:nchristianh
3 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 250 total points
ID: 39846169
There is a lot going on in that site.

The reason the _blank is not working is because the link click is being intercepted and an ajax request is made for the link, and then the page is updated with the new content.  In essence you are not leaving the page.

I cannot see any jquery conflict directly but this is probably because you are loading basically the whole page into itself.
It's too messy to track anything down.

You also have some secure to non-secure communication going on giving a security warning.
0
 
LVL 70

Assisted Solution

by:Jason C. Levine
Jason C. Levine earned 250 total points
ID: 39846179
Whenever you have a theme or plugin that loads its own JQuery, dump it and look for something better.  Hard coding a JQuery call is very sloppy and is usually the tip of the iceberg of problems.
0
 

Author Comment

by:nchristianh
ID: 39857033
Thank for the suggestions. I needed some more eyeballs on it to help me decide if a new theme was the best approach or if I could get away with making some theme mods. Sounds like a new theme is the right direction.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Contact Form 7 3 26
jqury 17 34
Remove the hyphen(-) and filesize from the document list and open in a new window? 5 39
forgetful about js objects 8 46
Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question