Search Results for 'child theme'

Results from the Forum
mikeshecky
Participant
#0

Long story short. Something must have been corrupted in a Newspaper theme file. Hosting helped, had to do a theme restore, then a full site restore.

Hoping to be at the last mile of the fix… I cannot edit ANY templates. Gives me an error. Which I am hoping is related to another issue. It tells me I need to update from 12.6.9 –> 12.73. I click to update, take me to a screen that says everything is up to date. Which it isn’t, because it still says Im on 12.6.9.

TLDR. Restored, assume I was on 12.7.3 Now stuck on 12.6.9. And wont let me edit templates, Im assuming because it partially thinks Im on 12.7.3/12.6.9? Child theme too FYI. Screenshots included.

HELPPPPPPPPPPPPPPPPPP

michaelryanmoney.com
Screenshots

Calin
tagDiv Staff

Hi,

The mentioned path was only if the mobile theme plugin was in use, if you are using the mobile page template, then there is no need to set the code in that path.

The shortcode where it is set, did you use a child theme to set it in functions.php? If so it should work, is working for me – https://i.imgur.com/mqFWgu0.png
Css – https://i.imgur.com/nt5jVHF.png
code -https://i.imgur.com/VA2JNSe.png

Thank you!

Calin
tagDiv Staff

Hi,

If the plugin keeps deactivating, it’s most likely not the correct version. Please delete it, then reinstall and activate it from Newspaper > Plugins.

If the problem persists, please try testing with only the tagDiv plugins and the main theme (not the child theme, if you’re currently using one).

Jazzie
Participant
#0

Hello after updating toNewspaper to 12.7.3 my whole Template including header background image and logo an all settings where crasht. My Site came up with a complete new lauyout and I did not find my old settings in my Theme Panel.
Is it the intention that only cloud templates are available? I actually use a child theme to prevent this, but it probably has something to do with the Tagdiv Composer settings.In any case, my homepage became just a news list without all the layouts and texts selected in the TAGDiv Composer and using tagdiv Standard Pack

Calin
tagDiv Staff

Hi,
The theme has only a single js file and that is on a different path:
wp-content/themes/Newspaper/includes/js/tagdiv-theme.min.js
The part for the mentioned js files is from the tagDiv Composer plugin
wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js also, the theme do not have a file like tdb-site.js
My recommendation: make sure that you have the latest theme version 12.73, and in case you are using a child theme, set the main theme.
Check when you are logged in and no cache and minify code is applied to see if the same error appears.
For the mobile version, you need a very good cache plugin.
You can also use the tagDiv mobile theme plugin, which will change the layout but will provide very good results – https://forum.tagdiv.com/mobile-theme-introduction/

newspatron
Participant
#0

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

miciudadreal
tagDiv Member

Hi, here are the details:

– our blog incorrectly sets the “<meta name=’og:image’
vlaue=’uri_to_image’>” for the home page
– we want to force the value of the meta header “<meta name=’og:image’
value=’uri_to_custom_1image’>” only on the home page
– we don’t want to install a plugin for this
– we want to set the meta header with the functions.php (add_action)
– i don’t want theme updates (Newletter) to overwrite our custom functions . should i create a child theme from Newsletter just to add that function?

Calin
tagDiv Staff

Hi,
Child theme is used only for old prebuilt websites, using a pro one like Business, you need to use tagDiv Composer to edit it from the frontend – https://www.youtube.com/watch?v=SoGQ0d5kIBg&list=PL6CsDkMaejhoHETIWoxnRB4zefz8L8PYg&index=1

The child theme is provided in the theme package (unzip the package and check the code folder inside it is the child theme) provided on themeforest account. Before using the child theme, please check our guide for it – https://forum.tagdiv.com/the-child-theme-support-tutorial/

Toob
Participant
#0

Hi,

I purchased the News12Paper theme via themforest. I’m unable to instal the Child theme. Please provide me with the direct link to download the child theme as the one in the package isnt working.

Also, I’m unable to to style the Buiness pro demo I’m using to set up our website. Turns out that the theme core plugin is missing. Kindly help as I have spent the last 48 hour trying to figure it out.

jbgroup
Participant
#0

Hi there,

We’ve noticed a recent change in how excerpts are displayed on post cards in our Newspaper theme. Previously, the subtitle field would appear under the post title (used as the excerpt text). However, now every excerpt seems to be auto-generated from the post content instead.

This is causing an issue for us because our posts follow a strict structure and all begin with the same intro text, so the auto-generated excerpts are repetitive and not useful.

Here’s what I’ve tried so far:

Cleared all caches (site and browser)

Checked the Theme Panel for any related settings

Verified that the subtitle is saving correctly (it is)

Confirmed that the excerpt field is empty (we don’t have it enabled for our custom post types)

Switched to the parent theme (instead of the child theme) to test — same behavior

Disabled all non-theme-related plugins to rule out conflicts

Could you please confirm if this is now the expected/default behavior, or if something may have changed in a recent update?
If it’s not intended, could you point me to how we can restore the previous behavior where the subtitle was used as the excerpt text on post cards?

Thanks in advance for your help!

Calin
tagDiv Staff

Hi,
If all products will have the label with teh same procent then you cna use a hook.
use a child theme and set in functions.php file from child this function:
add_filter('woocommerce_sale_flash', 'woocommerce_custom_sale_text', 10, 3); function woocommerce_custom_sale_text($text, $post, $_product) { return '[NEW TEXT]'; }

The results – https://i.imgur.com/BOt46dS.pnghttps://i.imgur.com/TgFDO3R.png

Calin
tagDiv Staff

Hi,
A cloud header will use the file from this path: wp-content/plugins/td-cloud-library/parts/tdb-login-modal.php. Unfortunately, there are no options to overwrite the files from the cloud in the child theme, sorry!

#0

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.

Calin
tagDiv Staff

Hi ctucker,
If you are using the login module from the standard pack, then you can use the child theme to override it – https://forum.tagdiv.com/the-child-theme-support-tutorial/. Unfortunately, for the cloud, it will not work.
Thank you!

ctucker
tagDiv Member

Is there a way to override this in a child theme?

Calin
tagDiv Staff

Hi,
Don’t edit theme LESS files.
Those variables are compiled before use, so changing them has no effect unless you rebuild the theme (not supported).

Use a child theme. Open your child theme folder and edit the style.css (or a new file like breakpoints.css), add:

/* Custom mobile breakpoint */

@media
(max-width: 575px) {
/* your mobile rules */
}

/* Between 576–767px (old mobile range) */

@media
(min-width: 576px) and (max-width: 767px) {
/* your tablet-like rules */
}

Make sure your CSS loads last.
In functions.php:

add_action(‘wp_enqueue_scripts’, function() {
wp_enqueue_style(‘my-breakpoints’,
get_stylesheet_directory_uri() . ‘/breakpoints.css’,
array(‘td-theme’), ‘1.0’);
}, 999);

Clear caches (theme + browser) and test at 575px width your new breakpoint now applies.
I hope this will help you!

Calin
tagDiv Staff

Hi,

Unfortunately, for the moment, it is the only element that can be closer to what you need.

To use a child theme, you can get it from the theme package, for more details, you can check this guide https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thank you!

rumosdabolsa
tagDiv Member

Hello Bettina,

I hope you are doing well.

I found the following code snippet within the theme files, which appears to define the responsive breakpoints:

CSS

/*
* responsive settings
*/

/* responsive landscape tablet */
@responsive_l_tablet_max: 1140px;
@responsive_l_tablet_min: 1019px;

/* responsive portrait tablet */
@responsive_p_tablet_max: 1018px;
@responsive_p_tablet_min: 768px;

/* responsive portrait phone */
@responsive_p_phone_max: 767px;
My question is about the mobile breakpoint, currently defined as $responsive_p_phone_max: 767px.

The theme’s default mobile layout works well on smaller screens (320px – 500px), but I feel the range up to 767px is too large and causes design issues on larger phones or in landscape mode. At 750px, for example, the layout looks stretched in mobile mode before transitioning to the tablet layout at 768px.

Question:

Considering that this code appears to be SASS/LESS and not pure CSS, what is the correct procedure to implement a change to this value?

Is there a functions.php filter or function in the child theme that would allow me to change the $responsive_p_phone_max value to something like 575px, or is it necessary to modify and recompile the SASS/LESS files?

Please Note:

I fully understand that any such modification is at my own risk and is not covered by support. I am aware of the potential impact.

I am using only the standard and mobile layouts integrated into the theme, and not the separate tagDiv Mobile Theme plugin.

I appreciate any guidance you can provide on the safest way to make this change.

fuska
Participant
#0

Hello tagDiv Support Team,
I’m using the Newspaper theme (version 12.7.1) on my website oblo.it, and I’ve run a W3C HTML validation check that shows multiple errors related to <style> tags being placed inside <div> elements.

Error details:

Error message: “Element style not allowed as child of element div in this context”
Occurrences: 60+ times throughout the page
Validation tool: https://validator.w3.org/

These errors appear to be generated by the tagDiv Composer page builder when creating inline styles for blocks and elements.

My question:

Is there an updated version of the theme or a patch available that addresses these W3C validation errors?
Are you planning to fix this in a future release?
Is there a recommended workaround that maintains full theme functionality?

I understand these errors don’t affect the site’s functionality, but I’d like to improve the technical score and W3C compliance if possible.

Thank you for your assistance.
Best regards,
Paolo Fuschino
Website: oblo.it

newspatron
tagDiv Member

Hi,
I already implemented the same, but was looking for an enhanced version. i checked the templates and none of the templates in the could library could put up a pagination for the categories, instead of the posts as an option…

one more concern is creating a child theme.
currently i am on a managed wordpress having no access to creating a child theme. i want to make certain changes with regards to the topic
allowing the newspaper theme to include BBPress ie using the templates…

currently i tried importing a blank page and then creating a template using sections and such..

but in the bbpress settings the option of theme selection is not available…

In a given scenario can if i edit the main theme, i think it will be overwritten at the time of update..

please suggest a way to deal with this… ie creating a child theme or editing any functions…

bbp press is a custom post and it has only the default option…

https://drive.google.com/file/d/1Q74mR-0y8y3owQX_gTUA9AakQQyeKV6I/view?usp=sharing

Thank you!

Simion C.
tagDiv Staff

Hi,

Was the theme modified perhaps? Because there’s no variable like that on that line or anywhere in the theme functions file. Or is that a child theme? If you reinstall the theme, and deactivate the child theme if there is one, are the errors still generated?

Thanks.

Simion C.
tagDiv Staff

Hi,

That’s a very old theme version. However, even if you update the theme the website should look the same.

It is important that you install the standard pack plugin after you update https://prnt.sc/AjDfjpCqFbq_ This plugin we added in Newspaper 10 contains all the old blocks and templates, which are separate from the main theme now. There is an article about it here https://tagdiv.com/newspaper-theme-update-standard-pack-or-tagdiv-cloud-templates/

Be sure to also clear the cache, or the optimized resources, or cloudflare if you use it, after updating the theme.

If you use a child theme I suggest deactivating it after updating, as it could cause problems.

And maybe it would be best to try updating on a staging/testing clone of the website first, if possible. If you have a staging already, I could take a look there as well, you can send the access details and link to contact@tagdiv.com

Thanks.

urishtaujjain
Participant
#0

Hello tagDiv Support Team,

I am using the Newsmag 5 theme. In the Theme Panel → Post Settings, I have enabled the option “Show Modified Date”, which currently displays only the modified date on single posts.

However, I would like to display the Last Updated information with both date and time, in this format:
Last Updated: September 30, 2025, 06:23 IST

Could you please confirm:

Is there any built-in option to also include the time alongside the modified date?

If not, can you provide the recommended code snippet (and the correct template file where it should be added, e.g., post-meta.php) to achieve this in an update-safe way (preferably using a child theme)?

This would really help me ensure my readers see both the date and exact time when posts are last updated.

Thank you for your assistance.

Best regards,
Umesh

Calin
tagDiv Staff

Hi,
This situation was caused by the code in the child theme you have. Setting the main theme, the Opt-in builder was displayed – https://i.imgur.com/uDBM3LD.png therefore to make those settings, you need to set the main theme or to edit the code from your child theme.
Thank you!

rafaelpetermann
Participant
#0

I am using the Newspaper theme and noticed that the featured image of each post is displayed as a background-image inside a <div> with the class tdb-featured-image-bg, instead of being rendered as an tag.

This approach makes it impossible to use the alt attribute, which is essential for:

– SEO, since Google does not properly index images used as backgrounds;

– Accessibility, as screen readers cannot interpret the image.

I would like to confirm with you:

1) Is this behavior the default of the theme, or is there any setting to display the featured image as an tag with the alt attribute?

2) If there is no setting, what would be the recommended way to implement this without losing compatibility in future updates (for example, using a child theme)?

Thank you in advance for your support.

Viewing 25 results - 76 through 100 (of 12,866 total)