- NewsmagtagDiv Composer Tutorial
- NewsmagBlock settings tutorial
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagUsing Typekit fonts
Did you try blocking access to:
/wp-json/tdw/save_css
same way you’d block access to anything else not public on the site, via root or folder htaccess
(I don’t work here.)
I still got issues after a fresh install of WordPress, Newspaper and the td-plugins
—————–
Hello,
Can you update us on any further progress you have made on the websites as we are still seeing a much higher CPU usage than the allowed limit for the account? The lack of updates and progress would lead to us suspending the account.
Best Regards,
—————–
Then I asked what file(s) were having the issue:
—————–
Hello,
Going off of our web statistics page
(the url stated here)/statistics/web-stats/
Using the “Webalizer” we see that the most hit page was this one.
/wp-json/tdw/save_css
Best Regards,
—————–
I censored the url
Hi,
I am testing this as well.
The guide mentioned here https://forum.tagdiv.com/topic/regarding-adding-multiple-authors-on-newspaper-theme/ is for the post pages, not the modules that blocks use, or any other locations on the website.
So first I added the code in the child theme functions file https://prnt.sc/hTPNzhlfY7X0
I copied the files for post template 2, which I see you are using.
So these files from the composer https://prnt.sc/sYUozCJiLp19
Into the child theme via this path Newsmag-child/parts/single https://prnt.sc/uG_2Uqw4Fcae
I replaced the code in the single file https://prnt.sc/ICqKDs-XYUX6
And in the loop file https://prnt.sc/EJMd1roozXhb
I entered the CSS in the theme panel https://prnt.sc/7dwNgqXIkJKe
I installed the co authors plus plugin and set 2 authors https://prnt.sc/XduTPL7-Dycg
The result https://prnt.sc/iNwHwugnwHLB and https://prnt.sc/_CBidAgkxti6
It seems to work fine. If it doesn’t for you, maybe its not done correctly. Could you please doublecheck? Or if you want, we can take a look as well. You can send us an email at contact@tagdiv.com and provide access to the staging website. Let us know.
Regards, Simion C.
another reply from my host:
These are general details for optimization and security and a matter of development of the website which depends on you. You need to read carefully details what the trouble on that website was:
https://blog.sucuri.net/2023/10/balada-injector-targets-unpatched-tagdiv-plugin-newspaper-theme-wordpress-admins.html – and with huge amount of hits at: (insertmydomainhere dot com)/wp-json/tdw/save_css/
On wordpress 6.2 and theme 12.3 with mobile tagDiv plugin disabled I cannot see the menu only on real mobile smartphone (on chrome simulation is ok) when I click on hamburger menu and search button the menu.
If I make one inspect on debugging with real device I see there is the data but I cannot understand why it isn’t visible (css/js issues maybe).
I see on mobile isn’t loaded newspaper theme 12.3.1 as in desktop (but I don’t know if it ok).
The site is http://www.allerenitalie.com
Can you help me?
I opened the CSS code that you share above. But there is no references to those doodles in that css. I just need to remove those doodles.
Hello @HamayonBaig!
There are some CSS elements on the page: https://app.screencast.com/Itk4W10mQn27d
They can be seen when you edit the page with the tagdiv composer.
Thank you!
Hello @Anamaria,
I found a CSS-solution to remove the link an a module tilte (or any post-title in the post-loop) to the post itself.
I added a CSS class .nolink with the following rules:
.nolink {
cursor: default;
pointer-events: none;
text-decoration: none;
}
Hi,
So the templates are imported per language. Please note that they have to be set per language so they change when the language changes. So in the cloud templates dashboard you set the desired template for one language https://prnt.sc/LiDJgOU4Jaxu and then for the other https://prnt.sc/3-Ir6tMOvUhL
You do not need to set the header using the header manager. All that is needed is to set the templates per language in the cloud library dashboard.
The templates are set correctly, and they change by language. The only unusual thing I found was a code in the wordpress custom CSS https://prnt.sc/N1sUflwbQekN That code always made the website RTL, even on English. I’m not sure what its purpose was exactly, the website should not be RTL on English. I commented that code.
You can customize the templates with the composer further if you want. If there are more issues, please let us know and we will take a look.
As a note, please do not post login information in the topic, the topics are public and any forum member can see them. I have removed them.
Thank you!
Hello,
Unfortunately, there is no option to set the checkout form to the right. You can create a custom code css https://i.imgur.com/B41E5tQ.png
.wp-block-woocommerce-checkout,
{
text-align: right;
}
Set the code in Theme panel>Custom code>Custom css
Thank you!
Hello,
You can edit with tagdiv Composer, select the viewport for the phone, and after you can, drag and drop the elements as you want. Also, you need to change the width of the columns in tab css.
Thank you!
Hello,
Then you need to create a custom code css for your widgets https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thank you!
Hi Dave,
To change the width, you can set it here, but you need to set the width on each column-> https://i.imgur.com/MVh7p5G.png or you can use the css code, but please make sure that you have set also, the positions and margin.
The advantages are that you can create your design as you wish, plus most options can be added from the composer. You can create a unique design for each email or for categories.
Some key features of the TagDiv Cloud Library templates include:
Customization: Users can customize the templates according to their preferences and branding requirements. This includes changing colors, fonts, layout structures, and more.
Responsive Design: The templates are designed to be responsive, ensuring that they look great and function well on devices of all sizes, including desktops, tablets, and smartphones.
Easy Integration: Templates can be easily integrated into WordPress websites using the TagDiv Composer, a drag-and-drop page builder tool offered by TagDiv.
Diverse Selection: The library offers a diverse selection of templates catering to various industries such as blogs, magazines, e-commerce, portfolios, and more.
Regular Updates: Templates are regularly updated to ensure compatibility with the latest WordPress versions and to incorporate new features and improvements.
Thank you!
Hi,
Usually, the color and image are set on the row, so please edit with tagDiv Composer and select the row and go in the tab CSS, select the viewport for phone https://i.imgur.com/UkgqKNM.jpg -> https://forum.tagdiv.com/topic/background-color-of-the-main-menu-be-changed/
Thank you!
Hello,
I added this code to Custom Code CSS and there was no change. We are using a post template from the TagDiv Standard Pack. Do you know why this code is not working and/or do you have any other suggestions?
Again we want to remove our post view count from the post but still be able to see the count in the backend under “Posts.” Thank you.
One of my domains got suspended, it was the one using Newspaper theme. It has been restored after I removed the theme and plugins. I removed ALL files to start fresh. Some facts about me:
I update things in under 6 hours. if an update comes while I am sleeping hence 6 hours. No more than 24 hours.
I do not use any plugins that has no updates in 6 months or more. I use 2fa with my User account, Wordfence is used. My password is 25 mixed characters (lower and upper case, letters, numbers and symbols).
In everything else in my computer/digital life, I use a Yubikey and get notifications when there is a login.
Here is the original message I got from my hosting provider, for privacy’s sake I censored the domains:
Hello,
We have noticed trouble in the account with big CPU over usage in the account with monthly average value:
45.80% of 5.00% CPU Limit
and peaks over 65% recently seen in CPU Statistics menu:
https://(myloginidformydomainhosting.com)/statistics/load-stats/
In general, the more traffic and hits a PHP-based website gets the more CPU it consumes to process the scripts.
Additionally, high CPU usage is generated when a PHP-based website generates a high number of queries to its database:
https://(myloginidformydomainhosting.com)/mysql/stats/
https://(myloginidformydomainhosting.com)/statistics/web-stats/
https://(myloginidformydomainhosting.com)/statistics/traffic-stats/
Cross-reference of these factors and statistics will indicate to you which website generates the most CPU in the account.
In your case, this appears to be a combination of many websites running in the account starting with WordPress website at:
(mydomain.com)
which appears to be compromised by a hacker and running malicious scripts similar with its TagDiv plugins and Newspaper theme described in this article:
https://blog.sucuri.net/2023/10/balada-injector-targets-unpatched-tagdiv-plugin-newspaper-theme-wordpress-admins.html
and with huge amount of hits at:
(mydomain.com)/wp-json/tdw/save_css/
Due to these reasons, we have been forced to suspend the domain name, so it cannot be accessed online. Although this is so, you can access the domain name folder via File Manager or FTP to remove the trouble content.
The best solution in such a case is to download files to your computer for a comparison copy thus you can configure later needed plugins and templates as well as retrieve single static files like images.
Remove all files from the host(domain or subdomain) folder thus you can be sure that all malicious files are removed.
After that reinstall your website completely with a new fresh version of the scripts(core application, plugins, themes, etc.) latest versions. Use database configuration from wp-config.php file downloaded before so you can connect the reinstalled website to previous database for your website previous information.
Here is also a detailed article on a hacked website:
https://(myloginidformydomainhosting.com)/help/view-article/?id=550
Restore of the website files does not help in such cases as it reverts the same outdated scrips of your website which the hacker has compromised before so the trouble is repeated again and again.
Please check the content of your entire hosting account for any third-party scripts which are not a part of your websites uploaded by the hacker and remove such ones.
You have to change all passwords in your account too – all FTP accounts passwords and all scripts admin passwords.
After website is reinstalled you can try general protection of the WordPress script with a plugin such as one of these:
https://wordpress.org/plugins/better-wp-security/
https://wordpress.org/plugins/wordfence/
To optimize a website further:
– Try to reduce PHP/MySQL database requests with additional caching plugins like:
– WP Fastest Cache – https://wordpress.org/plugins/wp-fastest-cache/
or
– W3 Total Cache – https://wordpress.org/plugins/w3-total-cache/
– check details of the queries running – Query Monitor – https://wordpress.org/plugins/query-monitor/
and try to reduce queries or check with their developers for optimization advice.
– Try to reduce the number of articles that appear on your front page and reorganize them into sub-pages. This way you would lower the number of queries processed to the database on each visit of the website and will improve the site performance.
-check some advice to restrict bad bots crawling your website as they are a waste of website resources in general. Check online advice articles similar to:
– Limit hits from Google bots from their system:
https://search.google.com/search-console/about
– check official WordPress documentation: https://wordpress.org/support/article/optimization/
Monitor the statistics mentioned above for at least a couple of days which should be enough to see if the changes made have enough effect or if you need to take further measures.
We will expect a solution of this trouble from you in 7 days and we may be forced to suspend the account after that if no updates are provided from you in this ticket.
Looking forward to hearing from you.
Best Regards,
(insert technician’s name here)
Hello!
Please follow this guide: https://forum.tagdiv.com/the-newsletter-plugin/
Try to use the Raw HTML shortcode, and style it via CSS.
Thank you!
Hello @gcamaram!
I’ve written above, please check. It’s all about this Live CSS section: https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thank you!
Hi,
This can be resolved using a css code, like this one:
.td-top-menu-full {
display: block;
}
This code should be set in Newsmag > theme panel > custom code > advance css > phone section – https://i.imgur.com/ZbyS3Kc.png
Thank you!
I found this today, apparently that key was in bbdd with that shitty code from… at least december.
Where I should to go to recreate td_live_css_local_storage from the ui?
Hello @dscom!
Create a new class on that element’s settings and add the CSS code:
.newclass{transform:none!important;}
Thank you!
Hallo,
we have notice that the div class .tdi_110.td-a-rec:not(.td-a-rec-no-translate) has the property transform: translateZ(0). This creates a conflict not only with the sticky.js library we use but also and with plain css. We have also notice that this property also exists and in other blocks like when we try to add a raw html. If you want you can check the problem in our home page: https://www.travelstyle.gr/ when you inspect the page as smartphone. the complete class of the div that has the property transform is: td-block td-a-rec td-a-rec-id-custom-spot tdi_110 td_block_template_4
https://pagespeed.web.dev/analysis/https-tellymantra-com/tq8ozqqoif?form_factor=mobile
i have checked page speed insight it is also showing the same issue of LCP and CSS please look into it and resolve
Hello @jamshid!
Please add this CSS code in the Live CSS section or in the theme panel settings -> custom code -> custom css:
.comment .avatar {
float: right;
margin-right: 0;
margin-left: 20px;}
.comment footer{text-align: right;}
#reply-title { text-align:right;}
#commentform {text-align:right;}
Thank you!