- TutorialsDefault Block Settings Guide
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Also I tried adding this to fix it but it did not helped 🙁
<FilesMatch “.(eot|ttf|otf|woff)”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>
below is my .htaccess current configuration to save your time
# BEGIN WP Hide & Security Enhancer
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
#WriteCheckString:1585922522_44124
RewriteRule .* – [E=HTTP_MOD_REWRITE:On]
RewriteRule ^java/main.css /wp-content/themes/Newspaper/style.css [L,QSA]
RewriteRule ^java/(.+) /wp-content/themes/Newspaper/$1 [L,QSA]
RewriteRule ^php_includes/(.+) /wp-includes/$1 [L,QSA]
RewriteRule ^mediaupload/(.+) /wp-content/uploads/$1 [L,QSA]
RewriteRule ^my-xml-rpc.php /xmlrpc.php [L,QSA]
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteRule ^readme.html /index.php?wph-throw-404 [L]
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteRule ^license.txt /index.php?wph-throw-404 [L]
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteRule ^wp-signup.php /index.php?wph-throw-404 [L]
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteRule ^wp-register.php /index.php?wph-throw-404 [L]
RewriteRule ^user-input.php /wp-comments-post.php [L,QSA]
RewriteRule ^php_assests/(.+) /wp-content/$1 [L,QSA]
RewriteCond %{REQUEST_URI} /techweu8574897004$
RewriteRule ^(.*)$ /techweu8574897004/ [R=301,L]
RewriteRule ^techweu8574897004(.*) /wp-admin$1 [L,QSA]
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteRule ^wp-admin(.+) /index.php?wph-throw-404 [L]
</IfModule>
# END WP Hide & Security Enhancer
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access 1 year”
ExpiresByType image/jpeg “access 1 year”
ExpiresByType image/gif “access 1 year”
ExpiresByType image/png “access 1 year”
ExpiresByType text/css “access 1 month”
ExpiresByType application/pdf “access 1 month”
ExpiresByType application/javascript “access 1 month”
ExpiresByType application/x-javascript “access 1 month”
ExpiresByType application/x-shockwave-flash “access 1 month”
ExpiresByType image/x-icon “access 1 year”
ExpiresDefault “access 2 days”
</IfModule>
## EXPIRES CACHING ##
#header security
Header set X-XSS-Protection “1; mode=block”
Header set Strict-Transport-Security “max-age=31536000; includeSubDomains; preload”
#Header always append X-Frame-Options DENY
Header always set X-Frame-Options “SAMEORIGIN”
Header set X-Content-Type-Options nosniff
Header set Referrer-Policy “no-referrer”
#end
# BEGIN WordPress
# The directives (lines) between BEGIN WordPress and END WordPress are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<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
# Wordfence WAF
<Files “.user.ini”>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
</Files>
# END Wordfence WAF
Hi team ,
I am getting (index):1 Access to font at ‘https://www.techweu.com/java/images/icons/newspaper.woff?17’ from origin ‘https://techweu.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Error in the console can you please help here ? it says newspaper fonts are not being loaded
Please see here –> https://imgur.com/a/Q44mTjH
After the latest theme update, my newsletter block doesn’t work and I don’t see a newsletter block option in the composer. Is there any replacement for this??
Hi,
So you want to have there set only one category for filter, if this is want you want, then you can achieve it by setting the category id like this -> https://i.imgur.com/toIDHiA.png you can check more in our guide from here -> https://forum.tagdiv.com/flex-block-settings-guide/
Hope this will help you!
Thank you!
Hello,
I’m using “adblock” in the sidebar. For some reason, the ad header is slightly indented for the adblock when compared to the header indent for other items in the sidebar.
Thanks for your assistance.
SR
Hello,
error log captures the following:
[18-Jun-2020 07:20:15 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT *, CASE
WHEN type = 3 THEN 0
WHEN type = 4 THEN 1
WHEN type = 7 THEN 2
WHEN type = 6 THEN 3
WHEN type = 5 THEN 4
WHEN type = 9 THEN 5
WHEN type = 8 THEN 6
WHEN type = 2 THEN 7
WHEN type = 1 THEN 8
ELSE 9999
END AS typeSort, CASE
WHEN type = 3 THEN parameters
WHEN type = 4 THEN parameters
WHEN type = 1 THEN IP
WHEN type = 9 THEN IP
WHEN type = 5 THEN IP
WHEN type = 6 THEN IP
WHEN type = 7 THEN IP
WHEN type = 2 THEN IP
WHEN type = 8 THEN IP
ELSE 9999
END AS detailSort
FROM sk_wfblocks7 WHERE type IN (7) AND (expiration = 0 OR expiration > UNIX_TIMESTAMP()) ORDER BY typeSort ASC, id DESC made by wfWAFIPBlocksController::synchronizeConfigSettings, wfBlock::lockouts, wfBlock::allBlocks
kindly assist
Thanks. I guess I’ll make up some custom category pages rather than use the auto-generated ones.
Next… I think this is an Adsense question, not one relating to the theme, but just in case….
My home page has 4 ad spots
Header
Sidebar
Custom (in between blocks)
Footer (turned off for desktop)
But ads are only showing in two of them. Even on mobile.
The custom block DOES show an ad if I leave it on AUTO, but the ad comes out square on desktop. NO idea why. If I specify a horizontal banner size, it comes up blank.
I’ll turn on the footer again on desktop, so all 4 are active. Can you look at BangkokHerald.com? The custom ad spot is above the bottom block (Pattaya & Phuket). On my screen, it’s blank.
Perhaps Adsense thinks I have too many blocks? I thought 3 were permissable but your theme has 4, so….
Ok, I found that I could use html in Widget section. How to set Block Header 4 in HTML widget?
Hi,
Yes, by default the button for back to to is hidden on mobile device, but you can display it using this custom css:
.td-scroll-up {
display: block;
}
The code need to be set in theme panel> custom code> adventure css> phone.
Hope this will help you!
Thank you!
Hi,
Unfortunately the only option to change that underline color is to use a custom css -> https://i.imgur.com/P2kjs2z.jpg
.td-newsmag-voice .td-pb-span4 .td_block_template_1 .block-title span:after, .td-newsmag-voice .td-pb-span12 .td_block_template_1 .block-title span:after {
background-color: #3f83ff;
}
The above code need to be set in theme panel> custom code> custom css.
Thank you for your understanding!
1. Use ‘WPS Hide Login’ Plugin or WordPress.com Secure Sign On (Jetpack Plugin)
2. You can disable this in td-composer while designing the cloud templates (Click on any Block in td-composer -> Filters -> AJAX CATEGORIES DROPDOWN – Filter type -> No drop down ajax).
3. You can disable this in td-composer while designing the cloud templates (Click on any Block in td-composer -> Filters -> AJAX CATEGORIES DROPDOWN -> No Preloading
4. https://forum.tagdiv.com/ajax-view-count/
If you are using the latest version of Newspaper v10.3.5 and Mobile Plugin, Go to Theme Panel -> Mobile Theme -> Header -> Disable Live Search.
Is there a means in the Flex Blocks to add the word “By” to Author’s Name? I know it can be done in the Single Post templates from the Cloud Library (that info alone will save Calin having to cut and paste that info … LOL)
Repeated request: To be a current news site in a time of ever-changing news, the ability to have the Time Ago format on the front page is becoming critically important to tell readers that come to the front page how fresh a story is in minutes or even hours so is there any possibility of that in a future release. Yes, I’m aware it’s currently in the Single Post templates from the Cloud Library (again, saving Calin having to cut and paste that info … LOL)
Is this under consideration for a future update or is there a workaround to display in the Flex Blocks?
1. If I wish to add my AdUnits in several locations within my post (using smartlist) such as above and below the next button. is this possible?
2. Is it okay / allowed to add my ad units directly inside a post using the edit post page with HTML block, or just using the theme predefined zone?
3. Do you maybe know if it allowed using the same ad unit code in several locations on my site? more important in the same post? or I must have a unique one for each ad unit placeholder?
I see that the Newspaper theme supports a few options for site width. However, a requirement for our site is that the desktop version of the site be 1260 wide in the body (non-background) area. Is it possible to configure the theme to support 1260 width, and if so, will this break blocks or other features?
I turned Google fonts off in the Theme Panel a while ago and have since cleared cache, but when I check my posts in Google Page Speed Insights, one of the items that is slowing down my site under “Eliminate render-blocking resources” is Google fonts.
When I click on the Google fonts item within the Google Page Speed Insights tool, it brings me to this: https://fonts.googleapis.com/css?family=Noto+Serif%3A400%2C400i%2C700%2C700i&ver=5.4.2&display=swap
How do I stop Google fonts from loading? I’m not using any Google fonts on my site that I’m aware of.
Thanks,
Andrew
For custom titles/header template, a short horizontal bar appears underneath the title, is there a way to change the color of that bar from yellow? Using demo clear voices as a starting point. Thanks!
Thank you Calin,
1. How i can do it for modules/blocks?
2. Great i will gather the customisations i need and get in touch with your team
Hi,
1. Yes, I think that it can be done for modules/blocks too.
2. Yes, we have a custom service department, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/ -> https://tagdiv.com/submit-a-request/
Thank you!
Didn’t fix it.
I am using the child theme that I got with the downloaded theme, removing the child theme didn’t fix it.
I still get half of the block, only the text part – the form and button dont get imported to the new block.
Hi,
Usually is these are flex elements, then can be edited using tagDiv Composer, for more information, please provide a link where I can inspect the element that you want to change.
Thank you for your understanding!
Hi,
Unfortunately this option is not available for blocks, these can display only publish date or update/modified date -> https://imgur.com/V0KS1np
Thank you!
Hello !
Well, if you switch off Newspaper Theme with its plugins it will look like that because all the blocks that you have will no longer be rendered. The blocks are created by the tagDiv Composer plugin and only it will render them.
You will have to remove everything created with tagDiv Compose / Newspaper Theme in order to safely remove it.
Thank you !
Hi,
I just imported the travel Pro demo to create a new website and I’d like to change the blockquote font.
On my other website theme panel (Newspaper V10.3.3) I can do it in Theme Fonts > Post Content. However, on the Newspaper V10.3.4 I don’t see any more all the options in Theme Fonts.
Can you help please ?
Thank you.
You are awesome, always very helpful, thank you Calin.
You motivate me to extend the support.
Could you please teach me how to achieve the creation of the block called Trip to Spain ? : https://demo.proteusthemes.com/shaka/portfolio/trip-to-spain/
So far I am struggling to add : a Title + text + 2 icons and text inlined + 4 icons + 1 button in a single block.
That would be fantastic if I could learn how to make that kind of block.
Thank you very much in advance for any help.
Thanks Calin
I misunderstood the tutorial. I’ve replaced the block with a flex block. All is now working fine with the tagDiv Standard Pack plugin deactivated.
Thanks again
Nigel