Home User profile
tagDiv Member
Editor and programmer of NewsBlaze.
newsblaze
tagDiv Member

Thank. I think I figured out a new way to do it.
I find the Div that holds the code and I hide it from the browser using CSS, but only for the particular post I’m interested in stopping ads.
– That seems to have done it and I have a better method to pick up a custom field and trigger off that, again only for certain posts.

newsblaze
tagDiv Member

I rolled RankMath back by 3 versions and that fixed the problem.
Unfortunately, RankMath automated support is close to useless, so it may be some time before they see the problem and fix it.

newsblaze
tagDiv Member

I have the same problem.
WIll check RankMath

newsblaze
tagDiv Member

How do I “Check in the Tagdiv Composer” for the header?
This is in the header, not in the front page.

I am using the standard Tagdiv “Style1” header.
If there is a way to edit that header, I don’t know how to do it.

newsblaze
tagDiv Member

I had this problem for a while, when using the Dissenter browser.
I switched back to Firefox because it didn’t have that problem.

newsblaze
tagDiv Member

There are plugins for that.

newsblaze
tagDiv Member

I had that problem when I used Ezoic. Try flushing the Ezoic cache.
If the image reappear, youll know it was the Ezoic cache.
My guess is that for some reason Ezoic was blocked from accessing the images and so it stored nothing in the cache.
Are you also using Cloudflare?

newsblaze
tagDiv Member

Yes, this is possible.
1. Go into the theme directory and copy 404.php to 410.php
2. edit 410.php (be careful not to break the code.)
– change ‘Ooops… Error 404’
– to ‘Ooops… Error 410’

This may be deleted when you update the theme, so it would be better to do this by using a child theme and then it will survive a theme update.

The TagDiv team could easily add this to the theme and everyone would have it.

  • This reply was modified 4 years by newsblaze.
newsblaze
tagDiv Member

Mine used to do that, but not with Newspaper 10.

newsblaze
tagDiv Member

If you have Wordfence or Website Guardian – try disabling them just before saving, then reactivate them afterwards, in case they are preventing that transaction.

newsblaze
tagDiv Member

@VBIT – do you mean in the Theme Panel?

If so, are you using Wordfence?
Try disabling Wordfence, make your changes and try to save them, then activate wordfence again.

What version of Newspaper are you using?

newsblaze
tagDiv Member

I just don’t want to load down my site with bloated stuff that isn’t needed.
I also found a big chunk of Buddypress CSS – why is that there?

I’ve removed some of the things I don’t think I need and that has taken the 876K down to 691K. (I estimate I can get it down another 100K.

The minified complete style.css is 648K and the cutdown minified css is 489k

Before, My story pages were loading in 8+ seconds. Now they are loading in 4 seconds.
That is better, but I want them to be faster. That is why I want to remove anything that doesn’t need to be there. I haven’t tried it with the cutdown CSS yet.

I’ve also tried most of the things suggested by Chris, including preventing Visual Composer loading in stories (posts).

After this, I will work on shrinking VC for the front page.

Then, I will try using Varnish and nginx rather than Apache.

newsblaze
tagDiv Member

If you use WordFence, disable it, save the changes and then re-enable Wordfence.

newsblaze
tagDiv Member

Thank you Catalin, but it is much more than the javascript code.
The problem is part of the admin in the theme no longer works with Wordfence activated.
Today, I tried to change the background color. I got the spinning square.
To save that, I had to deactivate Wordfence, edit and save it again and then reactivate Wordfence.
Alan.

newsblaze
tagDiv Member

Thank you @ realgamemedia yes, that was it for me too.

newsblaze
tagDiv Member

I believed it was something to do with a change in WordPress core 4.5 or 4.5.1
But here is what is really weird:
I have a second copy of this theme on a test site and it works on that site, but not on the live site!
I tried setting permissions on the live site so they are the same as the test site, but that didn’t help.
I installed Debug bar, but it doesn’t show any problem.
Tomorrow, I will install all of the same plugins on the test site and see if makes the spinning square.
(I don’t want to uninstall plugins on the live site unless I really have to.)

newsblaze
tagDiv Member

@travisnw – ignore that message. you would think the VC programmers could tell their plugin was being used inside a licensed product, but apparently they can’t or didn’t bother. You just have to ignore that message.

newsblaze
tagDiv Member

Thank you @Recyourtrip I will try that when I get back to the office.

newsblaze
tagDiv Member

Thank you Catalin, I will check that out (I’m a programmer)
Another way it could be done, in the case of a small number of pages, is if there was a way to add CSS on a page-by-page basis.
i.e. I could add something like this:

.td-a-rec-id-content_bottom {display: none;}

Here is what I actually did to get the effect I wanted:
I set the 10 stories that I didn’t want the bottom ads on, to use Template #12
and in the custom code section of the Theme Panel, I did this:

.td-post-template-12 .td-a-rec-id-content_bottom {display: none;}

It would be great if you could add, say 5 custom Post templates, and allow a way to connect those post templates to a particular category or list of categories.

But for now, I made it work to do what I wanted. Lucky it was only 10 pages and not 1,000

newsblaze
tagDiv Member

You can do that with this plugin that I use:

List category posts plugin.

newsblaze
tagDiv Member

Simon, did you add a featured image?
One thing you can try is to install one of the demos. That sets up a lot of things.
Then, just delete all of the demo content.

newsblaze
tagDiv Member

Thank you Chris. I did use a plug that added the first found image as the featured image and it also allowed adding one or more images and then rotating those through posts that didn’t already have a featured image. Very flexible and 1000 times better than manually handling thousands of posts. Quick Featured Images is the one I used – and I got the Pro version.

newsblaze
tagDiv Member

Hi Bogdan.
Newspaper works perfectly, and I am very happy with it.
The only problem is Visual Composer.

My parameters are the same as the requirements.
max_input_vars = 5000
max_execution_time = 300
post_max_size = 50M
suhosin NO

Newspaper 6.7
Database 6.7
Aurora 1.1
Server: Apache
PHP 5.4.33
MySQL 5.5.48
Post_max_size 50M
max_execution_time 300
max_input_vars 5000
SUHOSIN installed false
WP version 4.4.2
WP multisite enabled No
WP Language en_US
WP Memory Limit 64 MB/request
Caching plugin No caching plugin detectedNo caching plugin detected

There are no other plugins installed, this is a fresh installation.
How does VC check it is an authorized installation?
I think it must be related to that.

As a test, it is running on a dev. subdomain. The live site is running in the document root.

The problem is there are no error messages and I don’t see a way to debug what it is doing.
– Also, I have a question –
– why, when this is licenses to Newspaper, does this v 6.7 have a “Product License” menu item (6.5 did not)

Alan

newsblaze
tagDiv Member

Thank you @Bogdan – I just sent the email

newsblaze
tagDiv Member

Mahmoud, I don’t know if this is the reason, but when I loaded your front page, it took 28 seconds. A story page was 26 seconds, and when a popup loaded, it was another 20 seconds.

– I am in Australia but that is still a long load time.
– your initial server response is faster than my server in Dallas, but my photo-heavy pages load in 7 seconds.

Alan

Viewing 25 posts - 1 through 25 (of 26 total)