SlideShare a Scribd company logo
WordPress plugin development
Plugin Development
A peek into the world of WordPress plugin development
Rakesh Lawaju Abiral Neupane Regan Khadgi
WordCamp Nepal 2015
rakeshlawaju@gmail.com abiral.neupane@gmail.com regan.khadgi1@gmail.com
WordPress plugin & it’s usages?
WordPress plugins are bits of software that can be uploaded to extend and
expand the functionality of your WordPress site.
- Register post type & taxonomy
- Shortcodes
- Ecommerce feature
- Sliders and gallery
- and many more
Let’s start
Draw roadmap
Think outside the box
Get a unique name
Files and folder structure
Coding standard
Custom tables?
Don’t forget about security
Extensibility
Translation ready
Draw roadmap
Failing to plan is planning to fail.
Images Designed by Freepik
Think outside the box
Give user some unique feature because there are almost 50000 plugins in
WordPress.org
Get a unique name
Because the name matters.
Files and folder structure
Keep it simple, keep it clean
A plugin can a single .php file or it can be a folder with its main file and other
additional required files and folder
Coding standard
There are some rules, it's good to follow.
- Single and Double Quotes
- Indentation
- Brace Style
- No Shorthand PHP Tags
- Space Usage
https://codex.wordpress.org/WordPress_Coding_Standards
Custom tables?
Think before you add custom tables.
Try to use default WordPress database table, as it might be enough to manage
your data. So that you won't have to create extra methods to manage data.
Don’t forget about security
- Validating and sanitizing is must when user submits data to WordPress,
data is imported from an external feed, or data comes into WordPress
- To prevent issues like Cross-site scripting (XSS) make sure that output are
escaped like post title, post meta value, or some other data from the
database
- Prevent an unauthorized person from changing your plugin’s settings or
performing actions they are not authorized to perform.
WordPress offers two ways: nonces and capability
checks.
Image from https://pixabay.com/p-538715/
Extensibility
Plugin should allow developers to easily tie their own code.
Translation ready
Don't lose your potential user
How you are offering your plugin?
After you have successfully developed a plugin it can be offered in many ways to
the users. Some of them are:
- Free
- Freemium
- Premium
The sky's the limit
and let’s give back to community
Hope you
found it useful Thank you!

More Related Content

PPTX
Better WordPress Theme Development Workflow
Rajeeb Banstola
 
PPTX
The Ultimate WordPress Development Environment
Matt Geri
 
PDF
Building a community of Open Source intranet users
Luke Oatham
 
PDF
Coding with jetpack
Rich Collier
 
PPTX
Finding Useful Plugins: How To Extend WordPress Past a Simple Blog
Meagan Hanes
 
PPTX
Welcome to the World of WordPress
Content Connects, Nashville
 
PDF
Building SaaS with WordPress - WordCamp Netherlands 2016
Mario Peshev
 
PPTX
WordPress Multilingual: WordCamp Antwerp 2016
Octavio Andrés Cifuentes
 
Better WordPress Theme Development Workflow
Rajeeb Banstola
 
The Ultimate WordPress Development Environment
Matt Geri
 
Building a community of Open Source intranet users
Luke Oatham
 
Coding with jetpack
Rich Collier
 
Finding Useful Plugins: How To Extend WordPress Past a Simple Blog
Meagan Hanes
 
Welcome to the World of WordPress
Content Connects, Nashville
 
Building SaaS with WordPress - WordCamp Netherlands 2016
Mario Peshev
 
WordPress Multilingual: WordCamp Antwerp 2016
Octavio Andrés Cifuentes
 

What's hot (19)

PPTX
Word press sites maintenanace
Michelle Castillo
 
PDF
WordPress as a Service
Andrew Bauer
 
PPTX
WordPress in 90 minutes
Michelle Castillo
 
PPTX
I Can Haz More Performanz?
Andy Melichar
 
PPTX
WordPress Insider Meetup Group - Jan, 7, 2016 meeting
Michelle Castillo
 
PPTX
Top 10 WordPress Plugins
Manny Sarmiento
 
PPTX
Multisite core concepts final
Umesh Chaudhary
 
PPTX
The Next Step in Responsive - RESS
Anthony Laurence
 
PDF
Internationalizing The New York Times
Scott Taylor
 
PPTX
Choosing WordPress Plugins (WordCamp Raleigh 2016)
andisites
 
PPTX
WordPress Course Outline
Manny Sarmiento
 
PDF
The WP Engine Developer Experience. Increased agility, improved efficiency.
WP Engine
 
PDF
Create a newsletter in less than 17 minutes without writing a single word
Nik Cree
 
PDF
GlotPress aka translate.wordpress.org
Marko Heijnen
 
PDF
Client-friendly WordPress Websites
Aaron Rutley
 
PPTX
Top 8 Tools To Optimize Your Work Day!
Manny Sarmiento
 
KEY
WordPress Melbourne June Meetup
Aaron Rutley
 
PPT
Week 11 - Hosting and Migration
henri_makembe
 
PPTX
Stop Coding; Start Assembling Your Websites
Amit Kumar Singh
 
Word press sites maintenanace
Michelle Castillo
 
WordPress as a Service
Andrew Bauer
 
WordPress in 90 minutes
Michelle Castillo
 
I Can Haz More Performanz?
Andy Melichar
 
WordPress Insider Meetup Group - Jan, 7, 2016 meeting
Michelle Castillo
 
Top 10 WordPress Plugins
Manny Sarmiento
 
Multisite core concepts final
Umesh Chaudhary
 
The Next Step in Responsive - RESS
Anthony Laurence
 
Internationalizing The New York Times
Scott Taylor
 
Choosing WordPress Plugins (WordCamp Raleigh 2016)
andisites
 
WordPress Course Outline
Manny Sarmiento
 
The WP Engine Developer Experience. Increased agility, improved efficiency.
WP Engine
 
Create a newsletter in less than 17 minutes without writing a single word
Nik Cree
 
GlotPress aka translate.wordpress.org
Marko Heijnen
 
Client-friendly WordPress Websites
Aaron Rutley
 
Top 8 Tools To Optimize Your Work Day!
Manny Sarmiento
 
WordPress Melbourne June Meetup
Aaron Rutley
 
Week 11 - Hosting and Migration
henri_makembe
 
Stop Coding; Start Assembling Your Websites
Amit Kumar Singh
 
Ad

Similar to WordPress plugin development (20)

PDF
Wordpress Plugin Development Short Tutorial
Christos Zigkolis
 
PDF
5 Steps to Develop a WordPress Plugin From Scratch.pdf
BeePlugin
 
PDF
Write your first WordPress plugin
Anthony Montalbano
 
PDF
Plugin Development for Beginners v.2019
Joe Cartonia
 
PDF
Plugin Development for Beginners
Joe Cartonia
 
PDF
Extending WordPress - a guide to building your first plugin
Jonathan Bossenger
 
PDF
Wordpress plugin development tips
Mindfire Solutions
 
PDF
What is-word press-plugin-development
TalentsFromIndia.com
 
PDF
Test ss 2
dnunez0129
 
PDF
Bending word press to your will
Tom Jenkins
 
PPT
WordPress plugins
Christopher Ross
 
KEY
Intro to WordPress Plugins
zamoose
 
PPTX
Wordcamp2012 build your plugin
Alexandre Marreiros
 
PPTX
A peek into the world of WordPress plugin development
R-Cubed Design Forge
 
PDF
Wordpress plugin
Harmanpreet Singh
 
PDF
Wordpress as a framework
Aggelos Synadakis
 
PPT
WordPress basic fundamental of plugin development and creating shortcode
Rakesh Kushwaha
 
PDF
Write Your First WordPress Plugin
Ibrahim Abdel Fattah Mohamed
 
PPTX
WordPress Plugin Development
Adam Englander
 
KEY
Plugin Development Practices
danpastori
 
Wordpress Plugin Development Short Tutorial
Christos Zigkolis
 
5 Steps to Develop a WordPress Plugin From Scratch.pdf
BeePlugin
 
Write your first WordPress plugin
Anthony Montalbano
 
Plugin Development for Beginners v.2019
Joe Cartonia
 
Plugin Development for Beginners
Joe Cartonia
 
Extending WordPress - a guide to building your first plugin
Jonathan Bossenger
 
Wordpress plugin development tips
Mindfire Solutions
 
What is-word press-plugin-development
TalentsFromIndia.com
 
Test ss 2
dnunez0129
 
Bending word press to your will
Tom Jenkins
 
WordPress plugins
Christopher Ross
 
Intro to WordPress Plugins
zamoose
 
Wordcamp2012 build your plugin
Alexandre Marreiros
 
A peek into the world of WordPress plugin development
R-Cubed Design Forge
 
Wordpress plugin
Harmanpreet Singh
 
Wordpress as a framework
Aggelos Synadakis
 
WordPress basic fundamental of plugin development and creating shortcode
Rakesh Kushwaha
 
Write Your First WordPress Plugin
Ibrahim Abdel Fattah Mohamed
 
WordPress Plugin Development
Adam Englander
 
Plugin Development Practices
danpastori
 
Ad

Recently uploaded (20)

PDF
49784907924775488180_LRN2959_Data_Pump_23ai.pdf
Abilash868456
 
PPTX
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PPTX
Explanation about Structures in C language.pptx
Veeral Rathod
 
PDF
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
PDF
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
PDF
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
PPTX
Presentation about variables and constant.pptx
kr2589474
 
PPTX
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
PPT
Activate_Methodology_Summary presentatio
annapureddyn
 
PDF
An Experience-Based Look at AI Lead Generation Pricing, Features & B2B Results
Thomas albart
 
PDF
Balancing Resource Capacity and Workloads with OnePlan – Avoid Overloading Te...
OnePlan Solutions
 
PPTX
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
PDF
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
PPTX
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
PDF
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
PDF
Adobe Illustrator Crack Full Download (Latest Version 2025) Pre-Activated
imang66g
 
PPTX
Role Of Python In Programing Language.pptx
jaykoshti048
 
PDF
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
PDF
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
PDF
ChatPharo: an Open Architecture for Understanding How to Talk Live to LLMs
ESUG
 
49784907924775488180_LRN2959_Data_Pump_23ai.pdf
Abilash868456
 
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Explanation about Structures in C language.pptx
Veeral Rathod
 
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
Presentation about variables and constant.pptx
kr2589474
 
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
Activate_Methodology_Summary presentatio
annapureddyn
 
An Experience-Based Look at AI Lead Generation Pricing, Features & B2B Results
Thomas albart
 
Balancing Resource Capacity and Workloads with OnePlan – Avoid Overloading Te...
OnePlan Solutions
 
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
Adobe Illustrator Crack Full Download (Latest Version 2025) Pre-Activated
imang66g
 
Role Of Python In Programing Language.pptx
jaykoshti048
 
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
ChatPharo: an Open Architecture for Understanding How to Talk Live to LLMs
ESUG
 

WordPress plugin development

  • 2. Plugin Development A peek into the world of WordPress plugin development Rakesh Lawaju Abiral Neupane Regan Khadgi WordCamp Nepal 2015 [email protected] [email protected] [email protected]
  • 3. WordPress plugin & it’s usages? WordPress plugins are bits of software that can be uploaded to extend and expand the functionality of your WordPress site. - Register post type & taxonomy - Shortcodes - Ecommerce feature - Sliders and gallery - and many more
  • 4. Let’s start Draw roadmap Think outside the box Get a unique name Files and folder structure Coding standard Custom tables? Don’t forget about security Extensibility Translation ready
  • 5. Draw roadmap Failing to plan is planning to fail. Images Designed by Freepik
  • 6. Think outside the box Give user some unique feature because there are almost 50000 plugins in WordPress.org
  • 7. Get a unique name Because the name matters.
  • 8. Files and folder structure Keep it simple, keep it clean A plugin can a single .php file or it can be a folder with its main file and other additional required files and folder
  • 9. Coding standard There are some rules, it's good to follow. - Single and Double Quotes - Indentation - Brace Style - No Shorthand PHP Tags - Space Usage https://codex.wordpress.org/WordPress_Coding_Standards
  • 10. Custom tables? Think before you add custom tables. Try to use default WordPress database table, as it might be enough to manage your data. So that you won't have to create extra methods to manage data.
  • 11. Don’t forget about security - Validating and sanitizing is must when user submits data to WordPress, data is imported from an external feed, or data comes into WordPress - To prevent issues like Cross-site scripting (XSS) make sure that output are escaped like post title, post meta value, or some other data from the database - Prevent an unauthorized person from changing your plugin’s settings or performing actions they are not authorized to perform. WordPress offers two ways: nonces and capability checks. Image from https://pixabay.com/p-538715/
  • 12. Extensibility Plugin should allow developers to easily tie their own code.
  • 13. Translation ready Don't lose your potential user
  • 14. How you are offering your plugin? After you have successfully developed a plugin it can be offered in many ways to the users. Some of them are: - Free - Freemium - Premium
  • 15. The sky's the limit and let’s give back to community
  • 16. Hope you found it useful Thank you!