- TutorialsDefault Block Settings Guide
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Our blog is mostly updated once a day and stay the same for the rest of the day. So we are doing caching at the edge using Cloudflare, even then we are removing the cache for page updates, even though the page may not be impacted as it could show the related posts for a post which is older.
I have created a Page with Builder where I placed set of blocks on top, left, right, footer. Is there any way I can call the respective blocks and get html via admin-ajax.php? I can get it via ajax pagination for few blocks, is there a way I can get the documentation to call my self where I can customize, cache and render.
I am planning to do that in Cloudflare worker to cache parts of the page and dynamically render ony certain part.
Please advise
Thanks
Hi Calín,
Thanks for your quick reply.
The website is currently under development with maintenance mode active, so you wouldn’t be able to see it.
If you give me an email address where I can contact you privately, I’ll send you access with your WordPress user account so you can access it from the backend.
On the other hand, the CSS code applied to the block is the default one from the demo; I’ll copy the CSS file for you:
.tdm_block_image_info_box.td-image-info-box-style-2 .tdm-image-description {
padding: 0 48px 60px 0;
top: auto;
}
@media (max-width: 1018px) {
.tdm_block_image_info_box.td-image-info-box-style-2 .tdm-image-description {
padding: 0 30px 60px 0;
}
}
.tdm_block_image_info_box.td-image-info-box-style-2 .tdm-title-md {
padding: 12px 100px 20px 40px;
background-color: rgba(49, 67, 226, 0.4);
transition: background-color 0.3s ease;
}
@media (max-width: 1018px) {
.tdm_block_image_info_box.td-image-info-box-style-2 .tdm-title-md {
padding: 10px 30px 17px 20px;
}
}
.tdm_block_image_info_box.td-image-info-box-style-2 .tdm-image-meta {
position: relative;
margin-top: 0;
padding-left: 40px;
}
@media (max-width: 1018px) {
.tdm_block_image_info_box.td-image-info-box-style-2 .tdm-image-meta {
padding-left: 20px;
}
}
.tdm_block_image_info_box.td-image-info-box-style-2 .tdm-image-meta {
bottom: 0;
}
.tdm_block_image_info_box .tdm-image-wrap {
border-radius: 5px;
}
.tdm_block_image_info_box.td-image-info-box-style-2 .tdm-image-wrap.tdm-btn-sm-used .tds-button {
margin-top: 65px;
}
.tdm_block_image_info_box.td-image-info-box-style-2 .tdm-image-wrap:hover.tdm-btn-sm-used .tds-button {
margin-top: 65px;
}
.tdm_block_image_info_box.td-image-info-box-style-2 .tdm-image-wrap:hover .tdm-title-md {
background-color: rgba(49, 67, 226, 0.8);
}
@media (max-width: 767px) {
.td-stretch-content .tdm_block_image_info_box.tdm-mobile-full {
margin-left: 0;
margin-right: 0;
}
}
For tablet plase use this code:
.td_block_trending_now {
padding: 0 6px 0 20px;
}
Set the code under the theme panel > custom code > advance css > IPAD PORTRAIT – https://i.imgur.com/ejh2LNu.png
Hi,
Could you please provide some screenshots of the settings you have made on Fle Xblock? It is possible that the filter is not set correctly – https://forum.tagdiv.com/flex-block-settings-guide/
Hi,
As far as I know, there were no updates that should interfere with the block from your screenhost. Maybe you have an extra code apply on it. If you can provide a link to your website, I will take a look.
Thank you!
Hi,
As far as I know, there are no changes for the blocks from your image. Could you provide a link to your website to inspect it? Maybe an extra cs is applied on them.
Thank you!
Hi,
Please check if you are using the unique article option on your homepage: https://forum.tagdiv.com/unique-articles/ Also, if you drag a new block and do not make any changes to it, is it working correctly? If it is, then there are some settings from the current block.
Thank you!
Hi,
It is possible to have a standard footer style selected, for example,e if you have footer style 1 – https://i.imgur.com/yEdzqSn.png is si coming with the pre-set blocks and content for the footer, so if you add extra blocks in Appearance> Widgets> Footer 1/2/3, this will be added as extra widgets https://i.imgur.com/317Lwwd.png
What you can do is to remove the widget from footer 1/2/3 or replace the footer template with another one that has the footer columns empty, like footer style 5.
Thank you!
Hello,
After updating from version 12.7.1 to version 12.7.4, I noticed that the block description labels have moved to the top left. Before the update, they were positioned slightly below center on the left. Could you tell me what changed in the update?
Specifically, all the Image Info Boxes have been modified.
Thanks in advance.
Hi tagDiv Team,
I am using Newspaper theme v12.7.4 on my live site:
Hosting: Hostinger Shared Hosting
WordPress Version: 6.9
PHP Version tested:
– PHP 8.2.27 (default)
– PHP 8.1.31 (downgraded)
Problem:
As soon as I activate the plugin “tagDiv Composer” (td-composer), WordPress admin AJAX breaks.
When I open:
https://odishajobsdesk.in/wp-admin/admin-ajax.php
Instead of returning “0”, it shows wp_booster errors like:
– The tdc_state::$is_live_editor_ajax is NOT set
– wp_booster error: component with ID tds_util is not set
– Missing parameter: file
File paths:
wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
wp-content/plugins/td-composer/legacy/common/wp_booster/td_autoload_classes.php
Effects:
– Newspaper panel shows “Ajax error” for Composer and Cloud Library
– Plugin installer fails
– WordPress login shows:
“Cookies are blocked due to unexpected output”
– Dashboard becomes unstable until td-composer is disabled
If I rename td-composer folder, admin-ajax.php returns normal “0” again.
Request:
Please provide the latest PHP 8.1/8.2 compatible td-composer build or advise the correct plugin/theme version combination for Newspaper 12.7.4.
Thank you.
Hi
Ive used your ready block and somehow there is always your add for theme but i cannot find where
https://imgur.com/a/zVhooN8 –> edit screen & live screen [ below i have my own google ad code ]
Also, i am trying to make right boxes [ weather for example ] as sticky but nothing happens. Tried on row and column, smart sidebar is enabled, tried with adding class from your documentation
And last, i am planing redesign. So i made new homepage, added blocks etc. Now i plan to add new mobile home page. Than last thing to do is to make archive pages and category pages. What is ideal way to do it? Loading from cloud or can i save my own template?
Hi,
Ok, so I just rechecked using the browser as in your video, and the mobile menu seems to be working correctly on the entire website, except the posts. When you are on a post, it no longer works.
From what I see on the source page on any page the module for menu is loaded in the page – https://prnt.sc/ub-jGK0hdFxY but not on posts https://prnt.sc/LKgcSkaIIZn5 so one possibility is to have a different header on the single post template, another possibility is to have something in the single post template that is blocking the mobile modla to load.
I see, unfortunately, we do not have an album element, but maybe you can use something like a Gallery? If so, then it can be achieved by using the gallery option from the posts settings – https://prnt.sc/jq6pfLAm9FAi, then on the single post template edit with tagDiv Composer and add the gallery element – https://prnt.sc/QBFucMiOvJ0i – https://prnt.sc/Poh4o7S-EFkP – https://prnt.sc/-eEtWwX6aJUY
Now, the next step is to create a module that will display the gallery in flex block builder, similar as on single post template in the module, add the gallery element and set it as you like to be displayed https://prnt.sc/E1gZ2eVeOX-y
From: Simion
Sorry for the delay.
From what I see, what happens is normal. The news ticker is in the desktop header, so it won’t be displayed on mobile. Then the titles of those 2 blocks aren’t the actual titles of the blocks, they are standalone title elements, both in their own inner row, so on mobile they are displayed one below the other. It’s just how the page was built.
It is however strange that the page looks different while logged in. Unless you are maybe using a mobile page. Then the explanation would be that while logged in you see the mobile page, which has the correct design, and while logged out we see the desktop page, which has problems. Normally if there is a mobile page set, it should be displayed for logged out users as well. But dedicated mobile content such as a mobile page is sensitive to the caching used on the website. It depends on what caching plugin is used on the website, or if cloudflare is used.
In my opinion it’s most likely the caching used on the website. For example, usually adding a simple parameter after the website URL bypasses the cache, so I see the correct version like this – https://prnt.sc/P5jcuAmOrCR2 So you are most likely using a mobile page. Could you let me know what caching you are using? I can;t log into the website, I tried with an old user and pass but they aren’t working anymore.
As a note, in case the caching you are using doesn;t support dedicated mobile content, then the only solution is to stop using a mobile page, and fix the desktop page so it looks good on mobile as well.
Let me know.
Regards, Simion C.
Hi,
we need do some changes in predefined Blog and posts template:

is possible modify it with builder or add some custom fields, blocks etc…
How?
Hi,
For this, you can choose the video format – https://forum.tagdiv.com/featured-image-or-video/, the results will be similar to those from the video news demo https://demo.tagdiv.com/newspaper_video_news_pro/, the video will be popping up on flex blocks when you’ll click on the featured image.
Hi Mick, if those are ads and they’re not displaying, it usually means something is blocking them. This could be a browser extension or a security application on the computer.
Please try testing with different browsers and also in incognito/private mode, and let us know if the ads display there.
Hi,
I see, if you want to use it on the trending now element from tagDiv Composer, you can use this custom css
.td_block_trending_now:before {
content: "";
position: absolute;
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuODMzIDEwTC42NjcgOC44MzNsNi4xNjYtNi4yMDggMy4zMzQgMy4zMzNMMTQuNSAxLjY2N2gtMi4xNjdWMGg1djVoLTEuNjY2VjIuODMzbC01LjUgNS41TDYuODMzIDVsLTUgNXoiIGZpbGw9IiMwMDAiLz48L3N2Zz4=);
background-position: 0;
background-repeat: no-repeat;
width: 100%;
height: 100%;
top: 1px;
left: -4px;
}
The results will be – https://prnt.sc/vFakDGQG2bCR
Thank you!
Hi,
Ok, in this case, use tagDiv Compsoer edit the page and select each column on mobile https://prnt.sc/d_aIW1Nn0uaZ and set in css tab 50% width and set display inline-block – do this for all 4 columns and it will display 2 on the same row https://prnt.sc/6Nawj2LirmXo
Hi,
Use tagDiv Composer edit to edit the homepage, select the blocks and inthe general tab, you’ll see the options for header https://prnt.sc/2M_bi8OCwz-S
Hi,
Unfortunately, when the Unique Article option is enabled, the Most Read sort will not work as expected. It will skip articles that have already been displayed earlier on the page.
One possible solution is to place this block at the top of the page so it displays the articles first based on the selected sort order. Any instances of the same articles appearing later on the page will then be hidden due to the Unique Article option.
The News Ticker element should not be affected by the Unique Article setting. This is because it uses AJAX to load and slide through articles, and the Unique Article option does not apply to AJAX-based pagination.
Hi,
The option is only on flex blocks. This option was added in Newsapper 12.3, and the current theme version is 12.7.4
Subject: Post published in Dashboard but not appearing on the live website – ashkelonnow.co.il
Message:
Hello tagDiv Support Team,
I am using the Newspaper PRO theme for my news website and I am facing an issue where new posts are not appearing on the live site after being published.
Site Details:
Domain: https://ashkelonnow.co.il
Contact Email: 247elad@gmail.com
Hosting: Hostinger (hPanel)
The Issue: I have successfully published a post via the WordPress dashboard, but it does not show up on the homepage or the category pages when viewing the site as a visitor.
Steps I have already taken:
Cache Clearing: I have cleared the cache via Hostinger hPanel (“Purge Cache”) and used the LiteSpeed Cache “Purge All” tool.
LiteSpeed Settings: My LiteSpeed settings are configured to “Auto Purge” all pages, including the Front Page, upon publishing/updating a post.
Theme Settings: I am using the TagDiv Composer for my layout. I have checked the “Flex Block” filters to ensure no specific categories are blocking the new post.
Could you please assist me in identifying why the live site is not updating? Is there a specific setting within the TagDiv Cloud Library templates or Theme Panel that I might have missed?
Thank you for your help, Elad
BTW, is the “News Ticker” element subject to the “unique articles” setting on a page? Or does “unique articles” only affect article blocks?
Hi TagDiv team! I have a client’s home page set with “Unique Articles” enabled. This is perfect for most of the home page because we do NOT want any duplicate articles.
However, the client wants a block of articles at the bottom of the home page that shows the most read articles across the site over the past 48 hours regardless whether they appeared previously on the home page or not.
How would the “most read in past 48 hours” on that block of articles work with the “unique articles” setting on the page. Does it interfere? Does the “most read” setting override the “unique articles” restriction? If so, is there another way around this?
Thanks!