Wordpress Plugin Development tutorial from scratch (Part 20) About Shortcodes Concept in Wordpress
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. #WordpressTutorialsPoint #WordpressLearnersHub #WordpressCustomizations #LearnWordpressStepbyStep #WordpressBySanjay Simple steps to use shortcode in wordpress 1. Define shortcode function 2. attach with it by add_shortcode add_shortcode("custom-plugin","customPluginFunction"); 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 https://www.youtube.com/watch?v=n_3nXW8VzgQ method #2 for Ajax Request please click here to watch https://www.youtube.com/watch?v=RAwahYG8Qfc Documenation Study Notes: =============== https://codex.wordpress.org/Shortcode_API add_shortcode: https://codex.wordpress.org/Function_Reference/add_shortcode https://developer.wordpress.org/reference/functions/do_shortcode/ Create database table dynamically by Wordpress Plugin, =============== Click here to watch: https://www.youtube.com/watch?v=nzRyFF95jXI SOCIAL : =============== Subscribe : https://www.youtube.com/channel/UCB2flCo-gW6RhpVVXySqcMg FACEBOOK : https://www.facebook.com/onlinewebtutorhub/ TWITTER: https://twitter.com/owthub BLOG: https://onlinewebtutorhub.blogspot.in/ RECOMMENDATION: =============== 1. Some knowledge of PHP, HTML for this video series 2. How to Install Wordpress: https://www.youtube.com/watch?v=MREgql9jmf0 Also you can learn Wordpress Custom =============== Theme Development: https://www.youtube.com/watch?v=MREgql9jmf0&list=PLT9miexWCpPV9WxY_QG3qxUGKzw54LboW Widget Development: https://www.youtube.com/watch?v=ZSbdYG1svV8&list=PLT9miexWCpPUgibUXDZ7JP1j3U-m61U8m Tags =============== 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, Thanks Online Web Tutor Keep learning and Sharing :) -~-~~-~~~-~~-~- Please watch: "Learn backbone.js tutorial from scratch" https://www.youtube.com/watch?v=HOAU-nfy5Sc -~-~~-~~~-~~-~-
Download
0 formatsNo download links available.