Posted on

In this video session i have explained About Shortcodes Concept in WordPress
1.Shortcodes in WordPress are little bits of code that allow you to do various things with little effort. They were introduced in WordPress 2.5, and the reason to introduce them was to allow people to execute code inside WordPress posts, pages, and widgets without writing any code directly.
2.The Shortcode API is a simple set of functions for creating WordPress shortcodes for use in posts and pages.

Simple steps to use shortcode in wordpress
1. Define shortcode function
2. attach with it by add_shortcode


function customPluginFunction(){
// here functions code
Now, custom-plugin is available to use
for Use, we have to write wihtin [] something like this, [custom-plugin]

Usage of Shortcodes in wordpress,
1. We can use directly to our wordpress pages via going to admin panel – Pages and then add the shortcodes
2. If we want to use it in php pages directly then we should use: do_shortcode(“[shortcode]”).

Ajax request in wordpress, please watch these video sessions helpful for you to understand
method #1 for Ajax Request please click here to watch
method #2 for Ajax Request please click here to watch

Documenation Study Notes:


Create database table dynamically by WordPress Plugin,
Click here to watch:

Subscribe :

1. Some knowledge of PHP, HTML for this video series
2. How to Install WordPress:

Also you can learn WordPress Custom
Theme Development:
Widget Development:

online web tutor,
profotech solutions,
wordpress plugin development from scratch in hindi,
wordpress plugin development from scratch in easy steps,
wordpress plugin development,
wordpress plugin development in easy steps,
plugin development in wordpress from scratch in hindi,
plugin development in wordpress by online web tutor,
plugin development in wordpress tutorials from scratch in hindi,
plugin theme development tutorials in hindi,
plugin development tutorials in hindi,
owt tuts,
online web tutorials,

Online Web Tutor
Keep learning and Sharing 🙂

Please watch: “Learn backbone.js tutorial from scratch”



Xem thêm bài viết khác:

2 Replies to “WordPress Plugin Development tutorial from scratch (Part 20) About Shortcodes Concept in WordPress”

  1. Hi.. It is possible to use shortcode in the page you created in part 10 video?. how can I add php code in that page?

Leave a Reply

Your email address will not be published. Required fields are marked *