Tag: WordPress

hands on a laptop keyboard

How to include Advanced Custom Fields (Free) in a custom WordPress plugin with Composer?

Including ACF Pro in a WordPress project via Composer is already a simple task, but recently, a client project required me to include the free version of Advanced Custom Fields in a plugin I'm working on for them. WordPress Packagist makes this very easy when running Composer on a WordPress installation, but by default, it will install any plugin dependencies in `/wp-content/themes`. In this short tutorial, I'll show you how to include the free version of Advanced Custom Fields in a custom plugin.

See more...How to include Advanced Custom Fields (Free) in a custom WordPress plugin with Composer?
settings android tab

Using nonces to improve security when programming a WordPress plugin

In WordPress plugin development, a key security measure to protect your site against malicious attacks, such as cross-site request forgery (CSRF), is the use of nonces. Nonces, short for "Numbers Used Once," ensure that a specific action originates from an authentic and trusted source, preventing duplicate or malicious requests. In this tutorial, I will guide you through the process of using nonces in WordPress plugin development.

See more...Using nonces to improve security when programming a WordPress plugin
imac turend on

Adding Custom Links to Row Actions of a Custom Post Type in WordPress

One of the useful features of WordPress is the ability to create 'Custom Post Types,' which allow developers to structure and organize content more effectively. Once you've created a Custom Post Type, you might want to add custom row actions to perform specific tasks. In this article, we'll show you how to add custom links to the row actions of a Custom Post Type in WordPress.

See more...Adding Custom Links to Row Actions of a Custom Post Type in WordPress