Wordpress posts having odd issue all of a sudden - javascript

I'm running into an odd problem on my Wordpress site ( www.ez007.net). My most recent posts don't finish loading properly. The last two pieces that usually load on my page is the green vote buttons and the text in the right sidebar. But for some reason the page stops loading and these elements stay unloaded. Images below to explain
An older good post, you can see the red and green vote buttons are working and the text in the right hand sidebars looks clean:
One of the newer posts with issues, see the red and green vote button are not showing and the text in the right hand sidebar is all ski-whiff:
This only occurs on the last 10 or so posts on my website, and I made no changes to code or anything else when this started occurring.
It's really hard to explain and I can't even begin to understand how I can start troubleshooting this issue.
Any help would be amazing, I'll add the HTML output from both pages. Please let me know what else is needed? Thanks.
I realize there are errors in the code but I'm in the process of working those out, and the theme was working fine for a number of weeks before this issue started occurring.

The problem lies in a missing CSS file on the templates with the issue - on the home page the following CSS file is referenced :
http://www.ez007.net/FreeSamplesAustraliaByMailOnly/wp-content/plugins/wordpress-popular-posts/style/wpp.css?ver=3.3.4
The link tag for this CSS file is missing on this page:
You've probably got to fix that wherever your wp_enqueue_style() calls for that particular template are made.
The reason the issue is occuring:
The wpp.css file contains the rules for the class wpp-thumbnail this class applies display: inline and float: left to the thumbnail image which is what lets the description text sit to the right of the image.

Related

js corrupt file only working on some pages

I am making a magento webshop, but i have run into some problems with the theme i am using.
I bought it on themeforest, and i have asked the developer for help, but it takes ages for them to answer and come with a real solution to fix the problems, so now i am seeing if someone here can help me solve the problem.
The webshop: http://new.webhipster.dk/index.php/home-left
When i add items to basket ("Læg i kurv"), it only works on the front page (the link listed above). When i go to another page, it won't add the item to basket. (e.g. http://new.webhipster.dk/index.php/roedvin.html)
So my guess is that there is a corrupt js file, but what i don't understand is, that it is the same code which is generated in header on both pages - but still it doesn't work on any other page but the frontpage.
How do i figure out what js file is corrupt and isn't loaded properly?
I have gone trough each one to see if they load, and it seems like they all load exactly like they do on the frontpage.
I guess you are missing a library required for it or might be css. As error in your console window say that it could not found css property.
Because when I tried accessing url directly from browser it's adding items into cart
For Example you are calling -
setLocation('http://new.webhipster.dk/index.php/checkout/cart/add/uenc/aHR0cDovL25ldy53ZWJoaXBzdGVyLmRrL2luZGV4LnBocC9ob21lLWxlZnQ,/product/2/form_key/1Tfx79G6V33Q7l2Q/')
Now try accessing it from the url something like
http://new.webhipster.dk/index.php/checkout/cart/add/uenc/aHR0cDovL25ldy53ZWJoaXBzdGVyLmRrL2luZGV4LnBocC9ob21lLWxlZnQ,/product/2/form_key/1Tfx79G6V33Q7l2Q/
and this will add item in your cart.
Now you debugging should start from function setLocation(). Try doing file search for setLocation function. and check where it is failing.
Hope this will help you atleast for debugging.

How to make more than two jQuery scripts work in a single webpage

-Test link for the problematic webpage-
This webpage is a landing page to a parent website. There are several javascripts that are required to run. Unfortunately, not all work simultaneously. I have tried various combinations but cannot find a way to make the webpage work.
The functions taking place in the webpage are:
Revolutionary Slider
Multiplication calculator
tabs toggler
smooth scroll-to-section menu
back-to-top button
Fancybox (lightbox)
Please help . Thankyou
Errors generated by your page
indicate that jQuery library is not the first script you are loading.
Looking into source show that you are loading jQuery in line 75.
Move this line to very top of your page.
I think this is your primary problem. Your scripts may not necessarily require different jQuery versions.

Fancybox not firing - Wordpress

I feel really dumb for not being able to see this but for some reason I can't even get the basic portion of fancybox to work on my website.
I would think it'd be a conflict but I stripped the other scripts out of it and it still wouldn't fire.I've double checked to make sure I only have jquery loading once because I've been guilty of that before so I'm not sure what the issue is.
Can someone point me in the right direction?
The site is http://southernjewlz.com and at the very bottom left under the footer is a link that says "test" that should be linked up to display the logo in a popup.

Clearbox JS "messages"

I am currently running Clearbox JS on my site so that users may view a larger version of an image once they have visited the images page. Now, I just recently implemented this and I have noticed that on every single page at the top of the page Clearbox JS echos the command that it is doing. Whether it be initializing, or viewing an image, or event rotating an image. I really do not want this message popping up at all. I would much rather being required to put a link somewhere on the website to the developers website then having to deal with this. If anybody knows how to remove this, please answer. I am providing a link to the website so that you know what I am doing as well as a pastebin link to the clearbox.js file which is the config file.
website: www.dsdwebdesign.net/bootstrap_apgnew/index.php
pastebin: http://pastebin.com/NgBgc34X
Try this somewhere in your page, or the cb_style.css file (but make sure you read their conditions, I am not sure if you are allowed to do this with this piece of software):
#CB_OSD{
display:none!important;
}
It should hide the box at the top.

jQuery 1.7.1 slider not working except on homepage

I have tried to place the slider on every page on this website: http://atripathi.com
It works on the homepage, but doesn't work on any of the other pages (About, Services, etc.)
I know it's probably an easy fix, but I can't get it at the moment.
Thank you for any help or suggestions!
Looks like the original suggestion above is correct. I'm seeing slider javascript includes at the top of your homepage that aren't on the other pages.
Generally, a good way of troubleshooting is to make copies of both pages, index-c.php and about-c.php perhaps, and start removing everything that isn't pertinent to the trouble you're having (other HTML, css includes, etc.) until you get down to only the slider on the page. Once you've done that, you might notice that the one page is slightly different than the other, making it work. You can copy back and forth until it does.
The other possibility is that there's a relative path problem somewhere, because your one page is inside a folder (though I'm guessing you have a .htaccess redirect to a root folder page)? So if all else fails, move the reduced about-c.php to the root folder and see if that then works. If so, you know it's a path problem.
Hope these suggestions help.
I see that jQuery is being included on all your pages but the cycle plugin is only included on the home page. You should be able to update your template(s) to fix this.

Categories

Resources