- NewspaperFlex Block Builder and Flex Loop Builder
- NewspaperHow to use the Flex Blocks cache option
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to insert a block inside the content of a post
- NewspaperFlex Block Settings Guide
- NewspaperMeta Info on Modules and Blocks
- NewspaperTheme modules and blocks
- TutorialsDefault Block Settings Guide
- NewsmagBlock settings tutorial
- NewsmagCategory tag on modules/blocks
- NewspaperThumbnails – Fix strange looking images on blocks
- NewspaperBlock settings tutorial
- NewspaperCategory Tag on Modules/blocks
- ApiPractical example – How to add a new Block and Module
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
Hi,
Usually, the 502 and 504 are related to Gateway. If you are using a share host, then most probably the resources that are allocate per website are small and this can be the problem. Using our theme you can set as many blocks you want and for each of theme you can set filters. Therefore as many blocks you set those will make ajax request to database for display/filter the posts. If you set only 1-2 blocks, then besides on the WordPress request will be another 1-2 ajax request.
Thank you!
Hello,
The mobile theme comes with its own templates/design for pages, posts, categories, etc so your current templates from the desktop theme will get converted to the mobile theme layout. For more details, please take a look here: https://forum.tagdiv.com/the-mobile-theme/ and https://forum.tagdiv.com/mobile-theme-introduction/3
Also, if you want to hide the featured image on the blocks, you can hide it with custom code CSS -> `
.td_module_mob_1 .item-details {
margin-left: 0px;
}
.td_module_mob_1 .td-module-thumb {
display: none;
}
` => https://i.imgur.com/mClWxeM.png
This need to be set in the theme panel> mobile theme > custom code> css.
Also, if you want to have more control over the mobile version, you can use the mobile page and you can make the changes with tagDiv Composer, like on the desktop version.
Thank you!
Hello,
Im experiencing a lot of 502 and 504 errors. Our site is westfaironline.com. Back in October I was told to update the theme to its latest version. Which I did, but we are still having the same issues. I contacted our hosting provider and this is what they are telling me:
We have identified high admin-ajax.php utilization originating from the westfairsite install. Currently there is excessive ajax usage recently which is affecting the servers CPU Usage and affecting other users on the Shared server environment.
/wp-admin/admin-ajax.php?td_theme_name=Newsmag&v=5.1
Because hits to admin-ajax.php can’t be cached, they tend to utilize a lot of the server’s resources. Therefore, you will want to contact your developer in order to reduce this usage so that the site performs better.
There are also a large amount of requests from the same IPs and user agents hitting the site at the moment. If these are legitimate, we suggest placing the site behind our Advanced Network/CloudFlare directly, and/or taking steps to minimize these hits either with a robots.txt crawl delay, or a code delay if these are part of a service. If they are not expected, we can assist with implementing blocks if you would like.
75333 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Firefox/92.0
60978 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36
35467 Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)
24205 Mozilla/5.0 (iPhone; CPU iPhone OS 15_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 Safari/604.1
19987 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36 Edg/96.0.1054.53
19257 Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/)
18804 Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
17663 Mozilla/5.0 (iPhone; CPU iPhone OS 15_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 Safari/604.1
17001 Mozilla/5.0 (compatible; BLEXBot/1.0; +http://webmeup-crawler.com/)
15278 Mozilla/5.0 (iPhone; CPU iPhone OS 14_8_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1
14606 Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html)
12779 Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)
11527 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36
10147 Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
9524 Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
9235 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.141 Safari/537.36
8482 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36
8374 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36
8071 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
7996 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.136 Safari/537.36
Hello @kimstipguide!
Add this code also:
a.wp-block-button__link:hover {color: blue;}
You can change the color by replace the word “blue” with a color code or color name.
Thank you!
Hello @MarijaZT!
If this block is located into a row, then you can save as an element and use it on other cloud templates: https://www.screencast.com/t/kVxpDT9SV. The saved elements you can see it in the end of the other blocks when you add an element in the TagDiv Composer.
You can add an element called “Button” and set the full link from your products page.
I can see that you set the link to this page: https://misstoma.com/shop/, so the button works well. Please change the link.
Edit your homepage with the TagDiv Composer, scroll till footer, click on that text and you can edit/delete it.
Please check our documentation here: https://forum.tagdiv.com/the-newsletter-plugin/
The issue about Facebook like button has been already discussed in this topic, please check: https://forum.tagdiv.com/topic/facebook-button-dont-word-on-the-new-version/
Please add the element called “Woo Product Block”.
Ok. For example, you can post your products on pages and set up a button with a link for the external shop.
Please try to edit it with the TagDiv Composer. I just explained above how you can set up a link for a button.
Thank you!
Hi Bettina,
I’m not referring to the installation files.
The frontend editor is blocked by using this code:
if (function_exists(‘vc_disable_frontend’)) {
vc_disable_frontend();
}
I want to delete it, please refer me to the relevant file location.
See this post:
https://forum.tagdiv.com/topic/enable-frontend-editor-of-vc-in-v6-at-own-risk-of-course/
HI,
I am not asking for your support for page speed, it is related to your product that you built and sale on ThemeForest.
My question was How to change the related post style/element in the mobile theme plugin like flex block-1 – https://prnt.sc/22xkrlv
I want to use this kind of related post – https://prnt.sc/22xkrlv on mobile theme plugin instead of this – https://www.awesomescreenshot.com/image/18503343?key=01f53a15aba49e950fb004f218f00ebc
There should be an option in the Theme panel => mobile theme to customize the mobile theme frontend as well.
Hello @newscafe!
Edit the homepage with the TagDiv Composer, click on that element “Flex block 2” and click 2 times on Clear here: https://www.screencast.com/t/YBEj0g9G
Thank you!
Hello!
You can use the element “Column text” for blockquotes in a cloud template, so you can place it where you’ll like on each template.
For more customizations, we recommend to use cloud/PRO templates in order to have the possibility to edit them with the TagDiv Composer which contains a lot of functions and features, please check our tutorial here: https://forum.tagdiv.com/tagdiv-composer-tutorial/
Documentation here:
– https://forum.tagdiv.com/cloud-library-templates/
– https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
– https://forum.tagdiv.com/cloud-library-category-templates/
Check also our video tutorials here: https://www.youtube.com/c/tagdivThemes/videos
Hope that helps you!
Thank you!
Hello.
After changing the text link color,
The button link color also changes.
The following URL is the content of the question.
—-
https://kimstipguide.com/wp-content/uploads/2021/12/21-12-14.jpg
—–
What I want is that the button link text color should not be applied.
Here is the custom CSS code.
.tdb_single_content a:not(.wp-block-button__link){
text-decoration: underline!important;}
thank you.
https://kimstipguide.com/the-best-high-specification-gaming-computer/
Good evening if I try to click on the “New Article” at the top, I get the custom css code in which an opening <style> tag is missing.
Can you tell me which file to edit to get rid of this error. Below is the css code shown immediately after the body tag:
/* custom css */
.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69 .tdb-block-inner{
max-width: none;
margin-left: auto;
margin-right: auto;
}.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69 img.aligncenter,
.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69 .aligncenter img{
margin-left: -0px;
width: calc(100% + (2 * 0px));
max-width: none !important;
}.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69,
.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69 > p,
.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69 .tdb-block-inner > p{
font-family:Source Sans Pro !important;font-size:16px !important;line-height:1.6 !important;
}.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69 .tdb-block-inner blockquote p{
font-family:Gelasio !important;font-style:normal !important;
}
/* portrait */
@media (min-width: 768px) and (max-width: 1018px){
.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69,
.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69 > p,
.td-gutenberg-editor .editor-styles-wrapper .wp-block2_b69 .tdb-block-inner > p{
font-family:Source Sans Pro !important;font-size:15px !important;line-height:1.6 !important;
}
}</style>
How to make a copy of this whole block? https://www.screencast.com/t/xwE6YvoCfYMN
How to set the button to redirect customers to the page where are the products? https://www.screencast.com/t/wTkEhh4P
When I follow the button it redirects me to the template which says page not found https://www.screencast.com/t/aDbgkRup
When on that page and click the button (više proizvoda) this happens https://www.screencast.com/t/sDqMWnozA6
How to change this: all rights reserved https://www.screencast.com/t/1kvQe6hiv
How to set the newsletter section? https://www.screencast.com/t/Fda3Q0ZEmr
How to set the like button at the end of my article? https://www.screencast.com/t/W7hjS1G5SRcZ
How to display products on the side of the article? https://www.screencast.com/t/d9xzbkpZzkk
For now, I`m planning to have a shop with a single pic for every brand and I don’t want customers to order throughout my page, but want them to redirect on the original brand/product/service page so they can continue with the purchase. Any suggestions on how to set that kind of shop?
Hello @kimstipguide!
No worries about that. Ok, then rewrite the code:
.tdb_single_content a:not(.wp-block-button__link){
text-decoration: underline!important;}
Hope that helps you!
Thank you!
Hello, our client want for their website (https://staging.charterpartydisputes.com/) to be mainly a Blog site. They need for the Blog page to display static content (more specifically quotes/blockquotes) right above the posts. This means we need an element to display those quotes, positioned right between the Main menu and the first post of the page.
Do you have any suggestions on what would be the best practice to accomplish something like that?
Hello, I use Newsmag 5.1 on an up-to-date installation of WordPress 5.8.2. On my homepage, I use a block 14 to show the most popular articles of the last 7 days. Since I don’t use jetpack, I chose the “theme counter”-option (screenshot). I already enabled the Ajax Post view count inside the post settings (screenshot) and the 7 day post sorting inside the block settings (screenshot). My problem: the block shows always super old articles, but sure not the most popular postings of the last seven days (screenshot). I’m not sure, how I could fix that. Thanks for your help!
Hello @schoolvolley!
This is the code which is changing the font size for blockquotes :
For Gutenberg:
.wp-block-quote:not(.is-large):not(.is-style-large) p { font-size:15px!important;}
For Classic Editor:
.wp-block blockquote p, .wp-block .wp-block-freeform blockquote p { font-size:15px!important;}
If you paste the codes in the custom css section, then the changes will not be applied.
The codes needs to be placed in the file:
wp-content/plugins/td-composer/legacy/Newspaper/assets/CSS/td_guten_blocks_editor.css
Thank you!
Helo
We are migrating from Default Newspaper to newspaper_pulses_pro, On the editing tagdiv composer we see everything Ok about the single posts, but in the preview and published posts we have issues, some blocks are displayed in a full row not as a sidebar as you see in its default. ( Author and Must Read )
Hello,
Please edit with tagDiv Composer, select the block and search after shadow after you can remove it => https://i.imgur.com/Ak5vKsT.jpg
Thank you!
Update. I’ve had success with these settings:
Leave left and right margin clear (to allow a small margin), and set calc(100% + 70px)

I’m using the formula to adjust blocks lower down.
Thanks again.
Hello @newsng!
I just replied you here in your own topic, please check: https://forum.tagdiv.com/topic/block-14-is-not-working/
Thank you!
Hello @lalit!
This issue has been discussed already here, please check: https://forum.tagdiv.com/topic/render-blocking-resources/
Thank you!
Hello @jchoi!
1. Yes, for customization and other services, please contact our custom work team here: https://tagdiv.com/premium-customization-services/
2. For example, for flex blocks (1-5) you can find the files here:wp-content\plugins\td-composer\legacy\Newspaper\includes\modules
Hope that helps you!
Thank you!
Hello,
So, if you want to set a background image for each category please check this article -> https://forum.tagdiv.com/set-background-category-page/, also, if you want to have a block with that category on the homepage, you can add a Flex Block, and filter it -> https://i.imgur.com/hkjXTSB.jpg on that category and set background image from the tab called “CSS” => https://i.imgur.com/HdoAtS1.jpg
Hope this helps you!
Thank you!
I created a custom template for Woocommerce products page using the Woo Product Blocks.
Even when the product is out of stock, “Add to cart” button still shows “Add to cart”.
Is there any way to disable the button and show “Out of stock” instead when it is sold out?
For example)
https://shuiku.jp/product/firststep2022-05
This product is out of stock but still I can see “Add to cart” and only it shows error message after clicking the button.
I understand you have no options for this switching but I will be happy if you tell me how to control by adding function code or something.
Hi,
Now all the blocks from website seems to load -> https://i.imgur.com/aFsnzpZ.jpg also the menu elements seems to work when you click on them. Did you manage to solve the problem, or maybe you set some mega menus?
Thank you!