Posts

Convert HTML to WordPress

Convert HTML to WordPress When I first decided to convert a static HTML design to WordPress I did some searching for a tutorial to help me get started with the basics. Surprisingly, I didn’t find anything that was very complete or easy to follow. So, I decided to write a very basic tutorial on how to convert a static HTML template into a WordPress theme. If you are an absolute beginner at developing WordPress themes then this should help you get started. This tutorial assumes you already have a basic understanding of HTML and CSS. It also assumes you have a website built in HTML and CSS and have it ready for conversion to WordPress. If you already have something in WordPress (maybe you bought one of our WordPress templates ), you might be interested in learning  how to customize a WordPress theme  and the  WordPress child theme basics . How WordPress Works WordPress works in a rather straightforward manner but it may seem confusing if you are completely new to the concep

Php Form validation with Error messages with Checking fields.

Here i coded form validation using only php with display error messages and checking input fields correctly entered or not Registration Form Name is Required Email Required Password Required Contact Details Required Gender:      Male       Female Gender is required Address required Please find the below code clearly with bootstrap and css also included. Add bootstrap folder into your project. <!DOCTYPE> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="\bootstrap\css\bootstrap.css"> <link rel="stylesheet" type="text/css" href="\bootstrap\css\bootstrap.min.css"> <script src ="..\bootstrap\js\bootstrap.js"></script> <script src ="..\bootstrap\js\bootstrap.min.js"></script> <title>Form Validation</title> <st

Dynamic table creation with given user input values using Javascript.

Create a dynamic table using given Rows and Columns using Javascript. Enter Rows:  Enter Cols:  <html> <head> <link rel="stylesheet" type="text/css" href="style.css"> <script type="text/javascript"> function createTable() {     var num_rows = document.getElementById('rows').value;     var num_cols = document.getElementById('cols').value;     var theader = '<table border="1">\n';     var tbody = '';     for( var i=0; i<num_rows;i++)     {         tbody += '<tr>';         for( var j=0; j<num_cols;j++)         {             tbody += '<td>';             tbody += 'Cell ' + i + ',' + j;             tbody += '</td>'         }         tbody += '</tr>\n';     }     var tfooter = '</table>';     document.getElementById('wrapper').innerHTML = theader + tb