Wordpress Plugin Development tutorial from scratch (Part 34) "My Book" Extended: Tables, Submenus
In this video session we will discuss about "My Book" Plugin, It includes, 1. Database table scripts 2. Submenus section 3. CSS fix #WordpressTutorialsPoint #WordpressLearnersHub #WordpressCustomizations #LearnWordpressStepbyStep #WordpressBySanjay Database table scripts ================================= scripts for author's, student's and enrol table scripts: $sql2 = " CREATE TABLE `".my_authors_table()."` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, `fb_link` text, `about` text, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 "; dbDelta($sql2); $sql3 = " CREATE TABLE `".my_students_table()."` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, `email` varchar(255) DEFAULT NULL, `user_login_id` int(11) DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 "; dbDelta($sql3); $sql4 = " CREATE TABLE `".my_enrol_table()."` ( `id` int(11) NOT NULL AUTO_INCREMENT, `student_id` int(11) NOT NULL, `book_id` int(11) NOT NULL, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 "; dbDelta($sql4); Submenus ======================== /// my extended submenus add_submenu_page("book-list", "Add New Author", "Add New Author", "manage_options", "add-author", "my_author_add"); add_submenu_page("book-list", "Manage Author", "Manage Author", "manage_options", "remove-author", "my_author_remove"); add_submenu_page("book-list", "Add New Student", "Add New Student", "manage_options", "add-student", "my_student_add"); add_submenu_page("book-list", "Manage Student", "Manage Student", "manage_options", "remove-student", "my_student_remove"); add_submenu_page("book-list", "Course Tracker", "Course Tracker", "manage_options", "course-tracker", "course_tracker"); //end section Watch these also: Table Create/Drop: https://www.youtube.com/watch?v=i6aXHWFKUS0 Menus/Submenus: https://www.youtube.com/watch?v=j5bvuXsXksA Plugin Internal Pages: https://youtu.be/ Plugin Form validations & media upload: https://www.youtube.com/watch?v=Ai1qn7Io2yE To add an administration menu =============== Please Watch for help: https://www.youtube.com/watch?v=vpksyjXRcyE&list=PLT9miexWCpPUQkQwL-COHmo0Jd0qxLjTn&index=3 To add an administration submenus: =============== Please Watch for help: https://www.youtube.com/watch?v=opOfxoViN0M Important Videos from Plugin Development Series =============== About Shortcodes in wordpress: https://www.youtube.com/watch?v=F9Woyst2fr8 Ajax Request in wordpress by wp_ajax_{action_name}: https://www.youtube.com/watch?v=RAwahYG8Qfc Insert data from form to wordpress database table: https://www.youtube.com/watch?v=UxBDUzQHeMY Create Wordpress page on Plugin Activation: https://www.youtube.com/watch?v=oL8ffxggYZY 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 Theme Options Development: https://www.youtube.com/watch?v=Ixq5IARSlgg&list=PLT9miexWCpPVwbt89KoRE5qBgJAlHUuLf 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.