A recent exploitation happens in several Madara sites surprise us. The malicious code added this script (https://gdpr.web0.eu/scripts/cookie.js) to the site and causes many popups & redirection. The code is added to many .php files, .js files and also in the Theme Options data. We conducted the investigation immediately and find out that the attack aimed…

Cleaning a WordPress site that has been affected with malicious code can be a complex process, but here are some general steps that can be taken to help clean up the site: It’s important to note that these steps may not be enough to completely clean up your site, especially if the malware has been…

Note: this is a copy of the post from: https://art.art/blog/how-to-protect-images-on-your-website 1. Check the terms and conditions Before publishing your work on a platform or a website, read the terms and conditions to ensure that said sources have a clause that protects your intellectual property, and whether the image will remain yours once it’s uploaded. Look…

A cronjob is a function that will run periodically on your site. For example, in Madara, we use cronjob to do the following work: delete temporary folders which are used when uploading chapters send notifications to manga’s subscribers If you use a crawler, then the crawler also has its own cronjobs to crawl data WordPress…

By default, WordPress uses your server’s PHP configuration for max upload file size. So to change the max upload file size for your WordPress site, you will need to change this on your PHP configuration. The options control this are post_max_size and upload_max_filesize. You will need to have root access to your server (via SSH…

When you have thousands of Mangas/Novels and thousands of visits per day, it’s time to carefully consider the performance issue. The first thing to keep in mind is that to improve site performance, you will need more than a good plugin or theme. There are many aspects contributing to site performance: Server power: number of…

The BunnyCDN plugin ( https://wordpress.org/plugins/bunnycdn/ ) does a good job in replacing all static resources URL into a CDN link (for example: yoursite.b-cdn.net/link/to/your/resource.jpg). However, if you use “Paged Style” reading mode in chapter reading, the next/prev image link will not work. The BunnyCDN plugin cannot replace URL correctly. To fix this, add this code to…

Some of you have asked how to move the badge from title to above the thumbnail image. It’s quite simple with Template Override and a little CSS. The fact is, you can override most of theme’s HTML using Child Theme. All you need to do is copy the file you want to override, place it…

A popular replacement of default WP Comments System is Disqus. However, the plugin has too low rating on wordpress.org due to lack of support and the “not synchorization” between WP Comments and Disqus Comment. A new comer “WP Dicuz” plugin is reaching 50,000 downloads and has almost 5 stars rating (https://wordpress.org/plugins/wpdiscuz/). In this post, we…

Some of you have asked about adding Ads/Banner between paragraphs in a Text Chapter (or Web Novel content). It’s quite easy using “the_content” filter. It’s too small so we don’t want to create an add-on for this feature. So here you are, the code. You can place this custom code in your child theme functions.php…