Disqus comments are not displayed on phone for posts. Any thoughts?
http://breakwater.wpengine.com/story/featured/2015/01/dixie-belle/
Ps – The more I work with this theme the more I love it’s code and the tech support you folks offer. Great work and thank you.
Thank you Chris for the weekend reply.
I can’t say for sure if they were working prior to 1.4, but they don’t show on my Android s5.
Can you look at my link and tell me if you see them? They show on desktop.
Thanks.
I do know android has had a lot of problems with Disqus over the past couple of years.
Remember that block is loading via JavaScript in a div at bottom of theme. The theme doesn’t load that or apply a ‘hide’ style class to that, it comes entirely from Disqus.
Only CSS for Disqus in theme I know of is the margin hack I posted couple days after theme launch which was rolled into v1.2 I believe, so that it wouldn’t touch the borders.
You are correct, the Disqus comments are not loading on your site on my iPhone 6 in portrait mode. Might be due to having ad banner at bottom of story, or the social links plugin on the post page (I only put mine on home page to not slow down the post for PageSpeed). I have one header ad and two sidebar ads. But I’m also seeing some errors on your home page with the grid, where one image shows twice and then blank boxes — so I see Dixie Bell story twice, then four blank grey boxes. Both portrait and landscape mode.
Great feedback. Now that I am at a computer, Disqus is not showing on posts (both desktop and phone) when enabled. When disabled, wordpress comments take over and are visiable. I know for sure Disqus was just working prior to v1.4 update. 🙁
@ Chris S – Yes, the homepage is a mess while we figure out how to place content and while we create content. Also, great suggestion about starging the homepage fresh.
(Can’t edit forum post after changing display name)
This may also be relevant: I am using the Newsmag child theme.
That might be issue … I always have problems with Child Themes.
And also a trick to update, as you have to do some funky thing I forget, where you have to disable both when updating, and look at changelog for child theme update as with young themes the CHILD THEME MIGHT HAVE CHANGED (!). Which kind of defeats the purpose, I know; but that’s the dealio with that.
I don’t use child themes anymore due to two issues: 1) weird issues with plugins and other things nobody can ever figure out; 2) it’s a CSS redirect, which Google doesn’t like, so we don’t like. 🙂
Well, I switched to the Newsmag parent theme and still Disqus is not working.
I did the Disqus setting of reset > then reinstall, each time. I’ve done that twice.
Wordpress comments always appear in between each reinstall on the post page, where they should be, but no Disqus.
I’m thinking this is a direct result of Newsmag v1.4 update.
I have a v1.3 Newsmag in staging and the comments are working just fine.
http://breakwater.staging.wpengine.com/story/featured/2014/12/dixie-belle-reborn/
But, the v1.4 Newsmag update is not working, as far as Disqus goes.
http://breakwater.wpengine.com/story/featured/2015/01/dixie-belle/
Weird.
Ironically, we’ve decided this year to switch out Disqus and go back to normal WP comments to speed up page load and for privacy issues.
I just updated my theme to 1.4, and I am going to turn on the Disqus so you can test it right now, to see if it’s “just you” …
let me know, so I can then disable it.
try this:
http://ga-ga.com/166/40-something-and-counting-developing-cataracts-at-age-45/
Disqus plugin is active as of 12:16pm PST 1/10/15.
Time 1:20pm PHX
I saw Disqus on your site. Must be another plugin, conflicting. It’s not “just me”; it’s the install.
Thank you for letting me look. Will post follow up.
Gotcha. I’ve had weird “my browser only” issues happen before with IP tables, browser cache and other network oddities. It could happen. Thanks Chris.
Ok, so long story short, I found out it was a plugin causing the conflict; GeoDirectory.
There is a partial solution at the Geo Directory support forum.
Now, this might go outside the scope of the theme support here but, maybe the theme is keeping the solution from working.
Here goes:
I uploaded a Disqus fork and child-theme functions.php code that works in parent and child theme with GeoDirectory off. When GD is activated, the solution doesn’t work. Here it is. In theory this should work, because the original hack, which this is based on, was all in Disqus and it worked with GD and Disqus active.
Reference: http://wpgeodirectory.com/support/topic/conflict-wdisqus-comments/page/2/
Disqus code mode:
if (apply_filters( 'dsq_can_replace_filter', false )){ return false; }// NomadDevs 13-Dec-2014
functions.php code:
add_filter('dsq_can_replace_filter','dsq_can_replace_begin_hook_change',10);
function dsq_can_replace_begin_hook_change(){
global $post;
if(isset($post->post_type) && $post->post_type && in_array($post->post_type,array('places','events'))){return true;}
}
So I’m still in limbo trying to make this all work. I don’t want to use the hack, 1. because I don’t know code and 2. as soon as the plugin is updated, the hack is gone.
Any insight would be a huge help. Thank you!