Disqus makes Cufon delay - cufon

I'm having a really frustrating problem. I have a blog, where I use Cufon for post headings. However, I also use Disqus for comments. Disqus adds the javascript it needs directly to the comment-template element, and they seem to load before anything else. This causes a clearly recognizable delay in Cufon taking action.
I have explored the Disqus-plugin source and realized, that the javascript is not being hanged there via a hook (so that it could be unchained and added again to footer), but instead it is directly printed in comments.php. This leaves me with the conclusion that the only solution is to do some javascript-magic?
I'm really hoping someone can help with this issue. Any way to make the Disqus-stuff load after Cufon has initialized? The comments could easily have a 1-second-delay without making a difference in browsing.
Any help is appreciated! :)

This shouldn't happen with the latest Disqus embed code, which is non-blocking. Can you provide a link to where this is happening?

Related

Google appmaker checkbox style broken

This may not be the right place to ask but did Google update their style? Everything is whacky! And Regular and Dark styled checkboxes are not showing properly even though they do seem to assume values.
I don't see the changes in the templates, so maybe I did something wrong somewhere, but I don't recall messing with global styles or anything like that.
Can someone help me understand what is going on? Thanks
EDIT: Answer I found here takes care of adding the css to the particular page through javascript, so adding the code into the onAttach function of the page takes care of my issue.

Keep css when editing in the browser

When I'm experimenting with css (in the dev tools) in the browser, I sometimes need to refresh the page. However, this causes me to lose the changes I've made. Is there a way to prevent this from happening or at least save the state of the last css.
First of all: You can't edit temporarily in the dev-tools and reuse it after you reload the site.
You will need an addon to do this. You could use Stylish to save it into a fake-implementation.
I hope this helps you.
Frustrating it is indeed. What solved the issue for me is using this tool called Browser-sync, this way you can update the css and see the changes at the same time. Give it a go, it's worth it.

Wordpress comments on a separate page

I have a wordpress website which contains many controversial topics. The problem is that the comments become really so long that the scroll bar becomes really small, which is annoying for the reader and gives the impression that the page requires endless reading, which is not attractive.
Is there a way to show comments on a separate page, or at least have the comments show up after clicking on some button. And must this be theme-dependent? I currently use twenty-fourteen theme, but a general solution would be nice. I'm wishing there's a plugin that would do the job, but I couldn't find any. Please assist.
Thank you.
Take a look at https://disqus.com/ and https://wordpress.org/plugins/disqus-comment-system/
You can get a button that loads more comments, offload comments to their server to reduce the load on your host, require a login to comment, and more.
The solution I found is a plugin called "Hide Show Comment". It simply adds the magic, with which you can press a simple button and show the comments.
https://wordpress.org/plugins/hide-show-comment/
The only annoying thing I found with it is that you have to purchase it in order to change the number of comments you show per click. However, I don't think 5$ is too much. It's very convenient.

WP Cufon not working in Firefox

I am using the plugin WP Cufon on my Wordpress website, however, the font is not displaying in Firefox. Chrome and Safari are working fine. Can't seem to figure out what the issue is. Looking at the source, it is loading everything, just not displaying...
http://gonuttzo.com
Any help would be soooo appreciated! This is driving me batty.
Thanks in advance!
Cufón doesn’t work in Firefox, but works in other browsers
Cause
This issue is almost certainly caused by an empty stylesheet () in your HTML, which causes Cufón’s CSS load detection to fail. This has been happening in recent versions of Firefox only, and seems to occur a lot with purchased WordPress templates. Note that this snippet will cause your browser to load and use your front page as a stylesheet. It’s pretty much the same as href="/". Extra slowness for zero gain.
Solution
Search your HTML for empty stylesheets. Note that the markup on your site may differ from the example, but searching for href="" might save you some trouble. Also, make sure to use the actual HTML (e.g. View Source in your browser) while doing this, if you only go through your template files the issue might be very difficult to spot as the empty href can be masked by, for example, a variable that has an empty value or a function call that returns an empty value.

In-text hyperlinks shown by Internet Explorer without the following space. What can be the reason? YUI?

I've a problem which is most likely some ugly CSS mistake, but I just can't spot the solution (and a few changes I tried did not help).
Some of in-text hyperlinks (not all!) are shown by Internet Explorer without the following space.
here is the example
See the link WatchBot just below the Rationale title (and a few similar links deeper in the article). Firefox, Opera, Chrome, Konqueror - all display it properly: WatchBot can. IE (6.0 but IIRC also 7.0) displays it as **WatchBot***can*.
I am using Yui-reset and yui-base. Is it possible that those libraries cause the problem?
Do you have a script running on, and altering, the content in any way? I say this because the page loads normally initially, but looks as though it undergos some modification later in the loading lifecycle.
If you think reset or base are making this happen try removing them one at a time - I haven't had any experience of this error before however (I usually use the full whack: Reset, Grids, Base and Fonts).
What I did notice however is that the first WatchBot link of the page is simply this:
<p>Have you ever been curious how is
WatchBot
picking the games to observe and save? Here is the explanation.</p>
Where as the second link looks like this:
<span>Due to the FICS limitations </span>
WatchBot<span> can
I have no idea what that second span is doing there - might be something to check up on. (It validated fine however - so there's definitely an closing span somewhere).
I'd say a good place to start would be to but a space after the anchor but before the span, rather than right after the span start tag.
Current state of the things: as steve_c spotted first, and buti-oxa confirmed, it looks like the layout is being spoiled by javascript (and as Ross noted, some extra spans are injected). Thank you all, I missed it.
I am to make experiments and selectively disable those scripts (analytics and google ads) to check whether it helps (my current bet is that maybe I have some HTML error or naming conflict)
Did you try to disable pageTracker? It seems to be the only script on your page, and it looks fine to me in its static form.
EDIT: I wondered what span Ross was talking about - I did not see any. I viewed the source. I just learned that Firefox allows to see both source and generated source (Toos/Web Developer/View Source). Sure enough, generated source has additional span inserted.
Solution: my page was spoiled by the text-link-ads script (which, in fact I activated on English blog by mistake - this is script by adkontekst.wp.pl, Polish firm). After disabling it everything is OK.
Thanks for everybody who pointed me into the right direction.

Resources