Search Results for 'child theme'

    No search results were found in Documentation!

Results from the Forum
eCronik
Participant
#0

Hi,

in terms of hardening the security of my site, I would like to hide information about the theme in the source code. How is that possible? I’m using a child-theme.

Thanks in advance and best regards,
eC

Anamaria
tagDiv Staff

Hello,

Please provide the link to your website.
Also, you can try to use this code css.
.tdb_breadcrumbs:first-child
{
font-weight: bold;
}

Set this code in the theme panel > custom code> custom css.

Thank you!

Calin
tagDiv Staff

Hello,
Normally all that you need to do is to use the child theme from the theme version you are using. You can get it by downloading the full package (all files) from your themeforest account. Then copy the child theme in wp-content/themes and activate the child theme from WordPress, after that the css set in the style.css will apply for the website.
Thank you!

ungatonipon
Participant
#0

Hello. The composer plug-in we’re using in several sites, is getting deactivated periodically by itself, causing the layout configured for the homepage to break. Manually activating it again solves the problem, only for it to happen again a few days later. This is happening in several sites, hosted in different servers from different providers, with not matching configurations, using different versions of WordPress, using different plugins, including the latest. It’s very annoying. And it’s worrying the plug-in seems to be abandoned as no updates were realeased for it in a long time.

I’ve read the reply at https://forum.tagdiv.com/topic/when-tagdiv-composer-deactivates/ and honestly, this is not a rare occurrence. This issue happens a lot.

Updating the theme to the latest version is not an option for us for some time, because we’re using your theme modified for some cosmetic reasons and updating it would overwrite all those changes. For a number of reasons out of the scope of this post, we couldn’t use a child theme for those modifications.

So, my question is: any chance you could have a look at the composer plug-in and find out why it gets deactivated randomly and debug that problem? After paying (several times, for several sites) for this otherwise great theme, I think that even if maintenance of this plugin is not planned anymore, at least you could maybe research this issue, that I’m sure is bother many of your long time users.

Thanks.

GanaAdhikar
Participant
#0

Hi,

I am working with child theme given with newsmag 5.

I tried to work with css but style.css not even loading.


add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 11);
function theme_enqueue_styles() {
 wp_enqueue_style('td-theme', get_template_directory_uri() . '/style.css', '', TD_THEME_VERSION, 'all' );
   wp_enqueue_style('td-theme-child', get_stylesheet_directory_uri() . '/style.css', array('td-theme'), TD_THEME_VERSION . 'c', 'all' );
}

kindly, help me.

thanks

Calin
tagDiv Staff

Hello,
Can you do test for 1-2 days using only the tagDiv plugins to see if the problem persist?
Also, in case that you have a child theme, please disable it and check the results.
In case that the problem persist, then please do a full backup for the website and please contact us via email at contact@tagdiv.com and please provide wp-admin access. We’ll check the problem as soon as problem.
Thank you!

ipro-wpadmin
tagDiv Member

I would like to add another issue to this. Pages set to not use the mobile theme in the individual page settings are completely broken. It appears no styles are loaded. This appears to be from using a child theme, when you switch to using the main theme the issue goes away.

Details:
• Mobile theme enabled (for mobile and AMP)
• AMP enabled (only for posts)
• Newspaper 11.5.1
• PHP 8.0
• WordPress 6.0.2
Child theme enabled (blank from the plugin core with no modifications)
• A page set to not use the mobile theme should be using the responsive theme but is broken.

Calin
tagDiv Staff

Maybe you set it in the wrong functions.php file
I just tested again and for me is working, I also test it in child theme -> https://i.imgur.com/RCDPZC3.png -> https://i.imgur.com/3tQEDB4.png

Calin
tagDiv Staff

Hi,
Indeed the cloud templates (like WordPress) do not allow directly injection with php code.
You can get the child theme by downloading the theme from the theme forest account in full package (all documents), then unzip the archive and the child theme will be inside the package.
Thank you!

Calin
tagDiv Staff

Hello,
Please check to have the last WordPress version, also please check the php version, try with php v7.4 and 8
Also, in case that you have a child theme, please disable it and check again.
Last thing you can do a test using only tagdiv plugins.
I hope this will help you!

r4you
tagDiv Member

Hi Calin, thank you for your reply.

I tried adding php code in the Cloud templates and tagDiv Composer, but it didn’t seem to work (we need to add PHP code as well).

We used the -child theme that was inside the Newspaper 11 zip file we got when the theme was purchased. How do we get the Newspaper 11 child theme?

  • This reply was modified 3 years by r4you.
Calin
tagDiv Staff

Hi,
After the theme update you need to also change the theme child (use the one from Newspaper v11), after that the files mentioned in our guide should work in the child theme.
Also, I suggest if you want to try the tagDiv Composer and cloud templates, in this way you can edit on frontend the layout and set the ads almost in any place.
Thank you!

Calin
tagDiv Staff

Hello,
You can try this custom code from here, this code need to be set in functions.ph, so I recommend to use a child theme and set the code in the functions.ph file from the child theme.
I hope this will help you!

r4you
Participant
#0

Hello!

We are in the process of updating our website from Newspaper 7 to Newspaper 11. In this dev environment Newspaper-child 11 theme is active. The plugin td-standard-pack is also active.

We are trying to add some ad units divs into the pages with code, however, any code we add in the -child theme’s folder is being ignored.
We are following the td-standard-pack’s structure, like in the tutorial (https://forum.tagdiv.com/the-child-theme-support-tutorial/). For instance, we want to add a header ad unit div (top banner), so we added the page ads.php like this (/td.r4you.co is our dev environment):

/td.r4you.co/public_html/wp-content/themes/Newspaper-child/parts/header/ads.php

What we are trying to achieve (production environment — Newspaper 7): https://www.tenhomaisdiscosqueamigos.com/

Thanks in advance.

yvandeuren
Participant
#0

Hello,

We’re trying to update one of our client’s website but when we proceed to the update of the Newspaper theme (so including the tagDiv plugins), we got an ajax error on all tagDiv plugins.
The error message doesn’t give any further information about the issue.
The theme is registered correctly.

Would you be able to help us on that please ?

Here’s the website URL : https://tribumedias.be/

And the WordPress status following.
Note that we restored a recent backup because trying to update breaks the site design etc.

Thanks and have a great day.

—————————-


### wp-core ###

version: 6.0.2
site_language: fr_FR
user_language: fr_FR
timezone: Europe/Paris
permalink: /%year%/%monthnum%/%day%/%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: undefined
environment_type: production
user_count: 12
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /home/customer/www/tribumedias.be/public_html
wordpress_size: 566,09 Mo (593592890 bytes)
uploads_path: /home/customer/www/tribumedias.be/public_html/wp-content/uploads
uploads_size: 164,16 Mo (172130998 bytes)
themes_path: /home/customer/www/tribumedias.be/public_html/wp-content/themes
themes_size: 15,90 Mo (16672888 bytes)
plugins_path: /home/customer/www/tribumedias.be/public_html/wp-content/plugins
plugins_size: 148,27 Mo (155475098 bytes)
database_size: 25,61 Mo (26853376 bytes)
total_size: 920,03 Mo (964725250 bytes)

### wp-dropins (1) ###

object-cache.php: true

### wp-active-theme ###

name: Newspaper Child (Newspaper-child)
version: 10.3.9.1.1625672265
author: tagDiv
author_website: http://themeforest.net/user/tagDiv/portfolio
parent_theme: Newspaper (Newspaper)
theme_features: core-block-patterns, post-formats, post-thumbnails, automatic-feed-links, html5, woocommerce, bbpress, align-wide, align-full, editor-font-sizes, widgets-block-editor, editor-style, menus, title-tag, widgets
theme_path: /home/customer/www/tribumedias.be/public_html/wp-content/themes/Newspaper-child
auto_update: Désactivé

### wp-parent-theme ###

name: Newspaper (Newspaper)
version: 11.4.2 (latest version: 11.5.1)
author: tagDiv
author_website: http://themeforest.net/user/tagDiv/portfolio
theme_path: /home/customer/www/tribumedias.be/public_html/wp-content/themes/Newspaper
auto_update: Désactivé

### wp-themes-inactive (4) ###

Twenty Nineteen: version: 2.2, author: L’équipe WordPress (latest version: 2.3), Mises à jour auto désactivées
Twenty Twenty: version: 1.9, author: L’équipe WordPress (latest version: 2.0), Mises à jour auto désactivées
Twenty Twenty-One: version: 1.5, author: L’équipe WordPress (latest version: 1.6), Mises à jour auto désactivées
Twenty Twenty-Two: version: 1.1, author: the WordPress team (latest version: 1.2), Mises à jour auto désactivées

### wp-plugins-active (20) ###

Advanced Custom Fields: version: 5.12.3, author: Delicious Brains, Mises à jour auto désactivées
Child Theme Configurator: version: 2.5.9, author: Lilaea Media, Mises à jour auto désactivées
Duplicate Page: version: 4.4.9, author: mndpsingh287, Mises à jour auto désactivées
GDPR Cookie Consent: version: 2.1.2, author: WebToffee, Mises à jour auto désactivées
Ninja Forms: version: 3.6.13, author: Saturday Drive (latest version: 3.6.14), Mises à jour auto désactivées
Regenerate Thumbnails: version: 3.1.5, author: Alex Mills (Viper007Bond), Mises à jour auto désactivées
Revive Old Posts: version: 9.0.10, author: revive.social, Mises à jour auto désactivées
Revive Old Posts Pro Add-on: version: 3.0.7, author: revive.social, Mises à jour auto désactivées
RSS Featured Image: version: 1.0.5, author: Jordy Meow, Mises à jour auto désactivées
SEOPress: version: 5.9.0.3, author: SEOPress, Mises à jour auto désactivées
SiteGround Central: version: 2.0.8, author: SiteGround, Mises à jour auto désactivées
SiteGround Optimizer: version: 7.2.1, author: SiteGround, Mises à jour auto désactivées
tagDiv Cloud Library: version: 2.1 | built on 10.03.2022 11:40, author: tagDiv, Mises à jour auto désactivées
tagDiv Composer: version: 3.2 | built on 10.03.2022 11:40, author: tagDiv, Mises à jour auto désactivées
tagDiv Newsletter: version: 1.7 | built on 11.04.2022 7:46, author: tagDiv, Mises à jour auto désactivées
tagDiv Social Counter: version: 5 | built on 10.03.2022 11:40, author: tagDiv, Mises à jour auto désactivées
tagDiv Standard Pack: version: 1.3 | built on 10.03.2022 11:40, author: tagDiv, Mises à jour auto désactivées
Ultimate Blocks: version: 2.5.2, author: Ultimate Blocks, Mises à jour auto désactivées
UpdraftPlus - Backup/Restore: version: 1.22.19, author: UpdraftPlus.Com, DavidAnderson (latest version: 1.22.22), Mises à jour auto désactivées
WPCode - Insert Headers, Footers, and Code Snippets: version: 2.0.2, author: WPCode, Mises à jour auto désactivées

### wp-plugins-inactive (2) ###

Microblog Poster: version: 2.1.6, author: Efficient Scripts, Mises à jour auto désactivées
SiteGround Security: version: 1.3.0, author: SiteGround (latest version: 1.3.1), Mises à jour auto désactivées

### wp-media ###

image_editor: WP_Image_Editor_GD
imagick_module_version: Non disponible
imagemagick_version: Non disponible
imagick_version: Non disponible
file_uploads: File uploads is turned off
post_max_size: 256M
upload_max_filesize: 256M
max_effective_size: 256 Mo
max_file_uploads: 20
gd_version: 2.2.5
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 9.27

### wp-server ###

server_architecture: Linux 3.12.18-clouder0 x86_64
httpd_software: Apache
php_version: 7.4.30 64bit
php_sapi: cgi-fcgi
max_input_variables: 3000
time_limit: 120
memory_limit: 768M
max_input_time: 120
upload_max_filesize: 256M
php_post_max_size: 256M
curl_version: 7.66.0 OpenSSL/1.1.1q-fips
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: true

### wp-database ###

extension: mysqli
server_version: 5.7.39-42-log
client_version: mysqlnd 7.4.30
max_allowed_packet: 33554432
max_connections: 500

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/customer/www/tribumedias.be/public_html/wp-content
WP_PLUGIN_DIR: /home/customer/www/tribumedias.be/public_html/wp-content/plugins
WP_MEMORY_LIMIT: 256M
WP_MAX_MEMORY_LIMIT: 768M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Indéfini
DB_CHARSET: utf8mb4
DB_COLLATE: undefined

### wp-filesystem ###

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable

eCronik
Participant
#0

Hi,

I’m trying to inject HTML tags around an element of the single post template (default pro). So far I’ve tried the single external shortcode element before (opening tag) and after (closing tag), but the tag gets closed right away on the front-end then. Can I maybe achieve this via a function on my child theme or edit some .php file to do this?

Thanks a bunch and best regards,
eC

Calin
tagDiv Staff

Hi,
This is most likely due to the fact that only the theme was not updated, the WordPress was.
Because you had a very old version, you must also install tagDiv Composer and tagDiv Standard pack, this should bring back the layout of the site.
Also check the php version, for example php v7.4 would be ok.
In case that you have a child theme, please disable it and set the main theme.
Thank you!

Calin
tagDiv Staff

Hi geoforum,
I believe that is possible to do a function that can be set in the child theme, unfortunately, I do not have such coding skills (none of us from support do not have), for this you’ll need a developer. He will be able to create the code.
Thank you for your understanding

Calin
tagDiv Staff

Hi,
We no longer recommended the use of the child theme since we switched to cloud templates -> https://forum.tagdiv.com/the-child-theme-support-tutorial/ -> https://i.imgur.com/4IOdjA7.png
Thank you!

Additional details from Web hosting provider, WPMUDev:
Amin 08:54 AM
Your resources usage was high and the sever was restated a few times
This is because of your cron jobs and too many bot visits
—————————-
| PHP max children reached |
—————————-
0 days ago: 12
1 days ago: 1
2 days ago: 0
3 days ago: 4
4 days ago: 1
5 days ago: 0
6 days ago: 7
7 days ago: 5
You have reached your hosting limits 12 times today
Robert 08:56 AM
Any way to reduce the cron jobs or what they are for? Any way to identify the bots to block?
avatar
Amin 08:59 AM
You can reduce WordPress heartbeat and remove all woocommerce cron jobs and add them manually in a timely manner set up
Your most visitor today is Semrush Bot
Robert 08:59 AM
Oh wow! We only had semrush for a week and didn’t keep it.
avatar
Amin 09:00 AM
If you want to block a bot you can add its user agent to WAF
Amin 09:01 AM
It is in HUB -> hosting -> tools -> web application firewall -> User Agent Blocklist
https://wpmudev.com/hub2/site/359822/hosting/tools
Robert 09:02 AM
Is that the ‘crawl9.bl.semrush.com’ entry already in the block list?
avatar
Amin 09:03 AM
no, use SemrushBot instead
I also suggest reducing your active plugins and to find out the slow ones you can connect your site to the new relic platform
You may check this doc for more info
https://wpmudev.com/docs/hosting/tools-features/#new-relic-monitoring
Robert 09:05 AM
Error is: Local nerdpacks failed to load
You requested to load local nerdpacks for development through a query parameter, however we could not find a local server working on your machine.
Make sure you have got it working by running nr1 nerdpack:serve on your nerdpack, then reload the page. For further information, please proceed to the Development Center.
SIDs: No SIDs available
Error retriving certificate
We didn’t find a certificate for your current user, please add a profile to your CLI using an API key from the same user to create a certificate.
CLI documentation
Contact support
avatar
Amin 09:07 AM
Did you enter the License key and App name in the HUB new relic settings?
Robert 09:08 AM
I guess I don’t know where to get those values.
avatar
Amin 09:09 AM
You can find the license key in your new relic profile after signing up and the App name can be anything
There is a walk-through guide here please take a look
https://wpmudev.com/docs/hosting/tools-features/#new-relic-monitoring
Robert 09:12 AM
I get the same error when I first signin to New Relic
avatar
Amin 09:14 AM
Wired, try to login on a new browser or in incognito tab
Robert 09:15 AM
Same error when incognito.
avatar
Amin 09:18 AM
Alright, you need to contact the new relic support to fix the issue with your account or you may create a new account
Robert 09:20 AM
Okay, I created new account. Here’s the page: https://www.dropbox.com/s/p4qauh5ck5l1ac1/Screenshot%202022-09-14%2009.19.43.png?dl=0
Select ‘windows’?
avatar
Amin 09:22 AM
No, just copy the license key there is no need to setup
Robert 09:22 AM
okay, copied.
avatar
Amin 09:23 AM
Paste it in the HUB and enter a name no matter what
Robert 09:25 AM
Okay, it’s enabled now.
avatar
Amin 09:26 AM
Now go back to new relic site and exit the setup
Robert 09:26 AM
Okay, done.
avatar
Amin 09:27 AM
Now go here
hub-tools-new-relic-app.png
Robert 09:29 AM
Okay, I’m there: https://www.dropbox.com/s/6d0vro97mwvsuli/Screenshot%202022-09-14%2009.28.36.png?dl=0
avatar
Amin 09:30 AM
Ok now go to the wordpress tab on the left sidebar
Robert 09:30 AM
okay, I’m there
avatar
Amin 09:31 AM
On the top menu bar click on WordPress plugins and themes
image.png
Robert 09:32 AM
Okay, I’m there.
avatar
Amin 09:33 AM
You should see the list of plugins and themes ordered by how time-consuming they are
Robert 09:35 AM
Okay, I do. Top plugin is from theme developer. I’ll contact them. Just give them a screenshot of this?
avatar
Amin 09:37 AM
Yes that would be good for them and if they asked for more info
You can check the other tabs

chip303
tagDiv Member

Hi,
you are absolutely right, as soon as I take the main theme, the error is no longer there. Can I just take it like that or is it still advisable to use a child theme

Calin
tagDiv Staff

Hi,
In that message the problem is related to the child theme. If you activate the main theme the problem is still persisting (is possible to be something in the child theme that is deprecated or something like that).
Thank you!

eCronik
tagDiv Member

I can’t the file anymore in 2022. How can I change the via and source links from nofollow to follow today? Is there any easier way than hardcoding theme files that will get overriden when updating (maybe via the child theme or any option in the panel I haven’t found yet)?

Thanks and best regards,
eC

chip303
Participant
PHP 8.0 - topic
#0

Hello,
when I switch my hoster to PHP 8.0, I get an error message and this e-mail from WordPress.
——
Hi!

Since WordPress 5.2, there’s a built-in feature that detects when a plugin or theme causes a fatal error on your site and notifies you about it with this automated email.

In this case, WordPress caught an error in your Newspaper Child theme.

First visit your website (https://www.fehnblogger.de/) and check for visible problems.
——
The website can then no longer be accessed, the only solution is to reset to PHP 7.4.

What can I do to make the theme and template (Magazine Pro) work with PHP 8.0?

manuV2
tagDiv Member

Hello Bettina,

thank you. I think I have to go the functions.php route. However, I would need more information. I’m using a child theme for the Newspaper, so of course the functions.php doesn’t have line 102, it only has the code for the child theme. However, even when I look at the main theme’s line 102 of functions.php, it says

add_theme_support(‘align-full’);

Which doesn’t seem to be the thing to edit here. So what should I edit and how should I include it in the child themes functions.php?

Thank you,
Manu Pärssinen

Viewing 25 results - 926 through 950 (of 12,866 total)