Avoid these common themes mistakes by wordpress developer

wordpress hosting thailand

Getting a theme into the WordPress Theme Repository can provides a big boost to a WordPress developer’s credibility, particularly if it proves popular with WordPress users. It’s also a good way to promote a premium theme — several theme developers publish “light” versions of their theme for free to market a premium version with more options.

But to get a theme into the WordPress Theme Repository, wordpress developer Thailand have to follow some strict guidelines. Some of the guidelines are common sense coding best practices, but others are specific to the WordPress project and are made clear in the Theme Review Requirements document and the documentation for the Theme Check Plugin.

But some developers either aren’t aware of the rules or select to not follow them. several themes rejections can have avoided with a better understanding of the rules, so I’d like to have a look at some common mistakes WordPress theme developers should avoid if they need a smooth voyage into the WordPress Theme Repository.

Missing Escape or Using the Wrong Function

Forgetting to escape user input could be a common problem, and one which will have disastrous results for security. Cross-site scripting attacks are the number one security risk on the web, and failure to properly escape input causes cross-site scripting vulnerabilities.

The WordPress Theme Handbook gives clear guidance to website developer Thailand about which functions should be used and which shouldn’t, so it’s well worth spending a few hours familiarizing yourself with it before embarking on theme development.

Text That Isn’t Translation Ready

WordPress is used by hundreds of millions of people in almost every country in the world. That’s a huge number of languages that have to be supported. WordPress provides plenty of tools and guidance for internationalization, so there’s really no good reason a theme shouldn’t be translation ready.

Scripts or Styles Not Enqueued

WordPress provides functions for adding JavaScript and CSS files to themes. It’s better to use these functions than to load the files using different mechanisms.

The typical WordPress website has a theme and lots of plugins, all of which could load JavaScript and CSS files. The enqueue functions ensure that everything works well along and that there are no compatibility issues.

PHP Notices, Errors, or Warnings

This one isn’t too complex: if your PHP code throws errors or warnings, you’re unlikely to be approved to join the WordPress Theme Repository.

Duplicate Theme

Some developers submit themes that are already in the repository. As I said early in this post, getting a theme within the repository is good for a wordpress developer bangkok, thus there’s an incentive to pass off another developer’s work as your own. however copied themes are found and rejected immediately.

All of this can be easy stuff for skilled WordPress developers, however if you’re new to theme development, taking a detailed look into some of the theme development resources would be a fruitful use of some time.