- TutorialsDefault Block Settings Guide
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Hi,
Unfortunately, I still don’t understand where you want to make this change and what you want to display.
Even if I think I understood exactly, I want to tell you that you can apply only one type of filter on a block -> https://i.imgur.com/MwXZ6lh.png and sort them as you want -> https://i.imgur.com/zS3bZnd.png. You can set multiple ids of categories -> to display posts from more categories -> https://i.imgur.com/97rlv4L.png
Thank you!
Thank you. What I’m trying to do is have the locker go directly to the Subscription and not show the “This Content Is Only For Subscribers” notice. This notice is just a roadblock for someone wanting to subscribe.
Hi,
You can set the css here https://i.imgur.com/WtBQcva.png
Maybe you need to adjust the css for your block.
Thank you!
Hi,
There are many optimization guides provided by our users here in the forum, some made by us; you could check some of them
– https://forum.tagdiv.com/cache-plugin-install-and-configure/
– https://forum.tagdiv.com/how-to-make-the-site-faster/
– https://forum.tagdiv.com/topic/high-number-of-ajax-request/
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://www.andraware.com/wp-rocket-for-newspaper-theme/
– https://spraythemes.com/newspaper-theme/how-to-speed-up-the-newspaper-wordpress-theme-using-wp-rocket/
– https://forum.tagdiv.com/topic/page-speed-guide-for-2023-beginners-and-advanced/
– https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
– https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
– https://forum.tagdiv.com/cloudflare-cdn/
– https://forum.tagdiv.com/topic/theme-causing-high-cpu-usage-2/
– https://forum.tagdiv.com/topic/sql-querys-high-cpu/
– https://forum.tagdiv.com/topic/newspaper-theme-slow-to-respond/
– https://premium.wpmudev.org/blog/optimizing-your-wordpress-database-a-complete-guide/
– https://underconstructionpage.com/optimize-wordpress-database/
– https://crunchify.com/better-optimize-wordpress-database-all-in-one-guide/
Also, pagespeed is not covered by support -> https://forum.tagdiv.com/newspaper-theme-support/
If you use Wp Rocket, you can try to exclude the following files
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray
Thank you!
Hello,
You need to add an inner row and that row and set the block in that inner row, after you need to add an extra class -> https://i.imgur.com/pRFF4CM.png and use that extra class in your code, for example, I have set td-row-gradient-homepage1
@media only screen and (min-height: 1000px) {
.td-row-gradient-homepage1 .vc_column {
display: box;
overflow-y: scroll;
}
}
@media only screen and (max-height: 999px) {
.td-row-gradient-homepage1 .vc_column {
display: box;
overflow-y: scroll;
height: 800px;
}
}
@media only screen and (max-height: 899px) {
.td-row-gradient-homepage1 .vc_column {
display: box;
overflow-y: scroll;
height: 600px;
}
}
@media only screen and (max-height: 700px) {
.td-row-gradient-homepage1 .vc_column {
display: box;
overflow-y: scroll;
height: 500px;
}
}
@media only screen and (max-width: 767px) {
.td-row-gradient-homepage1 .vc_column {
overflow: visible;
height: 100%;
}
}
Set the code in Raw CSS.
Thank you!
Thank you Anamaria. I ended up swapping out the header for another one. Which resolved the issue.
Now the issue I am facing (seemingly since changing the header and footer with the cloud template library — although that might just be a coincidence) is that I can’t open the TagDiv editor any more. The loader animation is all that displays, along with the side bar.
I have tested it with all non-TagDiv plug-ins disabled, and it refused to load. I notice a few errors in the browser console:
js_files_for_wrapper.min.js?ver=969f3bb4333afe45565e713582b6de14:14 Uncaught DOMException: Failed to execute 'atob' on 'Window': The string to be decoded contains characters outside of the Latin1 range.
at Object.b64DecodeUnicode (https://best-mac-tips.com/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=969f3bb4333afe45565e713582b6de14:14:109)
at https://best-mac-tips.com/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=969f3bb4333afe45565e713582b6de14:43:305
at https://best-mac-tips.com/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=969f3bb4333afe45565e713582b6de14:44:375
b64DecodeUnicode @ js_files_for_wrapper.min.js?ver=969f3bb4333afe45565e713582b6de14:14
(anonymous) @ js_files_for_wrapper.min.js?ver=969f3bb4333afe45565e713582b6de14:43
(anonymous) @ js_files_for_wrapper.min.js?ver=969f3bb4333afe45565e713582b6de14:44
load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1.1:2 [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://best-mac-tips.com/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/images/font/tagDiv.ttf?3d2d3f
ace.js?ver=969f3bb4333afe45565e713582b6de14:1 [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
t.addListener @ ace.js?ver=969f3bb4333afe45565e713582b6de14:1
t.addMouseWheelListener @ ace.js?ver=969f3bb4333afe45565e713582b6de14:1
l @ ace.js?ver=969f3bb4333afe45565e713582b6de14:1
b @ ace.js?ver=969f3bb4333afe45565e713582b6de14:1
t.edit @ ace.js?ver=969f3bb4333afe45565e713582b6de14:1
(anonymous) @ post.php?post_id=2408&td_action=tdc&tdbTemplateType=header&prev_url=https%3A%2F%2Fbest-mac-tips.com%2Fwp-admin%2Fadmin.php%3Fpage%3Dtdb_cloud_templates:3065
dispatch @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1.1:2
y.handle @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1.1:2
load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1.1:2 jQuery.Deferred exception: Cannot read properties of undefined (reading 'getShortcodeFromData') TypeError: Cannot read properties of undefined (reading 'getShortcodeFromData')
at Object.saveHeaderState (https://best-mac-tips.com/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=969f3bb4333afe45565e713582b6de14:27:388)
at Object.init (https://best-mac-tips.com/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=969f3bb4333afe45565e713582b6de14:22:279)
at https://best-mac-tips.com/wp-admin/post.php?post_id=2408&td_action=tdc&tdbTemplateType=header&prev_url=https%3A%2F%2Fbest-mac-tips.com%2Fwp-admin%2Fadmin.php%3Fpage%3Dtdb_cloud_templates:789:44
at c (https://best-mac-tips.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1.1:2:28327)
at fireWith (https://best-mac-tips.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1.1:2:29072)
at e (https://best-mac-tips.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1.1:2:30310)
at t (https://best-mac-tips.com/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.1.1:2:30340) undefined
It’s a bit of a mess to copy / paste the console data. So here’s a screenshot:
Any thoughts on this?
Thank you,
Jonathan
Hi,
1. For mobile pagespeed what we can do is recommend you the mobile theme plugin and mobile page template – https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/, then you can use tagDiv Composer to adjust the mobile layout, set smaller thumbs for blocks ….
2. The code used for the reading tie elements on this file wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_reading_time.php and the variable that holds the value is the $post_reating_time_data
Thank you!
Hello,
You can import a blank template and design it with tagdiv composer as you want with Flex Block and posts loop blocks.
Thank you!
Hi,
1. Yes, you understood correctly, once the link structure is changed and the site is re-indexed on Google, there will no longer be links with /amp/, they will be with /?amp=1/
2. I just checked the website and now I no longer see the accent marks – https://i.imgur.com/HtqdClc.png did you change it?
3. If the tagDiv Standard pack is not enabled, then yes, there will be some options in the theme panel mobile theme – https://i.imgur.com/RQOxBka.png for blocks it can be used this option – https://i.imgur.com/i1eE9wD.png
Thank you!
Hello,
You can hide the images on the blocks in the tab Layout -> https://i.imgur.com/XyfPqGk.png
Also, you can delete the element Single Post Featured Image when you edit the Single Post Template with right-click.
Thank you!
Hello!
The default blog page can’t be customized with the TagDiv Composer. You need to create a new page called home, edit it with the TagDiv Composer and there you can add posts loop or flex blocks in order to display your posts.
Thank you!
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, tagDiv Composer.
First, visit your website (https://www.topfiverecords.com/) and check for any visible issues. Next, visit the page where the error was caught (https://www.topfiverecords.com/wp-login.php) and check for any visible issues.
If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.
To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.1.1
Active theme: Newsmag (version 5.2)
Current plugin: tagDiv Composer (version 3.1 | built on 17.02.2022 10:10)
PHP version 8.0.27
Error Details
=============
An error of type E_ERROR was caused in line 47 of the file /home2/dreadgod/public_html/topfiverecords/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php. Error message: Uncaught Error: Failed opening required ‘td_block.php’ (include_path=’.:/opt/cpanel/ea-php80/root/usr/share/pear’) in /home2/dreadgod/public_html/topfiverecords/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php:47
Stack trace:
#0 /home2/dreadgod/public_html/topfiverecords/wp-content/plugins/td-composer/legacy/Newsmag/functions.php(22): require_once()
#1 /home2/dreadgod/public_html/topfiverecords/wp-content/plugins/td-composer/td-composer.php(189): require_once(‘/home2/dreadgod…’)
#2 /home2/dreadgod/public_html/topfiverecords/wp-includes/class-wp-hook.php(308): {closure}(”)
#3 /home2/dreadgod/public_html/topfiverecords/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
#4 /home2/dreadgod/public_html/topfiverecords/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /home2/dreadgod/public_html/topfiverecords/wp-content/themes/Newsmag/includes/wp-booster/tagdiv-wp-booster-functions.php(3): do_action(‘td_wp_booster_l…’)
#6 /home2/dreadgod/public_html/topfiverecords/wp-content/themes/Newsmag/functions.php(20): require_once(‘/home2/dreadgod…’)
#7 /home2/dreadgod/public_html/topfiverecords/wp-settings.php(585): include(‘/home2/dreadgod…’)
#8 /home2/dreadgod/public_html/topfiverecords/wp-config.php(170): require_once(‘/home2/dreadgod…’)
#9 /home2/dreadgod/public_html/topfiverecords/wp-load.php(50): require_once(‘/home2/dreadgod…’)
#10 /home2/dreadgod/public_html/topfiverecords/wp-login.php(12): require(‘/home2/dreadgod…’)
#11 {main}
thrown
Hi Anamaria, would it be possible to post from multiple Category filters on one Element, for example from Flex block 1 and so on?. Thanks
Now we are talking about 2 different things. This issue is not with adding an Instagram Element to a template in Newspaper.
The Instagram footer that is hard coded into the template that is selectable in the theme panel still does not work.
Instagram GalleryBlock Render Failed – Error validating access token: Session has expired on Monday, 06-Feb-23 23:25:13 PST. The current time is Friday, 10-Feb-23 10:50:48 PST.
i want build block latest news like this https://ibb.co/xGdt03D
site
https://www.alloubnania.com/
Hello
I have a question please, I have newspaper theme in English and WPML translation to French and German.
The homepage blocks on the English version – all work correctly.
The homepage Flex Block 1 on the translated versions of the homepage do not show any posts when you choose a category filter. I tried removing the blocks and adding again – does not help.
Can you please help me understand what to look for to be able to show posts filtered by category in Flex Block 1 in the translated versions of the homepage please?
Many thanks!
Hi,
Please go to the theme panel -> block settings https://i.imgur.com/7kgGhmk.png and hide the author name; if you don’t have set something an individual on the block should hide the author.
Thank you!
So there is no way to remove it from sowhere for all grids and blocks at once, it has to be one by one. Correct?
Hello,
If you using the Flex Block or Big Grid Flex in the layout is the option “Show date” and you can choose to hide => https://www.screencast.com/t/6UPXQbiTO2
You can remove the Single Post Date from the template, select with tagDiv Composer and with a right-click you can delete => https://i.imgur.com/GNzcGmJ.jpg , or selecting the element and with drag & drop place into the deleting red zone from the bottom right of the page => https://i.imgur.com/vkQVCjn.jpg this change will be apply to all posts that use that template.
Thank you!
I didnt understand sorry,
what you mean with
Some blocks have this grid layout, others no -> https://i.imgur.com/TbKLIzW.png ?
What has to do with the number of the posts?
Hello!
The file is wp-content\plugins\td-composer\legacy\Newspaper\parts\header\td-login-modal.php 32 line.
Delete the value from the ID attribute from that line and replace it with a href link you want. Please note that you need to add a class to that link with the CSS style of the register button.
.custom-register-button {
width: 100%;
display: block;
padding: 13px;
margin-top: 24px;
font-size: 13px;
text-transform: uppercase;
color: #fff;
cursor: pointer;
position: relative;
}
.custom-register-button:before {
content: '';
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
border: 1px solid #fff;
opacity: 0;
-webkit-transition: opacity 0.2s ease;
transition: opacity 0.2s ease;
}
.custom-register-button:hover:before {
opacity: 0.2;
}
Thank you!
Hi,
Our theme is based on thumbs, so regardless of the image size chosen, it will be a thumb. What I can recommend is to go for the thumb which represents full image size – https://i.imgur.com/qoCm7dU.png – https://forum.tagdiv.com/flex-block-settings-guide/
Thank you!
Hello,
If you are referring to changing the limit posts for Big Grid Flex, then, unfortunately, you can’t do it.
Some blocks have this grid layout, others no -> https://i.imgur.com/TbKLIzW.png
Thank you!
Hello,
You can show the exclusive label for blocks -> https://i.imgur.com/T7ZPBcL.jpg -> https://i.imgur.com/NBKFBuH.png
To have the exclusive badge you need to have that post locked.
Please check this article -> https://forum.tagdiv.com/lockers/
Thank you!