I know that, I’m asking to you which blocks I have to chose in order to reproduce big grid flex 6 ?
-
This reply was modified 5 years by
gumball44.
Can I use mobile footer cloudtemplate when using mobile plugin ?
“this can be achieve if you are using a row set in two columns and set the grids or flex blocks that look as you like”
That’s i’m asking to you.. What are these blocks ?
Thank you
-
This reply was modified 5 years by
gumball44.
Could you add the suggestion to tagdiv development team ? It would be very useful in order to make a leighter homepage.
We could make sticky the left part.
-
This reply was modified 5 years by
gumball44.
Do you think I can do the same for mobile version ?
Do I have to put the modified file in the child theme ?
Thank you so much @amit ! =o I see I can save like 80-100kb…
What do you mean ? Is there a plugin to edit this file ?
Is the way to reduce size of newspaper.woff?19 ?
or stop loading ?
Thank you
-
This reply was modified 5 years by
gumball44.
Thank you 🙂
@amit Do I have to specify “?19” after newspaper.woff
What is the difference between newspaper.woff and newspapaper-icons.woff ?
and for mobile theme ? Which code do I have to add to mobile function.php ?
Thank you
Hi @amit
I use this code in my functions.php file // Preload Newspaper fonts for responsive theme (main theme)
function dns_prefetch_responsive() {
echo "<link href='https://lowtechnation.com/wp-content/themes/Newspaper/images/icons/newspaper.woff?19' rel='preload' as='font' type='font/woff' crossorigin>";
}
add_action( 'wp_head', 'dns_prefetch_responsive', 0 );
Do I need to add the code above // Preload Newspaper fonts for responsive theme (main theme) function dns_prefetch_responsive() { echo '<link rel="preload" href="//lo<technation.com/wp-content/themes/Newspaper/images/icons/newspaper.woff" as="font">'; echo '<link rel="preload" href="//lowtechnation.com/wp-content/plugins/td-composer/legacy/Newspaper/assets/images/icons/newspaper-icons.woff" as="font">'; } add_action( 'wp_head', 'dns_prefetch_responsive', 0 );
Because it looks different
Thank you for you help
Here my code in htaccess. is something wrong ?
And about cache, I follow newspaper guide (wp super cache)
# BEGIN SecuPress no_x_powered_by
<IfModule mod_headers.c>
Header unset X-Powered-By
</IfModule>
# END SecuPress
# BEGIN SecuPress readme_discloses
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^(.*/)?(readme|changelog|debug)\.(txt|md|html|log)$ - [R=404,L,NC]
</IfModule>
# END SecuPress
# BEGIN SecuPress wp_version
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^readme\.html$ - [R=404,L,NC]
</IfModule>
# END SecuPress
# BEGIN SecuPress bad_url_access
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !wp-includes/js/tinymce/wp-tinymce\.php$
RewriteRule ^(php\.ini|wp-config\.php|wp-includes/.+\.php|wp-admin/(admin-functions|install|menu-header|setup-config|([^/]+/)?menu|upgrade-functions|includes/.+)\.php)$ [R=404,L,NC]
</IfModule>
# END SecuPress
# BEGIN SecuPress directory_listing
<IfModule mod_autoindex.c>
Options -Indexes
</IfModule>
# END SecuPress
# o2s WpTiger Begin - Dont edit - Ne pas modifier - forceHttps
# Force le HTTPS
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} !on
RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# o2s WpTiger End - Dont edit - Ne pas modifier - forceHttps
# Activation du suivi des liens symboliques
Options +FollowSymLinks
# Protéger le fichier wp-config.php
<files wp-config.php>
order allow,deny
deny from all
</files>
# BEGIN Expire headers
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 604800 seconds"
ExpiresByType image/jpeg "access plus 604800 seconds"
ExpiresByType image/png "access plus 604800 seconds"
ExpiresByType image/gif "access plus 604800 seconds"
ExpiresByType application/x-shockwave-flash "access plus 604800 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 604800 seconds"
ExpiresByType application/javascript "access plus 604800 seconds"
ExpiresByType application/x-javascript "access plus 604800 seconds"
ExpiresByType application/x-font-woff "access plus 604800 seconds"
ExpiresByType application/x-font-svg "access plus 604800 seconds"
ExpiresByType image/svg+xml "access plus 604800 seconds"
</ifModule>
# END Expire headers
<IfModule mod_deflate.c>
<filesMatch "\.(js|css|html|php)$">
SetOutputFilter DEFLATE
</filesMatch>
</IfModule>
<filesmatch ".(ico|pdf|flv|jpg|jpeg|png|gif|js|css)$">
Header set Cache-Control "max-age=2628000, public"
</filesmatch>
# Éviter que l'on découvre l'identifiant d'un auteur
<IfModule mod_rewrite.c>
RewriteCond %{QUERY_STRING} ^author=([0-9]*)
RewriteRule .* - [F]
</IfModule>
# BEGIN ShortPixelWebp
# Les directives (lignes) entre « BEGIN ShortPixelWebp » et « END ShortPixelWebp » sont générées
# dynamiquement, et doivent être modifiées uniquement via les filtres WordPress.
# Toute modification des directives situées entre ces marqueurs sera surchargée.
<IfModule mod_rewrite.c>
RewriteEngine On
##### TRY FIRST the file appended with .webp (ex. test.jpg.webp) #####
# Does browser explicitly support webp?
RewriteCond %{HTTP_USER_AGENT} Chrome [OR]
# OR Is request from Page Speed
RewriteCond %{HTTP_USER_AGENT} "Google Page Speed Insights" [OR]
# OR does this browser explicitly support webp
RewriteCond %{HTTP_ACCEPT} image/webp
# AND NOT MS EDGE 42/17 - doesnt work.
RewriteCond %{HTTP_USER_AGENT} !Edge/17
# AND is the request a jpg or png?
RewriteCond %{REQUEST_URI} ^(.+)\.(?:jpe?g|png)$
# AND does a .ext.webp image exist?
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}.webp -f
# THEN send the webp image and set the env var webp
RewriteRule ^(.+)$ $1.webp [NC,T=image/webp,E=webp,L]
##### IF NOT, try the file with replaced extension (test.webp) #####
RewriteCond %{HTTP_USER_AGENT} Chrome [OR]
RewriteCond %{HTTP_USER_AGENT} "Google Page Speed Insights" [OR]
RewriteCond %{HTTP_ACCEPT} image/webp
RewriteCond %{HTTP_USER_AGENT} !Edge/17
# AND is the request a jpg or png? (also grab the basepath %1 to match in the next rule)
RewriteCond %{REQUEST_URI} ^(.+)\.(?:jpe?g|png)$
# AND does a .ext.webp image exist?
RewriteCond %{DOCUMENT_ROOT}/%1.webp -f
# THEN send the webp image and set the env var webp
RewriteRule (.+)\.(?:jpe?g|png)$ $1.webp [NC,T=image/webp,E=webp,L]
</IfModule>
<IfModule mod_headers.c>
# If REDIRECT_webp env var exists, append Accept to the Vary header
Header append Vary Accept env=REDIRECT_webp
</IfModule>
<IfModule mod_mime.c>
AddType image/webp .webp
</IfModule>
# END ShortPixelWebp
# BEGIN WP Cloudflare Super Page Cache
# Les directives (lignes) entre « BEGIN WP Cloudflare Super Page Cache » et « END WP Cloudflare Super Page Cache » sont générées
# dynamiquement, et doivent être modifiées uniquement via les filtres WordPress.
# Toute modification des directives situées entre ces marqueurs sera surchargée.
# END WP Cloudflare Super Page Cache
# BEGIN WPSuperCache
# Les directives (lignes) entre « BEGIN WPSuperCache » et « END WPSuperCache » sont générées
# dynamiquement, et doivent être modifiées uniquement via les filtres WordPress.
# Toute modification des directives situées entre ces marqueurs sera surchargée.
# END WPSuperCache
# BEGIN WordPress
# Les directives (lignes) entre « BEGIN WordPress » et « END WordPress » sont générées
# dynamiquement, et doivent être modifiées uniquement via les filtres WordPress.
# Toute modification des directives situées entre ces marqueurs sera surchargée.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Ok, so if I want to have desktop version on tablet, what I have to do ? Because sometimes AMP version is diplaying on tablet, and sometimes not.. I don’t understand why..
Thank you
Where do I have to insert this code in order to apply on mobile ?
// Preload Newspaper fonts for mobile theme
function dns_prefetch_mobile() {
echo "<link href='https://MYDOMAIN.com/wp-content/plugins/td-composer/mobile/images/icons/mobile-theme.woff?9' rel='preload' as='font' type='font/woff' crossorigin>";
}
add_action( 'wp_head', 'dns_prefetch_mobile', 0 );
I can’t even edit Footer – Default PRO template with tagdiv composer… what’s the problem ?
the footer on tablet has disapeared now.. How can I fix this issue ?
Ok,
for exemple I have a cache problem on my mobile version (not showing the good featured image)
Check these screenshots mobile vs amp version
Yes, my homepage on tablet, now shows amp version, but if you go on articles sometimes it shows desktop version… It’s very weird… I would like only desktop version on tablet, and amp version on mobile phone.
Please go on this page with your tablet and check the difference between homepage and post pages
https://lowtechnation.com/metiers-avenir-agriculture/
Thank you
-
This reply was modified 5 years by
gumball44.
Thank you 🙂
I have the same issue since the update..
-
This reply was modified 5 years by
gumball44.
I think this is because tagdiv stadart pack plugin..
As you can see on first screenshot, my header is totaly brocken on homepage but not on post page (second screenshot).
Waiting for help.
Thank you
As you can see on first screenshot, my header is totaly brocken on homepage but not on post page (second screenshot).
Waiting for help.
Thank you
