NVM – Not related, was from the pulgin. BUT, still can’t see header ad.
I don’t know if this is related, but with 1.4 I was able to get all *.js errors cleared on my homepage. Now, with 1.5, I get two recurring *.js errors.
Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "http://riverscenemagazine.com" from accessing a frame with origin "https://platform.twitter.com". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "https". Protocols must match.
Not sure why twitter http vs https is an issue, nothing is using it on the homepage.
Again, this is new after update. Thank you!
-
This reply was modified 11 years by
Breakwater.
Sorry again, it’s that pesky GeoDirectory plugin. When it is disabled, it wrecks havoc through the theme. I try to disable it and do testing, but with it ‘off’ it breaks all the things.
Everything works when it is enabled. I hate to think what it will do if I try and uninstall it.
Sorry again, it’s that pesky GeoDirectory plugin. When it is disabled, it wrecks havoc through the theme. I try to disable it and do testing, but with it ‘off’ it breaks all the things.
Everything works when it is enabled. I hate to think what it will do if I try and uninstall it.
Yep. Site-wide, all Modal lightboxes are broken. Carousel is broken. What gives guys?
Wait…
Now, when I try and get post images to Lightbox, they will not lightbox at all. Instead, they open to the media item directly.
Any thoughts?
http://riverscenemagazine.com/story/community-spotlight/business/2015/01/havasu-pest-control/
(may not see, behind maintenance window)
Nevermind. Found it in the Theme Settings under Post > Feature Image > Lightbox on/off.
I’m not sure, why, but I keep getting changes to the behavior and I’m not sure if it is me, updates, plugin conflicts or bugs.
Sorry for unnecessary posts.
Here you go: Search bar above works good too 😉
https://forum.tagdiv.com/topic/a-few-questions/#post-29762
Item 1
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!
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.
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.
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/
(Can’t edit forum post after changing display name)
This may also be relevant: I am using the Newsmag child theme.
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.
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.
Any update on Disqus comment count on posts showing up in theme count site wide?
So, I don’t know why it did what it did. But the left padding was set to -21px. I never edited the main css file to cause that.
So I added a Custom CSS to move left padding back to 0px.
.td-post-image-full {
left: 0px;
}
Edit: I looked in your theme download *.zip from ThemeForest.net and it is hard coded in the *.css file to have that padding.
I don’t know why you guys did that, but I only noticed because my inline article ad banners were aligned left and your documentation shows them positioned in the center.
-
This reply was modified 11 years by
Breakwater. Reason: Found bug in css maybe?
-
This reply was modified 11 years by
Breakwater.
Dumb question <noob>
The theme devs use and !get_field('hide_ad') for hiding ads. Why the !
But the theme user above used and get_field('show_author') for showing author. Why no exclamation point?
Nevermind, found the answer by googling.
“Not ( ! ), Not Equal to ( != ), Not Identical to ( !== )
Used in conditional statements to evaluate as true a FALSE result of an expression or if a value is NOT equal to the second value.”
-
This reply was modified 11 years by
Breakwater. Reason: found my own answer
Can we get an update on this tutorial and application for Newsmag theme? Thanks.
Thank you Lucian, will try and get back to you with status.
I can not get DFP to work at all. Code checks out through the google debug console, but ads do not render in browser. 🙁 Moving to AdRotate and will try and play with it after launch from through wpengine staging.
A workaround that I came up with was to create a standard WordPress gallery in a VC text element and then add to the shortcode the [tagDiv] shortcode text that makes it work right.
[gallery type="slideshow" link="none" size="medium" ids="192,205,226,198,189,186,165"] and add this
td_select_gallery_slide="slide" makes it work as this entire shortcode.
[gallery type="slideshow" link="none" td_select_gallery_slide="slide" size="medium" ids="192,205,226,198,189,186,165"]
Tedious to do on something like “photo of the day”, but makes it work.
Still, I would like a feature added to make your td_select_gallery_slide work in VC.
rnbjunk , I’m looking for a similar solution to use Google DFP in all the ad locations. What have you come up with?
Thank you.
Also, I was trying to make this change using child theme *.php files. Maybe that is a mistake and I need to make the change to the original theme files? What do you think?
Thank you for the quick reply @Christopher – I tried hard to get it to execute the short code in <php given the above information. I was hoping it was just me and my noobness. Maybe there can be a site wide trending now ticker that can be enabled in a future update?
Hi @Lucian , I can not get your @gmdirect solution to work in Newsmag. Can I get the whole code as it should sit in single.php ? I would like to have that Trending Now ticker on all post pages, so any visitor, to any post will see announced content. Thanks.
-
This reply was modified 11 years by
Breakwater.