wordpress development

8 WordPress Development Mistakes to Avoid in 2022

WordPress is an incredibly versatile and powerful platform. But, like with any tool, it’s simple to make errors while using it because of the variety of possibilities available. Although some faults might harm your website, others can be catastrophic. That’s why it’s so important to be aware of them to be safe. When it comes […]

The post 8 WordPress Development Mistakes to Avoid in 2022 appeared first on WPCult.




wordpress development

WordPress Development: Bypassing the Settings API

The following is a guest post by Andy Walpole. There are many parts of the Wordpress API which are fantastic but there are also other parts which, I would argue, are lacking. The Settings API was introduced in version 2.7 to allow the semi-automation of form creation. All credible Content Management Systems and frameworks have their own set of functions or classes for the same purpose. Drupal has a multitude of hooks which can be leveraged, while CodeIgniter uses a combination of the Form Validation Class and the Form Helper . When creating a Wordpress plugin recently I wanted to create a dynamic form to insert data into a field in the option database table. I decided to create a class for this purpose with the intention of creating reusable code for future projects.