- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsWhat is Ajax preloading?
Hi LUcian
Thanks for getting back to us quickly.
I have just followed your instructions and deactivated all plugins except for VC and speed booster and emptied the caches.
The problem still remained and actually seemed worse than before.
Can you suggest anything else we can do.
Regards
Tony
Hi,
This usually happens when using the tagdiv speed booster plugin which moves the theme style to the footer which causes this delays on loading the style and for a moment your site appears unstyled.
Please try this without any plugins active, leave just VC and speed booster and empty caches.
We have this on our attention and try to find a better implementation for it in next them versions.
Sorry fro the inconvenience!
Thanks
Hi,
I’ve tested this and tried to recreate it but could managed to do it. This could be due to a plugin so I suggest you also try without any plugins active, leave just Visual Composer active then try again.
Also make sure you empty caches and purge files if you use CDN host.
Let me know how it goes and also provide your site’s URL.
Thanks
Hello! Great theme, love it so far! 🙂 I am running into an issue with the navigation menu I was hoping I could get some help on:
My website is http://www.doitforstate.com
I am trying to make the menu exactly as described in this guide: http://www.wpbeginner.com/wp-themes/how-to-show-different-menus-to-logged-in-users-in-wordpress/
I am trying to follow this article and make the user that is logged out of their account see “Sign In | Register” and users that are logged into the account show “My Account” on the main menu.
This works for me, users are seeing the correct menus when they are logged in and logged out as I would like.
One issue I ran into when doing this was the very top menu (red) displaying for a brief 2 seconds as they browse page to page. It shows a menu I do not have created. I would like, if possible, for the red banner to display (about 5px from the top), and make it seamless to navigate each page without seeing the display: none; code I have written. Here is my following code:
I tried two different things..
In header.php I created in the <head> tags:
<style>
#menu-logged-out-1, #menu-logged-in-1
{
display:none;
}
</style>
And per the article above I have tried in functions.php:
function my_wp_nav_menu_args( $args = ” ) {
if( is_user_logged_in() ) {
$args[‘menu’] = ‘logged-in’;
} else {
$args[‘menu’] = ‘logged-out’;
}
return $args;
}
add_filter( ‘wp_nav_menu_args’, ‘my_wp_nav_menu_args’ );
I have also tried putting in header.php below the first <header> tag:
<style>
#menu-logged-out-1, #menu-logged-in-1
{
display:none!important;
}
</style>
The issue seems like it goes away once the user is cached on the site. Is there anyway to make that top red tape display about 5px from the top, and remove the very top header completely? When I turn off “Main menu” and “Top Menu” bars in the Header section in theme options, it just causes problems displaying the header completely. Any help would be greatly appreciated, thank you so much and thank for a great theme 🙂
Hey Lewis,
In your FTP, navigate to Newsmag > single_template_2.php
Download a copy of that file for backup
Under the line <?php echo $td_mod_single->get_date(false);?> add:
<?php echo get_the_time(); ?>
It’ll look a little something like this afterwards
<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date(false);?>
<?php echo get_the_time(); ?>
<?php echo $td_mod_single->get_views();?>
<?php echo $td_mod_single->get_comments();?>
Reupload to the server, clear any cache plugins and it should be set
The issue has been resolved; i think the cause was the cache on my devices.
On another note, I want to change the social icons on the homepage and post page to those on these two sites http://www.viralnova.com/ (for the homepage) and http://www.bbc.com/earth/story/20150306-horses-remember-more-than-we-think (for the post page). How can I do that?
Thanks
Hi Chris,
Thanks for the quick response. I installed and ran the regenerate thumbnails plugin, cleared the cache, but no luck. I’m not missing any basic media size setting am I?
Have tried deactivating recent plugins (e.g. Ninja Cache and similar) with no improvement. In last couple of days I have not been able to add links within my posts.
1. When in WP dashboard adding new post I highlight text I want to add link to.
2. I click on ‘insert/edit link’ but the box to enter URL doesn’t open and the scrollbar taking me further down the page disappears.
3. The ‘insert/edit link’ and ‘remove link’ buttons are now greyed out and no longer clickable.
This happens with past posts I try editing as well as new ones.
Anyone else had this?
Hey,
In your ftp navigate to your Newsmag parent theme > Parts > Header
Download logo.php as a backup
Edit logo.php with a text editor.
You’ll see anchor tags in both the //Retina and //Not retina code.
Change href=”<?php echo esc_url(home_url( ‘/’ )); ?>”
to
href=”http://www.newaddress.co.uk”
Change “http://www.newaddress.co.uk” to the URL you wish to link to. Clear any cache plugins you may be using afterwards.
You’ll need to do the same thing with logo-mobile.php
Here’s mine, although this has some stuff for mod_pagespeed at top, and I also unset tag, and am trying to block pingbacks. 🙂
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters collapse_whitespace
ModPagespeedEnableFilters remove_comments
ModPagespeedEnableFilters rewrite_images
ModPagespeedEnableFilters insert_dns_prefetch
</IfModule>
# BEGIN WordPress
<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
AddType text/javascript .js
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType application/x-font-woff .woff
# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 2500000 seconds"
ExpiresByType image/jpeg "access plus 2500000 seconds"
ExpiresByType image/png "access plus 2500000 seconds"
ExpiresByType image/gif "access plus 2500000 seconds"
ExpiresByType application/x-shockwave-flash "access plus 2500000 seconds"
ExpiresByType text/css "access plus 700000 seconds"
ExpiresByType text/javascript "access plus 700000 seconds"
ExpiresByType application/javascript "access plus 700000 seconds"
ExpiresByType application/x-javascript "access plus 700000 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
ExpiresByType font/truetype "access plus 2500000 seconds"
ExpiresByType font/opentype "access plus 2500000 seconds"
ExpiresByType application/x-font-woff "access plus 2500000 seconds"
ExpiresByType image/svg+xml "access plus 2500000 seconds"
ExpiresByType application/vnd.ms-fontobject "access plus 2500000 seconds"
</IfModule>
# END Expire headers
# BEGIN Cache-Control Headers
<IfModule mod_headers.c>
<filesMatch "\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(css)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(js)$">
Header set Cache-Control "private"
</filesMatch>
<filesMatch "\.(x?html?|php)$">
Header set Cache-Control "private, must-revalidate"
</filesMatch>
</IfModule>
# END Cache-Control Headers
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
<IfModule mod_alias.c>
RedirectMatch 403 /xmlrpc.php
</IfModule>
-
This reply was modified 11 years by
simchris.
Hi,
I’ve just updated to the latest version of the theme but the situation is still the same on my test site.
I can’t see a featured image on the homepage in any of the blocks and I have no video in post. I have tried to add the URL with the HTTPS and without it with 3 different vimeo videos but still nothing.
I have also tried to embed a youtube video and that is the same, blank! Nothing.
I have deactivated all of the plugins and cleared all of the caches and tried again but no joy, I have viewed the site on my iphone, ipad and laptop and the results are the same.
I’ve no idea what the 109 thing is or why it would be trying to do something other than it is supposed to do in wordpress, I wouldn’t want to or know how to mess with that stuff?
I use site wide SSL on all my sites, not sure if this could cause problems?
I’ll update my main site to the new version of the theme and see what happens with that
Hi,
Please also try this without other plugins active, use just Visual Composer and the speed booster plugin, empty cache, purge files and try again.
Let me know how it goes and also provide your site’s URL so I can have a look.
Thanks
Hi,
I have tested this using the latest theme version and haven’t had any issue with pagination, menu.. all of these use javascript and you have this error in console: http://screencast.com/t/WF4Ps3pJVD this comes from W3 Total Cache so please disable it, also if you use js,css minification please try without this and clear cache.
If you still have this issue please send an email at contact@tagdiv.com paste a link to this conversation and provide wp-acces so we can take a look.
Thanks!
Hi,
I have checked your site and like Lucian said, I also cannot find any errors regarding fonts. You can change font for different sections of your site…also for top menu and main menu: http://screencast.com/t/CNDrd4KT03
Also your top menu and main menu: http://screencast.com/t/hc9s94gUcXZ – http://screencast.com/t/pZuCm2gR
Please clear browser’s cache.
Thanks!
@linearwhiz I’m sorry that i’ve lost your message and I’m replying so late but here is our .htaccess
<IfModule mod_deflate.c>
<filesMatch "\.(js|css|html|php)$">
SetOutputFilter DEFLATE
</filesMatch>
</IfModule>
# BEGIN Expire headers
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 904800 seconds"
ExpiresByType image/jpeg "access plus 904800 seconds"
ExpiresByType image/png "access plus 904800 seconds"
ExpiresByType image/gif "access plus 904800 seconds"
ExpiresByType application/x-shockwave-flash "access plus 904800 seconds"
ExpiresByType text/css "access plus 904800 seconds"
ExpiresByType text/javascript "access plus 904800 seconds"
ExpiresByType application/javascript "access plus 904800 seconds"
ExpiresByType application/x-javascript "access plus 904800 seconds"
#ExpiresByType text/html "access plus 600 seconds"
#ExpiresByType application/xhtml+xml "access plus 600 seconds"
</ifModule>
# END Expire headers
# BEGIN Cache-Control Headers
<ifModule mod_headers.c>
<filesMatch "\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(css)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(js)$">
Header set Cache-Control "private"
</filesMatch>
<filesMatch "\.(x?html?|php)$">
Header set Cache-Control "private, must-revalidate"
</filesMatch>
</ifModule>
# END Cache-Control Headers
Hi,
Please try this without any plugins active, leave only Visual Composer active, empty cache and purge your files if you use CDN. Also update your theme if you don’t use the latest version 1.6 Use this guide if you need to update(FTP method): https://forum.tagdiv.com/how-to-update-theme/
Do you have this issue since you use the theme or this issue appeared from now?
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Tried it without plugins, and I don’t use cache plugins.
It ONLY happens when I open the custom typography panel and change ANYTHING. Then when I log out of the admin panel, clear the browser caches, and try to look at the site, the fonts aren’t at all what I’ve selected.
I just tried it using my iPad (Chrome browser all around) and it looks like this:
http://screencast.com/t/3ceMp4vIu
So then I open the theme options panel, open/close (but do NOT change) fonts on things like Mega Menu, headlines, and now it’s fine.
http://screencast.com/t/7LI5MSOgA
Again, this ONLY happens when I do ANYTHING in custom typography.
Hi,
Please deactivate all plugins, leave only Visual Composer active, also clear cache and purge your files if you use CDN and check if you still have this issues. Please also make sure that you use the latest theme version(1.6) and you update the plugins that come with the theme files from ../plugins folder.
Let me know how it goes.
7. Please remove logo image for mobile, as you use Blog Style and you have text logo.
Thanks!
Hi,
Please make sure that you update the theme properly you can check version that you have in Theme Panel: http://screencast.com/t/UVDafFra as I’m not sure why this is happens and I cannot recreate(now it is happens even with less posts). Also if your theme is updated please try again without any plugins active, leave only Visual Composer active, clear cache and check again.
If this still doesn’t solve your issue please send an email at contact@tagdiv.com , paste a link to this conversation and provide wp-access so we will take a look.
Thanks!
Hi,
You can try to disable all plugins, leave just Visual Composer an Revolution Slider active, also clear cache and purge your files if you use CDN and check if the issue is still there. If you say that it worked maybe was a plugin conflict there.
Thanks!
Hi,
I have checked your site and post view counter seems to work fine: http://screencast.com/t/8XweMezrx
Please deactivate all plugins, leave only Visual Composer plugin active, clear cache and see if it works. Also please try this without js minification.
Thanks!
Hi,
Please try this without any plugins active, leave only Visual Composer active, also clear cache and purge your files if you use CDN and see if you still have these issues.
Also if this doesn’t solve the issue please send an email at contact@tagdiv.com , paste a link to this conversation and provide wp-access so we will take a look.
Thanks!
Hi
Logout your website and clear the browser cache.
Its known issue with newspaper
Goodluck
Hi,
Please try to deactivate all plugins, leave only Visual Composer plugin active, also clear cache an purge your files if you use CDN and see if you still have this issue. I did not found any issues with megamenu.
Also please use this guide to create a megamenu: https://forum.tagdiv.com/how-to-use-the-megamenu/
Thanks!
Hi,
Please deactivate all plugins, leave only Visual Composer active, also empty cache and purge your files if you use CDN. Maybe there is a conflict and a plugin cause this issue.
If you still have this issue please provide your site URL so we can take a look.
Thanks!