Thanks @Simion C. for your ideas. I tried them all, and none of them worked to remove the extra code. PS – I also discovered that the “Search” widget was duplicating itself as well.
My work-around was to:
1. Use a Text widget to re-create the Pages widget. I hand-coded the HTML to get the Pages to work correctly in the first Footer.
2. I removed the Search widget which was also duplicating itself from my right side-bar. Not a great workaround and definitely not a good User Experience for my website visitors, but there’s already a search function in the header, so I figured “what the heck.”
PS – These widgets were working fine prior to the last NewsPaper update (Version 7.7). I had not added any new Plugins, nor had I changed the Child theme in any way. So something got changed to cause the widget to get reproduced in the code. Hope that helps.
Thanks,
CHROME 56 HTTP WARNING NEWSPAPER THEME AND HOW TO FIX IT
All, here is a complete summary of the conversation in Google Webmaster Forums that you can use to help fix this error.
[Newspaper team, you should address this in your next release as this is a very bad user experience.]
Google is sending Newspaper theme owners a warning email that your HTTP website is collecting passwords or credit card information, EVEN IF YOU ARE NOT. Because of this, the new Chrome 56 version will warn users that your website is NOT secure!
It’s happening because of the way Newspaper keeps code on the page for the “Header > Top Bar > Show Sign In/Join” option in the theme settings, regardless of whether or not you’re even using the feature. if you look at your page source and search for “password” and “login” you’ll see what I mean, probably 40+ matches between those two terms.
If you are not using this feature you can fix the problem by editing the file /wp-content/themes/Newspaper/parts/header/td-login-modal.php and completely gutting it… this is all that’s left in that file now:
<?php
// removed due to google "Non-Secure Collection of Passwords will trigger warnings in Chrome 56"
?>
Everything still works perfectly but no more login/password code hiding in the source. Plus an added bonus of reducing page size :)The cause is hidden code in the NewsPaper theme that Google found that uses the words “password” and “credit card.”
INSTRUCTIONS: FOR HTTP WEBSITE NEWSPAPER THEME OWNERS. IF YOU ARE NOT COLLECTING ANY PASSWORD OR CREDIT CARD DATA YOU WILL HAVE TO EDIT THE FOLLOWING FILES OTHERWISE YOUR SITE WILL BE MARKED WITH A WARNING IN THE NEW VERSION OF CHROME!
Thanks to James Bassdrop in the Google forums the following fix works to remove the hidden code:
1. Access the following file via your website hosting File manager (I use BlueHost): /wp-content/themes/Newspaper/parts/header/td-login-modal.php
2. Delete all the code in this file and replace with the following:
<?php
// removed due to google "Non-Secure Collection of Passwords will trigger warnings in Chrome 56"
?>
3. Save the file.
4. Access the following file:
/wp-content/themes/Newspaper/includes/wp_booster/td_js_generator.php
5. Comment out these 3 lines near the top. Comment out means to place the two slashes as seen below in front of the lines with a space between the slashes and the “td…”:
// td_js_buffer::add_variable('td_email_user_pass_incorrect', __td('User or password incorrect!', TD_THEME_NAME));
// td_js_buffer::add_variable('td_email_user_incorrect', __td('Email or username incorrect!', TD_THEME_NAME));
// td_js_buffer::add_variable('td_email_incorrect', __td('Email incorrect!', TD_THEME_NAME));
6. Save the file.
NOTE: EACH TIME THE CORE NEWSPAPER THEME IS UPDATED YOU WILL HAVE TO MAKE THESE EDITS NEWSPAPER TEAM – A FIX WOULD BE AWESOME!
THANK YOU
Its called background takeover ads but unfortunately it doesn’t work with newspaper 6
Thank you, that worked perfectly! Here’s what it looks like now…
http://screencast.com/t/HxL1Oihm4X
Thank you again for your excellent customer service!
Hi Alin,
This is my sandbox which is on my desktop server, so I’m not able to send you a link. What other information can I send to help you?
I tried to update from Version 4 to Version 6 following the instructions. I am using a Child theme, so was expecting some minor global navigation issues (typically happened after prior updates).
However, the update completely failed. I tried doing the WordPress way to do the new install. After I complete the required steps, I see either error code or worse, a completely white screen when I try to follow your instructions.
I just did a revert to my Backup of version 4, and thankfully my site appeared again! WHEW!!!
I’m not willing to try this again. Sadly, I will probably be using a different theme as I cannot afford to have my site crash, and can’t update it with the provided files and instructions.
Sorry, but your instructions and the resulting user experience are not good!
Craig
Hi Schauvin,
Although I’m not an expert, I do know you can make responsive ads work with AdRotate, see my screen shot… (http://screencast.com/t/g8BUAcAfnxs). Note that you have to create the different sizes for the responsive ads (I don’t think the software does this automatically).
Also, although I’m not doing so I believe you can actually have no ads at all for certain pages. There are multiple ways you could do this, including creating a custom page type (for no ads) and assigning that page type in NewsPaper.
Another neat trick is to just use the shortcode INSIDE of the newspaper Ad spots. I did this because I was tired of trying to adjust the AdRotate ad to look like the same version I had been using prior to that via NewsPaper Ad in the theme panel. All you have to do is…
1. Create your ad in AdRotate
2. Copy the shortcode and place it into one of the Newspaper Ad positions.
3. Sit back and enjoy the beauty of your ad, controlled by the NewsPaper theme.
Here’s a screen shot showing how the Ad from AdRotate in position on my website using “Sidebar Ad” in NewsPaper… (http://screencast.com/t/2e8sle8Wo)
And here’s a screen shot of the shortcode for the AdRotate ad inside of the “Sidebar Ad” section of the Theme Panel (http://screencast.com/t/wWGEttxhuHF).
Hope that helps!
So Christopher, you were probably waiting with bated breath to hear what Ad plugin I decided to use. I tried Simple Ads Manager but the lack of instructions and the Russianenglish grammar of what instructions were there was causing waaaaaay to much energy. So, I went with AdRotate (free version just for right now) and am MUCH happier that I can actually read the instructions and comprehend them! So there you go. Mystery solved. Thanks for your thoughts by the way, I appreciate it!
Cool, thanks!
Care to cut those choices down for a newb like me?
From the sound of the above, it appears AdRotate might work. But the real question is, are any of these nicer to NewsPaper than others?
Thanks for any advice.
So simple, how did I miss that?
That did it. Fixed! I’m not sure why, but I thought I had tried that before and it had not worked. Well thank you Lucian!
Resolved!
Bump.
Any ideas guys on why the Block code is not working on the Blog page? Would love to get it to look like your demo blog page example.
Hi Lucian,
No, it still does not work. Settings > Reading is set up properly, however the Block is not being executed, instead the default 3 posts from the original blog 3 post setting is executing. My blog had already been in existence prior to using the theme, so I’m wondering if the default code is over-writing the Block code?
Either way, it still is not executing the blog like your demo Blog page.
Here’s the page that is not executing the blog Block: http://www.usefulusability.com/blog/
Thanks for any help!
-
This reply was modified 11 years by
ctomlin.
Yes, and it could easily have happened to me! Just got lucky smart this time.
🙂
Well, unfortunately the blog is in .dev on my local server here at home. Unless they are in the Austin, Texas area this weekend, I’ll probably have to send them screen shots or otherwise show them the setup using Skype.
BTW, thanks for your help Christopher! You’re one smart Newspaper dude!
🙂
And you dear sir assume correct: http://screencast.com/t/RhnJUSrmw
PS – I can’t import the demo themes as I’ve almost completed the site using my version of the themes, so I’m assuming Importing Themes would not be good as it would overwrite my existing theme structure. True?
-
This reply was modified 11 years by
ctomlin.
Thanks, that fixed the problem! Funny how simple stuff frequently causes the biggest issues. I appreciate your help!
Thanks Christopher, I wasn’t aware of that, good info!
Also, I did fix the problem with Google Analyticator. Turns out it’s a more serious issue that causes this problem on any website that is using both Akismet and Google Analyticator. There’s a config.php code error in a file in Google Analyticator that causes the issue. A simple change to the code fixes the problem.
For anyone else that may have this issue you can see the problem definition and solution on the WordPress Support website here…
(https://wordpress.org/support/topic/recent-update-throws-error-in-settings-page?replies=11)
-
This reply was modified 11 years by
ctomlin. Reason: changed hypertext link to show in response
UPDATE> Problem Fixed.
I found the problem, it was indeed a Plugin. The new version of the plugin Google Analyticator caused the Widget menus to disappear. Disabling the plugin fixed the problem. Here’s the plugin and version information that caused the problem…
Google Analyticator:
Adds the necessary JavaScript code to enable Google’s Analytics. After enabling this plugin you need to authenticate with Google, then select your domain and you’re set. Version 6.4.8 | By Video User Manuals Pty Ltd | View details
My guess is the javascript they are using is causing issues with the menu function. I will look for a different Google Analytics plugin to try.
Thank you.
Regards,
Craig
Thanks, I will try that and let you know.
Also, will send a separate email, I have this message upon opening my theme this morning:
“Please activate the theme! – Click here to enter your code – if this is an error please contact us at activate@tagdiv.com”
Yikes!