- TutorialsDefault Block Settings Guide
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsOffset Feature
- TutorialsWhat is Ajax preloading?
Hi TagDiv Team,
I am implementing two custom modal popups in my site’s header for the user flow.
The first modal (Login/Register) is working fine, triggered by a default user icon when the user is logged out.
The problem lies with the second modal, which is for logged-in users. I want to replace the standard “My Account” dropdown menu behavior with a custom modal that slides out from the right side of the screen. This custom modal will contain unique content.
I am using the Block Menu Login which correctly displays the dynamic user avatar in the header when the user is logged in. However, clicking on this avatar causes an unwanted redirection to the “My Account” page, preventing me from using my custom JavaScript to trigger the modal popup.
I need a solution to use the dynamic user avatar shown in the header as a dedicated, non-linking JavaScript click trigger for my custom modal.
The attached image (https://imgur.com/a/5Xbqtuc), titled “Modal Popups.png” (specifically the bottom section showing the user avatar), is a CROQUI (sketch) that illustrates the intended final result: the custom “My Account” modal opening upon clicking the user’s avatar. It does not represent functionality I have achieved yet.
Could you please advise on the officially supported method to disable the default link action on the avatar within the Block Menu Login, or provide a reliable shortcode/method to inject only the dynamic logged-in user’s avatar image (without any default link or container) into a raw code block?
Thank you for your help.
Best regards,
Hello TagDiv Support,
I am using the Newspaper theme (latest version) on my WordPress site, and am experiencing critical issues with missing frontend JavaScript files and related mobile performance problems.
Description of the Problem:
On my live site, the following critical theme JS files are returning 404 errors:
/wp-content/themes/Newspaper/js/tagdiv_theme.min.js
/wp-content/themes/Newspaper/js/tdb-site.js
This results in:
Broken frontend features (menus, blocks, theme interactivity).
Console errors such as “wp is not defined” and failures for any code dependent on the wp JS object.
Failed scripts when trying to use or customize TagDiv Composer, blocks, or advanced layouts.
File/Folder Structure Verified:
My Newspaper theme is installed at: /wp-content/themes/Newspaper/
The only theme folders present are: css, images, includes, translation, woocommerce (see attached screenshot).
No top-level /js/ directory is present in the parent Newspaper theme folder.
I checked within /includes/, where there’s a separate js folder, but it contains only backend/admin scripts, not the required frontend ones.
I have unzipped the original theme package from your download. There is still no /js/ directory at the theme root with the two required JS files.
Steps Taken:
Searched and extracted all folders in the downloaded Newspaper theme package, but could not find tagdiv_theme.min.js or tdb-site.js anywhere.
Cleared all WordPress, server, and browser caches, rechecked file system and browser console—issue persists.
Verified the problem recurs with a freshly installed, untouched Newspaper theme (not a child theme or plugin conflict).
Impact:
Site is not functioning properly for end users due to missing JavaScript.
Mobile Lighthouse audits show increased load times (LCP 5.6s+), slow visual completion, and warnings about render-blocking JS/CSS, many of which are worsened by missing or broken theme scripts.
Fundamental site features and performance are degraded on mobile and desktop.
Expected Resolution:
Please provide the correct /js/ directory and the latest versions of:
tagdiv_theme.min.js
tdb-site.js
so I can properly restore these to /wp-content/themes/Newspaper/js/.
If the theme package download I received is incomplete or missing files, please advise and provide a new download link or updated theme zip.
Advise if there may be a packaging, deployment, or installation issue on your end that affects the inclusion of essential JS files.
Optional/Additionally:
Please share a recommended method to ensure all critical JS assets are retained through future theme updates and can be verified after installation.
Any additional suggestions for resolving mobile loading/Lighthouse issues when all scripts are present and loading correctly.
Thank you for your help. Screenshots of my folder structure and file audits are attached for your reference.
Best regards,
Ameet
Newspatron.com
Console error screenshot
https://drive.google.com/file/d/1WisGWNru277WMt6d0twc0EvxeIVW0XkF/view?usp=sharing
Lighthouse screenshot
https://drive.google.com/file/d/1iAFtFb6z26XJdPg4myLTj0KlIoa4qnuS/view?usp=sharing
hello guys,
i developing a news site with your theme: https://wordpress-919309-5834713.cloudwaysapps.com/
i set some posts on relative taxonomy (Economia, Industria, Istituzioni) but both home block and details page (you can open from nav menu) did not show them.
Can you help me to fix this problem pls?
Hi there, this is the website I’m having the issue on https://www.inquietonotizie.it/
I’m using a “flex block 1” block to display the most viewed articles of the week.
Heres the options I enabled in theme panel (following the theme’s guidelines):
– 7 days post sorting
– ajax view count
– show post views
I keep seeing two older posts in that block. I have also checked how many views they have this week, and they only have one.
I made sure the options that makes those articles stick on top is disabled. I really can’t menage to make it work. My page has unique articles enabled.
Is anyone experiencing the same issue? Can you help me?
Thank you.
The “Load more” button keeps loading the same posts again and again…

Hi,
For me it’s the same on both – https://i.imgur.com/Hn1niIW.png
You can use theis custom css to make the layout a bit better https://i.imgur.com/VokHexB.png:
.comments .block-title>span {
background: transparent;
color: #000;
}
Set the css in the theme panel > custom code> custom css.
I hope this will help you!
Hi,
At this moment there is no souch a filter, but the rest of tehcontent can be created.
I think taht you can create a CPT and use it for your “event”. Use the acf plugin to add the cpt, taxonomy and custom fileds.
For filter I will sugest to try with a manually filter (to let the user to select the filters). You can try the filter from our theme, but this will work only with taxonomies, and you’ll need something that will work woth custom fileds, maybe https://wordpress.org/plugins/filter-everything/
Also, you can create your own modules using the module builder and sisplay theme with flex builder
I will add your sugestion our our list and our developers will check it out!
Thank you!
I would like to have a block on the front page, where I can put date-based content, say about specific historical events.
Ideally, I’d like to have a special post category (say, “chronology”). Those posts will be excluded from other areas of front page blocks (not sure if the “Exclude custom field” would do it, I will have a look to see how it works, I am new to the theme).
However, those posts will have an additional feature of a specific day that they are related to (say, “20th Oct” – optionally, this may include the year). Let’s call that “chronology-date”.
Now, in the suggested new block, the filter will check the chronology-date and will present the latest post (or as per the “limit post number” that is used now) for that category “chronology” only.
There would a variable of how many days before or after the chronology-date, they would become eligible, say, “chronology-before=5” (days) and “chronology-after=1” (day).
This could serve multiple purposes, i.e. historical events, future events, diary events, public announcements, etc.
Q1: is there a way of doing this at the moment, perhaps using any kind of custom fields?
Q2: from some research I’ve done, I didn’t find any wordpress plugin that does the job. Would you be interested in building that and adding it to the theme? I think it’s relatively easy to code the “chronology-date” as a new field for all posts, which would enable that.
Andreas.
Well, in my case, I need to find a way to do this very soon on my website, but I think the whole wordpress community would appreciate such a functionality.
Hello,
I’m using the Newspaper theme on my website Godt Drikke (https://godtdrikke.net), and I have an issue I haven’t been able to resolve.
At the bottom of every article, an old event announcement still appears:
🎄 Juletrefest for voksne – 15. November at Radisson Blu Tromsø
Kl. 12:00–16:30 | Billetter: 400 kr (eks. avgift)
🎟️ KJØP BILLETT HER
I’ve checked and tried the following without success:
Removed it from Menus (including Footer Menu and all menu locations)
Checked Widgets (Footer 1–4, Bottom Bar, After Article, etc.)
Inspected Cloud Templates (both Footer and Single Post templates)
Looked through Theme Panel → Ads / Custom Code
Confirmed it’s not inside the article content (Block Editor)
Despite all of this, the text still appears below every article, right above the “Share this” section.
Could you please help identify where in the Newspaper setup this global content block is located, and how to remove or disable it permanently?
Ideally, I’d like to:
Remove the event announcement entirely
Keep the rest of the footer intact
Thank you in advance for your help — this has been very hard to track down.
Best regards,
Vidar Pedersen
Editor, Godt Drikke
https://godtdrikke.net
Hello,
I am requesting assistance with a custom single post template configuration in the TagDiv Composer: https://forcenews.pl
Goal: We need the “Single Post Author Box” element (the author bio section at the end of the article) to be displayed only for posts published by one specific, designated user account on our website.
Current Situation:
The “Single Post Author Box” element is globally disabled in our standard Single Post Template.
We want it to remain hidden for all standard editorial articles.
Question/Problem:
We need to add the “Single Post Author Box” block to the existing single post template in TagDiv Composer, but it must appear conditionally.
Is there a built-in “Display Condition” feature within the TagDiv Composer for a single element (block) that allows us to set a rule based on the Post Author (e.g., specifying the Author’s ID or Username) to make the block visible?
Is there a solution that does not require duplicating the entire post template? Please advise on the best implementation path.
Thank you for your prompt assistance!
Hi,
This is normal because you do not have enough articles. Currently, you have a grid for 5 articles, and you have only 3 https://i.imgur.com/xXWhsWU.png, so you’ll need to add more articles for your categories so that a post loop or extra block will be displayed.
Also, for thumbs you need to do exactly what the placeholder thumbnail says, go to Newspaper > Theme panel > block settings and enable the mentioned thumbs – https://i.imgur.com/hLQLl6L.png
Hello,
To reduce the queries, you can check the fallow.
Check if you are using ajax pagination, mega menu, and many blocks (the theme is making a query for each block in parts, and if you are using mega menu, each element as mega menu makes queries, also ajax pagination makes queries to the database). Also, make sure that you use lazyload for images.
Other type of settings that can reduce the numbers of queries: use a good cache plugin WP Rocket, use object cache (redis), and use flex block cache – https://forum.tagdiv.com/use-flex-blocks-cache-option/ (with will reduce the number of request instead of a request for each page load for each flex block, this request will be only after 5-10 minutes for that flex block, it depends on the time set)
In addition, it’s a good idea to identify what’s consuming your server resources. Tools like Query Monitor and Code Profiler can help you pinpoint high CPU or resource usage caused by plugins, themes, or database queries.
Thank you!
Subject: Excerpt Formatting Issue: Paragraph Breaks <p> tags are being stripped – Newspaper Theme
Dear tagDiv Support Team,
I am experiencing a persistent issue with my post excerpts (teasers) when they are displayed on my homepage and archive pages using your theme.
The Problem:
The theme is stripping out paragraph breaks (the <p> HTML tag) from the post excerpts, causing the text to be displayed as one single, dense block. This happens regardless of whether the excerpt is:
Automatically Generated from the post content.
Manually Entered in the “Excerpt” meta box.
What I Have Tried (and failed with):
Custom Excerpt: Writing manual excerpts with HTML tags (e.g., <p>Text</p>). The tags are still removed.
Advanced Excerpt Plugin: I installed and configured the Advanced Excerpt plugin, ensuring the option to allow HTML tags was active. The theme seems to override the plugin’s functionality, and the paragraph breaks are still removed.
My Question:
Is there a specific setting within the Theme Panel, a tagDiv Composer Block setting, or a PHP filter that I can use in a Child Theme’s functions.php file to specifically allow the <p> tag (paragraph breaks) in the post excerpts displayed in your post listing blocks (like Flex Blocks)?
I only need the paragraph formatting (<p>) to remain intact to improve readability.
Thank you for your assistance.
If I insert any post flex grid or loop in category page like https://gulfaimagazine.com/category/latest-news/ which is a default template or even a custom page like https://gulfaimagazine.com/videos/, it doesn’t display the post thumbnails. The instruction on the placeholder image is Enable thumb from THEME PANEL BLOCK SETTINGS and on the Theme Panel page, there is no such setting available.
I have even activade the cache of the Flex blocks to 1 day and 1 week… but still get the same problems
Hi,
Can you provide some more details about this situation?
Indeed, our theme is making a request for each block and element used on a page/template to get the right results and configuration, but there should not be such problems.
Thank you!
TD composer is sending so many unneeded internal queries to the site that even if having a powerful cloud server, it blocks the access and get tons of 500 and 429 errors
Hi,
Using the newspaper theme, you can have social share on articles by adding them with the theme builder tagDiv Composer.
If you want the social to be on blocks, unfortunately, this is not possible at this moment, sorry!
Hi,
You can use the theme builder tagDiv Composer and tagDiv Cloud library and make the website as you like. If you want the block to have an image, title, and some excerpt, after that a read more button, then it can be done. Also, there are pre-built websites that can be installed https://forum.tagdiv.com/installing-demos/
You can see all prebuilt webiste using thsi link – https://demo.tagdiv.com/select_demo/newspaper-prebuilt-websites/?demo-type=pro
Thank you!
Hi Tim, the filter works the same on all blocks, so this will not help with anything. I asked a developer to check this and see what can be done. If I get a solution from dev, I will let you know what needs to be done.
Thank you!
Hi there,
I am using the “Flex Block 1” and try to show all posts that match one child category (3409) and another parent category (3437). The child category is linked to a different parent category.
However, using the option “Posts(cpts) must belong to all terms” does not seem to work with parent categories. It does not show the posts from the corresponding child categories. Attached you can see that even using only the parent category 3437, the number of posts differs depending on if “Posts(cpts) must belong to all terms” is activated or not. (Link to screenshots: https://imgur.com/a/pqNuqiO)
Any ideas on how to display all posts that match one child category (3409) and another parent category (3437), including their child categories? I would also be open to use a different block type if that helps.
Best regards,
Tim
Hello,
The situation is as follows, when you deactivated the tagDiv Composer and tagDiv Cloud library plugins on the site, you only had shortcodes displayed, that is, text, as a result, the delivery time becomes very fast because only one query is made to the database that brings only text to that page, this is simple, easy and fast to interpret, while when these plugins are active and blocks are used that display articles, ctegories, menus, cpts…, images, texts, background images, different functionalities … it is normal for the duration to be a little longer, but if the site is well optimized it should be under 2 seconds.
Thank you!
Hi, the mobile menu, if it is in the mobile menu section https://i.imgur.com/pfQp9Es.png, will be mobile only. Also, the responsive options on elements/blocks will show a sidebar on the left side of the viewports, for example https://i.imgur.com/Xo5UEkd.png
For mobile menu, there are 2 elements that can be used – https://i.imgur.com/FHIBsPY.png, and you can also create your own menu page using the popup element and assign that page to it.
Hi,
For Newspaper and Newsmag, you will just need to use a plugin that can convert the images in webp and enable the theme panel option for webp block settings > thumbs on modules/blocks https://i.imgur.com/BYSoxVP.png – https://i.imgur.com/Je1Dcd9.png
Thank you!
Is there something that can be done about this?
The filesystem “/” mounted at “/” reached “critical” status because you currently use 92.58% of its available blocks.
Notification Type: critical ⛔
Server: xxx.com
Primary IP Address: 1.0.0.1.x
Filesystem: /
Mount Point: /
Percent Used: 92.58%
Disk Block Usage: Used: 275.08 GB
Available: 23.32 GB
Total: 314.39 GB
ChkServd Version: 17.0
Here is what I’ve done so far
The wp_actionscheduler_logs table continues to grow rapidly. For now, I’ve manually removed the old log entries from this table to free up disk space.
To automate the cleanup process, I added the necessary code inside your WordPress theme’s functions.php file, but it doesn’t seem to be working as expected.
Why does the wp_actionscheduler_logs table grow so large and so quickly?
If they suggestion or specific fix or configuration that can be applied? As if I dont’ manually clean this up every 2 weeks the website goes down.