Hi Bogdan,
I did a simpler thing
I removed the ad from the mobile theme panel and inserted it directly into function.php with a function that puts it after two paragraphs.
the result does not change
Sometimes the announcement is only partially displayed with a div 600 x 500 that causes it to exit the smartphone screen…
Any suggestion?
Thanks
Hi Simion,
I try to comment those line but does not work…
There want a condition that exclude completely inline ads from tagDiv google responsive renderer…
From theme panel ads if you modify dimension and position still influence also with comment.
Thanks
Thanks Simion, but it seems not simple to solve.
May be you have an easy way to comment some line in that file only to exclude ARTICLE INLINE AD from tagDiv google responsive renderer?
We would all be very grateful to you.
Thanks
Hi Simion,
i and much other prefer dont use plug in. Could you show us the function modification to complete esclude the theme ads sizing? Putting on auto is not enough.
Many other times you have helped us customize the code. This time the reason is very important.
Thanks
ok, but i dont want to use external plugin… every external plugin slow down site…
is it possible to modify some file of theme and use new adsense ads without problem?
thanks
Hi Catalin thanks,
yes, because I came back to the visual composer…
in that case I leave it only on the pages added in \td-speed-booster.php
if(is_single()){
unset($this->style_footer_queue[‘js_composer_front’]);
}
But with tagdiv composer what is the best way to remove all js and css included from articles?
Who has a news site has very few pages and many articles. On articles the speed is very important
Thanks!
-
This reply was modified 9 years by
Bintmusic.
Hi Catalin
for speed single articles how is not used td-composer
how do you delete these files reported by gmetrix?
wp-content/plugins/td-composer/css-live/assets/css/td_live_css_frontend.css
/wp-content/plugins/td-composer/css-live/assets/external/ace/ace.js
/wp-content/plugins/td-composer/css-live/assets/external/ace/ext-language_tools.js
/wp-content/plugins/td-composer/assets/js/js_files_for_live_css.min.js
/wp-content/plugins/td-composer/assets/js/js_files_for_plugin_live_css.min.js
/wp-content/plugins/td-composer/css-live/assets/external/ace/mode-less.js
/wp-content/plugins/td-composer/css-live/assets/external/ace/snippets/text.js
/wp-content/plugins/td-composer/css-live/assets/external/ace/snippets/less.js
thanks
Hi Chris,
version 8 add this new js and css see in gmetrix…
wp-content/plugins/td-composer/css-live/assets/css/td_live_css_frontend.css
/wp-content/plugins/td-composer/css-live/assets/external/ace/ace.js
/wp-content/plugins/td-composer/css-live/assets/external/ace/ext-language_tools.js
/wp-content/plugins/td-composer/assets/js/js_files_for_live_css.min.js
/wp-content/plugins/td-composer/assets/js/js_files_for_plugin_live_css.min.js
/wp-content/plugins/td-composer/css-live/assets/external/ace/mode-less.js
/wp-content/plugins/td-composer/css-live/assets/external/ace/snippets/text.js
/wp-content/plugins/td-composer/css-live/assets/external/ace/snippets/less.js
DO You have found the way to remove them?
Thanks
Hi Simion,
thanks, we are currently using js composer and we have made all the things needed to increase speedsite…
Before switching to TagDiv composer we want to be sure there are no problem also about speed on single articles, not on page…
By a test done really adds 8 css and js on single articles and this is not good. Sometimes is not so easy remove or deregister the styles and scripts… you have not done tests that make the simple thing?
I think it’s useful, as many publishers use ten pages and thousands of articles … optimization and speed is more important on individual articles, I believe…
Can you give me suggestions on which id to use for css and js added by div composer tags?
Thanks
Thanks Bogdan,
In addition to after how many paragraphs mentioned in After Paragraph field, how to add a condition (in td_module_single_base.php) that says there must be a minimum number of paragraphs in the article to show inline ads?
Thanks
-
This reply was modified 9 years by
Bintmusic.
Perfect, thanks Bogdan
Hi Bogdan
I solved the problem of structured data…
I still have a doubt about this php error … is it normal or can it cause some problems?
Thanks
Thanks Bogdan
the error seems very specific on td_module_single_base.php
Fatal error: Class ‘td_module’ not found on /Newspaper/includes/wp_booster/td_module_single_base.php on line 5
With your experience can you advise me what to look more specific about?
Or can it be a problem with php server libraries?
Thanks
Hi Bogdan,
we use theme from 2 years… it always goes well
all is enabled… but now seem to be some problems
take a look to this… is normal?
Thanks
Hi
all ok, but it seems not possible use Theme Mobile with Amp…
Hi
Using newspaper theme Breadcrumb does not seem to contain the title of the page as a last word to the right.
It is correct or there must also be the title of the page in addition to the categories?
Thanks
Hi Catalin,
I tried to remove adsense, the drop in Page Speed is not dependent on what…
Perhaps it depends from the header 7?
…but I also saw that there are other users who are complaining for similar problems of the theme with the latest updates..
Thanks
Hi Catalin
nevertheless it remains that the results on google speed are very strange.
in addition to the problem that I told you, on the individual articles now there is also the warning
Prioritize visible content.
if you click on “displays original screenshot” in google speed result under Prioritize visible content, it seems doesnt like the menu display with logo…
how to solve?
Hi,
so with Newspaper 7.0 how to remove h1 on logo?
It seem logo-text.php is changed and modification code must be another…
Thanks
Hi Catalin
It seem to be ok in home page…
The problem there is still in single articles…
Thanks
Hi Catalin
I have added but did not seem to work…
Same warning on PageSpeed about blocking CSS resources
http://fonts.googleapis.com/…?family=Open+Sans:400,600|Roboto:400,500
Any suggestion?
Thanks
Hi
Yes I have updated to 7.7 and checked.
In PageSpeed there is a warning blocking issues related to
http://fonts.googleapis.com/…:300,400,400italic,500,500italic,700,900.
The only way to eliminate the problem is to put googlefont in css
All I need you to tell me how to eliminate the query that call
http://fonts.googleapis.com…
Where is now, in js?
Thanks
Hi Bogdan
it is very strange…
core files are created if we use php 7 but not with php 5.6…
any suggestion?
Thanks
So with the fix by @meremetia is ok or not? Also to do in mobile theme…
Thanks