Blog

Lesson 7 Introduction to WordPress Programming

This lesson deals with custom post type. We will learn how to create a custom post type in WordPress.

 

By |November 22nd, 2014|Introduction to Wordpress Programming|6 Comments

Lesson 8 Introduction to WordPress Programming

In this lesson we will discuss get_posts command of WordPress.

 

 

 

By |November 22nd, 2014|Introduction to Wordpress Programming|Comments Off on Lesson 8 Introduction to WordPress Programming

Lesson 6 Use of jQuery in WordPress

To use jQuery you need to load jQuery into page if not already loaded.  Following code snippet shows loading of jQuery.

By |November 16th, 2014|Introduction to Wordpress Programming|1 Comment

Assignment #6 Introduction to WordPress Programming

Create a WordPress Plugin by reusing most of the work done in previous assignments, to

Show student entry form using shortcode
Form will have following fields

Name
Course
Gender

Handle form and save data into a custom table.

By |November 16th, 2014|Assignments|Comments Off on Assignment #6 Introduction to WordPress Programming

Assignment #5 Introduction to WordPress Programming

Create a new fiddle on jsfiddle.net.   After creating fiddle, create a text file, insert link of your created fiddle into this file and upload file to git for evaluation.

In this fiddle create an html form with following fields

Student Name
Gender
Course

 

By |November 16th, 2014|Assignments|Comments Off on Assignment #5 Introduction to WordPress Programming

Assignment 4 Introduction to WordPress Programming

Create a mysql table with following fields

id       int  (autonumber)
name      varchar
gender    varchar
course     varchar

Use prefix of your server with table name e.g  TRG1_mytable

Make use of activation hook.  Build a plugin to create a table in wordpress.    Upload this assignment (plugin) to git.  In case of any difficulty use […]

By |November 16th, 2014|Assignments|Comments Off on Assignment 4 Introduction to WordPress Programming

Assignment 3 Introduction to WordPress Programming

Create a shortocde “StudentForm”

This will contain following fields

Name
Gender
Course

TESTING:

To this assignment upload this plugin to wordpress and activate.  Now paste  shortcode into a new post and click on view post button.  You should see the form.

By |November 16th, 2014|Uncategorized|Comments Off on Assignment 3 Introduction to WordPress Programming

Lesson 5 Use of jsfiddle.net and Online PHP Tools

In this video lesson we will learn the use of jsfiddle.net  You can access and play with this fiddle by visiting this URL

In the following video we learn the use of online php tools.  We can test php without having to install a php server. We can test most of the php code just putting […]

By |November 11th, 2014|Introduction to Wordpress Programming|2 Comments

Lesson 4 Create Custom Table in WordPress Database

In this lesson we are creating a table in wordpress database using PhpMyAdmin tool.  We export table structure information into SQL format for use in our plugin.

In the following video we will create the same table using wordpress plugin.  Code of the plugin is given below

Please do not hesitate to ask any questions. Use comments […]

By |November 11th, 2014|Introduction to Wordpress Programming|2 Comments

Lesson 3 Shortcode Programming WordPress

In this lesson we will learn how to create a shortcode in a WordPress Plugin.

Part 2 of this lesson

After watching the videos, try to create a plugin of your own with a shortcode of your choice.  Test this plugin on TRG servers provided to you.  Uploaded completed plugin to git.  In case of any problem […]

By |November 9th, 2014|Introduction to Wordpress Programming|Comments Off on Lesson 3 Shortcode Programming WordPress
Load More Posts