- NewspaperThe Newspaper Mobile Theme: Introduction
- NewspaperThe Mobile Theme
- NewspaperModules Builder in Newspaper Theme
- NewspaperNewspaper theme documentation
- NewsmagTheme colors introduction
- NewspaperTheme Colors Introduction
- NewspaperWhat’s Included in the Newspaper Theme Package
- ApiUsing the Theme API in plugins
- NewspaperFilters and sorting for taxonomies
- NewspaperHow to Add a Logo in Newspaper
- NewspaperBig Grid Flex Settings
- NewspaperHeader Builder
- NewspapertagDiv AMP Plugin Tutorial
- TutorialsFrom WPBakery to tagDiv Composer
- NewsmagSmart list ads
- NewspaperBest Of Forums
- NewspaperCache plugin – install and configure
- NewsmagIntroduction
- NewsmagMain menu
- NewsmagLogo & Favicon
I’ve spent tireless hours trying to fix my mobile portion for the website, but it doesn’t work. Please help, what can I do to match my website with the mobile site – see 3narratives.com
Thanks in advance for your help,
Carlos
Hello TagDiv Support,
I’m reaching out regarding two critical PHP 8.4 compatibility issues in the td-cloud-library plugin bundled with the Newspaper theme. These are causing repeated deprecation warnings and notices on my site (europeantimes.news), even though the site functions partially.
After thorough debugging, I’ve identified the following issues:
—
### 1. **Deprecated Constructor in Mobile_Detect.php**
**File:**
/wp-content/plugins/td-cloud-library/includes/Mobile_Detect.php (line 684)
**Issue:**
The constructor uses implicitly nullable parameters, which is deprecated in PHP 8.4:
`php
function __construct($userAgent = null, $httpHeaders = null)
`
This triggers the following error:
`
PHP Deprecated: Mobile_Detect::__construct(): Implicitly marking parameter $headers as nullable is deprecated, the explicit nullable type must be used instead
`
**Recommended Fix:**
Update the constructor to use explicit nullable types:
`php
function __construct(?string $userAgent = null, ?array $httpHeaders = null)
`
—
### 2. **Text Domain Loaded Too Early**
**Issue:**
The td-cloud-library plugin loads its translations **before the init action**, which triggers a WordPress 6.7+ deprecation notice:
`
PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ‘td-cloud-library’ domain was triggered too early.
`
**Cause:**
load_plugin_textdomain() is called directly when the plugin loads, not within the init hook.
**Recommended Fix:**
Move the translation loading to the init action:
`php
add_action(‘init’, function() {
load_plugin_textdomain(‘td-cloud-library’, false, dirname(plugin_basename(__FILE__)) . ‘/languages’);
});
`
—
### Environment
– WordPress: 6.8.2
– PHP: 8.4.6
– Theme: Newspaper (latest version)
– Plugin: td-cloud-library (bundled)
– Redis: Active (Redis Object Cache Pro)
—
### Request
Could you please:
1. Confirm if these issues are known and if a fix is already available?
2. Provide an updated version of td-cloud-library with full PHP 8.4 support?
3. Advise on any known conflicts with Redis or high-traffic automated sites?
These notices are not just noise — they impact performance and indicate deeper compatibility issues.
Thank you for your time and support. I look forward to your response.
Best regards,
Dear TagDiv Support,
I am contacting you regarding critical compatibility issues between the Newspaper theme and PHP 8.4, which are affecting the performance and stability of my site (europeantimes.news).
After thorough debugging, I have identified two major issues in the td-cloud-library plugin, which is bundled with your theme.
❌ 1. Deprecated Constructor in Mobile_Detect.php
File:
/wp-content/plugins/td-cloud-library/includes/Mobile_Detect.php
Issue:
The constructor uses implicitly nullable parameters, which is deprecated in PHP 8.4:
php
1
function __construct($userAgent = null, $httpHeaders = null)
Error:
1
PHP Deprecated: Mobile_Detect::__construct(): Implicitly marking parameter $headers as nullable is deprecated
Solution:
Update the constructor to use explicit nullable types:
php
1
function __construct(?string $userAgent = null, ?array $httpHeaders = null)
❌ 2. Text Domain Loaded Too Early
Issue:
The td-cloud-library plugin loads its translations before the init hook, which triggers a WordPress deprecation notice:
1
PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ‘td-cloud-library’ domain was triggered too early.
Cause:
load_plugin_textdomain() is called directly when the plugin loads, not on the init action.
Solution:
Move the text domain loading to the init hook:
php
1
2
3
add_action(‘init’, function() {
load_plugin_textdomain(‘td-cloud-library’, false, dirname(plugin_basename(__FILE__)) . ‘/languages’);
});
✅ Impact
These issues generate hundreds of PHP notices and deprecation warnings
They contribute to performance degradation
They indicate the plugin is not fully compatible with PHP 8.4
🔧 Request
Please:
Provide an updated version of td-cloud-library with PHP 8.4 support
Or confirm if a fix is already available in a newer release
Advise if there are any known conflicts with Redis, WP-CLI, or high-traffic automated sites
I am using:
WordPress 6.8.2
PHP 8.4.6
Redis Object Cache
Newspaper Theme (latest version)
Thank you for your support. I look forward to your response.
Best regards,
Hi Everyone,
I have a big problem with mobile my mobile theme on site https://gamepress.cz/
I created my own mobile site design, but it doesn’t load, interestingly, I have another site https://mobilepress.cz/ created that works exactly as set up. Both are on the same hosting and with the same plan. Both also have the same plugins and settings.
Can you advise what is wrong and why the site is not displaying as it should?
I am attaching images with descriptions below.


I’m trying to make sure that mobile Safari picks up our brand color in the menu bar, but I’m seeing inconsistent behavior.
When looking at the static header at the top of the page, the menu bar area (with the time and battery) is using the site’s background color: https://imgur.com/a/5dj3ue7
But when the sticky header comes out after scrolling down, it correctly uses the header color: https://imgur.com/a/BItyQUd
I’ve tried setting the background color of the static header and sticky header to the same thing, but I’m seeing this inconsistent behavior. How can I fix this?
Here is the live page if it’s helpful for diagnosing the issue: https://alpha.roadtovr.com/
Hi,
This can be done using the theme panel settings from Newspaper > Theme Panel> background – Mobile menu/search background – https://i.imgur.com/P3tj9UO.png
Then the colors from Newspaper > Theme Panel> theme colors – https://i.imgur.com/XCxtNJb.png
Or you can use the popup element and create your own mobile menus using the pages
I hope this will help you!
Hello.
How can I set the mobile version of the theme to show submenu items? Image: https://ibb.co/bRMZxyS5
And one more question. How can I translate the date? Image: https://ibb.co/6RH1NCgW
Greetings
Hello,
The first page should be from the mobile theme and the second one from the page content so that you can remove the title set in content, and the situation should be resolved.
Thank you!
I am using the mobile theme. When I add content to the editor for the mobile theme post edit page, all of my pages show the page title twice. How can I fix this?

Hello TagDiv Support,
I’m experiencing a problem with the Newspaper theme and TagDiv Composer that affects my site’s layout and customization options.
1. Mobile Layout Issue
On the mobile version, the layout is broken and does not adapt properly to the screen. This makes the site look misaligned on mobile devices.
2. Device-Specific Customization Not Working
Previously, when editing with TagDiv Composer, I was able to customize layouts separately for desktop, tablet, and mobile. For example, I could adjust padding, margins, or hide/show elements per device.
Now, those device-specific settings no longer work. The desktop layout is being applied by default to all devices, and I cannot create different designs for tablet or mobile anymore.
3. Steps to Reproduce
Open the homepage or a post in TagDiv Composer.
Select any row/element.
The alternatives for device customization (desktop, tablet, mobile) appear.
Any changes made for tablet or mobile are overridden, and the desktop view is forced on all devices.
4. What I’ve Tried
Confirmed with WPMU DEV support (my hosting provider) that this is not related to optimization or caching.
Performed cache clearing and plugin conflict checks.
Verified no JS errors in the browser console.
Confirmed that the issue persists even without Hummingbird optimization enabled.
5. Current Status
My hosting support confirmed the issue seems to come from the TagDiv Composer/page builder itself.
I am currently using the latest version of the Newspaper theme and the problem started recently, without any theme update on my side.
Could you please help me investigate this and confirm if it’s a known bug in the latest version of TagDiv Composer?
Any guidance to restore proper mobile layout behavior and per-device customization would be greatly appreciated.
Thanks in advance for your support,
Prensa Regional
hi this is my installed theme – https://bookreviews.forum/
I am aunable to chage orange colour all over the theme, i want to keep it something else.
Also on mobile screen there is a critical issue, the main header (where the logo is) on left hand side there is an empty white bar, please help me to make it sync with black header, it looks really cheap see screeshot – https://prnt.sc/XNiaBkl1mlPI
Hi,
Please provide a link to the website so I can investigate the element you are saying.
Normally, if the responsive version is used, what is displayed on a desktop should also be displayed on mobile. In case the tagDiv Mobile theme is used, the source and via should be displayed.
Thank you!
Hi,
This can be a cache situation, when a mobile page or the mobile theme plugin is used, you need to have a cache plugin that can create a mobile cache separate from the desktop version. Please try when you are connected and see if the problem persists.
Thank you!
I need to show the source in posts in the mobile theme. How do I add that? Thank you
Hello,
I am having problems with the town talk mobile theme. It keeps reverting back to the town talk header, and changes I make to the mobile theme in the layout also keep reverting back. How can I fix this? When I look at the mobile theme in the back end, all the changes i made are there, but when I look at the website on my phone, none of the changes are there. Thanks
Hi,
2. What you need to do is to change the mobile menu icon – https://i.imgur.com/SHimyDh.png https://i.imgur.com/yQtfClG.png
3. The live search on the element is a bit different; it can be used to display the results in a dropdown element – https://i.imgur.com/j8jVsGG.png or under the element input, to make it to have the element input and display results as you want, you ned to use this custom css:
.td-header-desktop-wrap .tdb_header_search {
top: -30px;
position: absolute;
z-index: 999;
}
Personally, I will recommend the option from the theme.
Thank you!
Hello,
Maybe the theme does not have all those features and some of the themes may be overwhelmed to have them, but in the meantime, I will let you know what the theme has.
We do not have a personal dark mode, but there are many plugins for dark mode that can be used -> https://www.wpexplorer.com/dark-mode-plugins/
The theme has the Table of Contents element, it can be added/removed/edited using tagDiv Composer on the single post template – https://i.imgur.com/nwqwWSg.png
“Another thing: I’d love to create styled content boxes (like quote blocks, info boxes, tips, etc.). There’s no easy way to do this in the Newspaper theme. If there’s a built-in way to create that inside Composer without extra CSS, I haven’t found it yet.”
It can be done using the tagDiv elements, for example, you can use the row or inner row to hold more elements and set inside it a column text, maybe an image, a button and adjust them according to your needs – https://i.imgur.com/aNpQ57W.png also, you can use the cloud to import a section or an existing block. When you have a block layout that you like you can save it in tagDiv Composer so you can reuse it on other pages or templates- https://i.imgur.com/hXsFCUX.png
Also, for the mobile version the theme provides the responsive version, the possibility to create a separate mobile page/template using tagDiv Composer and also the tagDiv Mobile theme light version (3 options for mobile).
Thank you!
Thanks for the reply. I’m actually already aware of those features you mentioned. What I was trying to get at is that I need help implementing them properly on my site. I had sent an email a while back asking for guidance and a quote for services, so I’ll follow up on that email.
That aside, I still feel like the theme is missing a few modern features or maybe I’m just not seeing them?
Dark mode is one. I noticed one of the other themes switches to dark mode automatically based on the visitor’s system settings (like on Mac), which is great. This would be a nice feature.
There’s also no Table of Contents block that I can find, which is kind of expected nowadays — especially for long-form content and SEO.
Another thing: I’d love to create styled content boxes (like quote blocks, info boxes, tips, etc.). There’s no easy way to do this in the Newspaper theme. If there’s a built-in way to create that inside Composer without extra CSS, I haven’t found it yet.
Other features I’ve seen in newer themes like JNews and Foxiz that seem missing:
Text-to-speech for articles
GIF thumbnails that actually animate
Smart sticky nav or TOC sidebar
Font size/accessibility toggles
Reusable block templates inside Composer
More lightweight mobile-first optimization
I still really like using Newspaper, but it’s starting to feel a bit behind compared to what other newer themes are doing. Would love to know if any of this is on the roadmap.
Thanks again!
Hello,
For the empty gap at the footer, I will need a link to your website where I can investigate the gap and determine its cause.
The shadow can be removed from Style tab, set Shadow 0 – https://i.imgur.com/wQkD3xM.png remove the border from the General tab – https://i.imgur.com/vIkk4Ey.png set border radius for input – https://i.imgur.com/Dk0sbA5.png and for the button – https://i.imgur.com/Rbfh7zA.png for button position use this custom css:
.tdb_header_search .tdb-head-search-form-btn {
position: absolute;
}
I see that icon is a standalone element, so you can drag and drop it in the left zone of the text.
The theme has a responsive version, just check the mobile viewport – https://i.imgur.com/GpDhAsx.png but if you want to have a separate conetnet for mobile or you want to edit some elements only for mobile you can create a mobile page/template https://tagdiv.com/newspaper-10-3-7-update-brings-customizable-and-fast-mobile-pages/ also is providing a dedicate plugin (tagDiv Mobile theme) but this is limted in options and edits making it very simple.
Thank you!
Hi Rase.Admin,
1. The tagDiv Mobile theme plugin is indeed providing better results for mobile users because it is a dedicated plugin for the mobile version, but this is keeping the website layout very basic, on the Newsmag theme, there will not be much difference between desktop and mobile version, but on the Newspaper theme will be like you are on a different webiste.
2. The recommendation is that if you are using the AMP plugin, also use the tagDiv Mobile theme to set the mobile theme layout for the AMP users. Now the thing is that many users have given up on amp and this year it is no longer a boost like it was in the past, and many developers have started to pass off amp as deprecated, it can still be used but is optional.
The messages you received are related to deprecated php code, usualy this happens when you changed from php 7.4 to v8 and there are parts of php code/there are functions that are no longer supported in version 8.
Thank you!
-
This reply was modified 11 months by
Calin.
Hello Anamaria,
I am using a purchased version of Newsmag and in the actual version I’ve read the tagDiv stating
1) “tagDiv Mobile Theme – Make your website lighter and faster on all mobile devices” and
2) “Official AMP for WP – Mobile Theme requires the AMP plugin to give your site the best results”
and here I read your comment, that AMP is deprecated for more than two years now.
I am confused – could you please clarify the situation?
I am asking especially because I am currently receiving more than two millions of error messages per day, all identical:
“PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/vhosts/…/wp-content/plugins/td-mobile-plugin/Mobile_Detect.php on line 1257”
Thanx!
HI,
Most of the time, those were the settings interfering with the theme, but if the problem persists, then I think you’ll need to manually check the settings until you find those that are causing this situation.
The layout shift is usually caused by Remove Unused CSS or JS Delay/Defer in LiteSpeed. Try this :LiteSpeed → Page Optimization → CSS
– Set Remove Unused CSS = OFF
– Use Optimize CSS Delivery = ON (Critical CSS per URL)
– Purge CCSS/UCSS.
LiteSpeed → Page Optimization → JS
– Turn Delay JS = OFF (or exclude Newspaper/tagDiv scripts like /wp-content/themes/Newspaper/, td-*).
– Turn Load JS Deferred = OFF if issue persists.
LiteSpeed → Page Optimization → Media
– Localize Google Fonts = ON, Font Display = Swap, and preload main fonts.
LiteSpeed → Cache → Mobile
– Enable Cache Mobile + Separate Mobile View.
Then clear all caches and retest. Most Newspaper sites fix the shift by disabling UCSS and excluding tagDiv JS from Delay/Defer.
Thank you!
Hi,
There are a few recommendations:
I will recommend using a good cache plugin, if you have the possibility WP Rocket> will be the best, if not, Litespeed is one of the free cache plugins that provide the best results in the free version. Also, we recommend using Cloudflare (CDN), which will help you prevent attackers from getting on your website and also has options to improve the speed. The free version can be used; there is no need for a premium account.
For accessibility, you should check the H elements to be in order on your website, for example, there are 3 H1 and no H2 – https://i.imgur.com/co6Twat.png H1, is usually coming from logo and if you have the logo on the header, footer and mobile header, for the start there are 3 H1, what can be done is tu use tagDiv Composer, select the footer logo and also the mobile logo and make sure taht the option to disable H1 is checked – https://i.imgur.com/8yxrxU9.png – https://i.imgur.com/c7c0DPU.png
Thank you!
Calin, that’s it, I figured it out! )
It was necessary to duplicate the code of the “Forum” page in the field with the “Mobile Editor” admin panel
https://skr.sh/sXCMW6Lqa3R
Sorry, the last question remains. How are these block headers https://skr.sh/sXC6kd9z7ML should I convert it to Russian in English so that the KOI8 encoding is supported?
I changed it in the file /public_html/wp-content/plugins/td-composer/mobile/includes/shortcodes/td_block_related_posts_mob.php the title is in Russian https://skr.sh/sXCrAHgnuy1 , but on the website, the word НОВОСТИ is displayed with question marks <?>.
In theory, the “tagDiv Mobile Theme” plugin should inherit the default font of the theme.
===========
Calin, все, разобрался! )
Надо было код страницы “Форума” продублировать в поле с админкой “Mobile Editor”
https://skr.sh/sXCMW6Lqa3R
Извините, последний вопрос остался. Как эти заголовки блоков https://skr.sh/sXC6kd9z7ML на английском языке переделать на русский, чтобы поддерживалась кодировка KOI8?
Я поменял в файле /public_html/wp-content/plugins/td-composer/mobile/includes/shortcodes/td_block_related_posts_mob.php заголовок на русский https://skr.sh/sXCrAHgnuy1 , но на сайте слово НОВОСТИ отобразилось знаками вопроса <?>.
По идее плагин tagDiv Mobile Theme должен наследовать дефолтный шрифт темы.