Home User profile
tagDiv Member
Check out my web development site https://giacomolaw.me My blog is here: https://www.thenerdystudent.com
GiacomoLaw
tagDiv Member

Thanks. Is there any way to see the diff of the speed enhancement changes? I’d be happy to implement them in my sites version.

Thanks

GiacomoLaw
tagDiv Member

In addition, I cannot change to Super Cache as it does not offer the customisation that I require for my site.

I’d just like to know if there are any code optimisations in versions above 9.5.

GiacomoLaw
tagDiv Member

W3 works well with version 9.5 on both themes, and therefore I am not updating unless there are speed updates to the code itself. Are there any in later versions, such as code improvements that will give more speed to my site?

Thanks

GiacomoLaw
tagDiv Member

PHP edit works great, thank you

GiacomoLaw
tagDiv Member

That’s a pity. Thank you.

GiacomoLaw
tagDiv Member

Okay, thanks. I have experience with WP optimisation, just Newspaper seems to be very stubborn and slow.

> Lately, Google Page Speed Insight seems to change the layout and is not always reliable.

Yep, I’ve also noticed this.

Guess I have the site as optimised as possible. It seems to load on mobile in around 6 seconds, which is okay I guess.

Thanks for the help!

GiacomoLaw
tagDiv Member

Thanks!

GiacomoLaw
tagDiv Member

I can’t find that section in my install, I am using 9.5 as said in the title.

Thanks!

GiacomoLaw
tagDiv Member

Thank you!

GiacomoLaw
tagDiv Member

Great, thanks.

GiacomoLaw
tagDiv Member

I have done that, however they do not show on my AMP pages:

https://www.thenerdystudent.com/2018/11/putio/amp/

Thanks

GiacomoLaw
tagDiv Member

Thanks! ?

GiacomoLaw
tagDiv Member

I think that 9.5 will be the latest version. I spent hours configuring W£ to be perfect, and to be honest, don’t see any benefits in updating.

Hopefully AMP is fixed, and W3 support is added again, then maybe I will update. Pretty disappointed that features are always broken in nearly every update.

GiacomoLaw
tagDiv Member

That’s odd. I’m using W3 for years, and it’s been great so really relucatant to update if it isn’t supported. The button shows as red for me and says W3 isn’t supported.

Have you managed to get the AMP working?

GiacomoLaw
tagDiv Member

Great, thank you.

GiacomoLaw
tagDiv Member

Thank you, appreciate it!

GiacomoLaw
tagDiv Member

Hello? Is it possible to get these files sent to my email? I can provide my licence details.

GiacomoLaw
tagDiv Member

I don’t see this:


<?php

/**
* Style template.
*
*/

if (!defined("TD_THEME_NAME")) {
return; // do not run on other themes...
}

if ( TD_DEPLOY_MODE == 'dev' ) {
// compile the css
require_once 'external/td_node_less/td_less_compiler.php';
$response = td_less_compiler::compile_less_file(AMP__DIR__ . '/templates/less/amp_main.less', AMP__DIR__ . '/templates/css/amp_main.css' );
}

$plugin_url = plugins_url('', __FILE__);

echo '
@font-face {
font-family: \'newspaper\';
src: url(\'' . $plugin_url . '/images/icons/newspaper.eot?8\');
src: url(\'' . $plugin_url . '/images/icons/newspaper.eot?8#iefix\') format(\'embedded-opentype\'),
url(\'' . $plugin_url . '/images/icons/newspaper.woff?8\') format(\'woff\'),
url(\'' . $plugin_url . '/images/icons/newspaper.ttf?8\') format(\'truetype\'),
url(\'' . $plugin_url . '/images/icons/newspaper.svg?7#newspaper\') format(\'svg\');
font-weight: normal;
font-style: normal;
}
';

echo '
/*
COMPILED amp_main.less
*/
';

$compiled_less = file_get_contents(AMP__DIR__ . '/templates/css/amp_main.css' );
echo $compiled_less;

echo '
/*
AMP custom CSS
*/
';

$td_amp_custom_css = "
<style>

/* @theme_color_amp */
a,
.td-post-author-name a,
.footer-email-wrap a,
.td-search-query,
.td-page-content blockquote p,
.td-post-content blockquote p {
color: @theme_color_amp;
}

.td-rating-bar-wrap div,
.td-page-content .dropcap,
.td-post-content .dropcap,
.comment-content .dropcap,
.td_wrapper_video_playlist .td_video_controls_playlist_wrapper,
.td_default_btn,
.td_round_btn {
background-color: @theme_color_amp;
}

.td_quote_box,
.td_wrapper_video_playlist .td_video_currently_playing:after {
border-color: @theme_color_amp;
}

/* @menu_background_amp */
.td-header-wrap {
background-color: @menu_background_amp;
}

/* @menu_icon_color_amp */
.td-search-icon .td-icon-search {
color: @menu_icon_color_amp;
}

/* @footer_background_amp */
.td-footer-wrap {
background-color: @footer_background_amp;
}
/* @footer_text_color_amp */
.td-footer-wrap,
.td-footer-wrap a,
.td-footer-wrap .block-title span {
color: @footer_text_color_amp;
}

/* @sub_footer_background_amp */
.td-sub-footer-wrap {
background-color: @sub_footer_background_amp;
}

/* @sub_footer_text_color_amp */
.td-sub-footer-wrap,
.td-sub-footer-wrap a {
color: @sub_footer_text_color_amp;
}

</style>
";

$td_css_compiler = new td_css_compiler($td_amp_custom_css);

// theme color
$td_css_compiler->load_setting('theme_color_amp');

// menu color
$td_css_compiler->load_setting('menu_background_amp');
$td_css_compiler->load_setting('menu_icon_color_amp');

// footer color
$td_css_compiler->load_setting('footer_background_amp');
$td_css_compiler->load_setting('footer_text_color_amp');

// sub-footer color
$td_css_compiler->load_setting('sub_footer_background_amp');
$td_css_compiler->load_setting('sub_footer_text_color_amp');

echo $td_css_compiler->compile_css();

?>

GiacomoLaw
tagDiv Member

Great, thanks. How can I get the 9.5 version files?

Thanks

GiacomoLaw
tagDiv Member

I’ve been using W3 for years with this theme and never had an issue.

I presume the mobile version is still cached with 9.6?

Thanks

GiacomoLaw
tagDiv Member

Appreciate it!

GiacomoLaw
tagDiv Member

Issues with W3 Cache, amp etc. I have it all working so don’t need to change it.

Regarding emailing them over, thanks, I may take up your offer later but I want to see if Tagdiv can send them over.

Thanks!

GiacomoLaw
tagDiv Member

Hello?

GiacomoLaw
tagDiv Member

I have reverted as the latest version is a mess, and more importantly, it doesn’t support W3 Total Cache.

Thanks

GiacomoLaw
tagDiv Member

How come it is incompatible but it used to be in 9.5?

Also, why is Super Cache supporter but W3 is not?

Guess this means that I won’t be updating anymore.

Viewing 25 posts - 51 through 75 (of 166 total)