How JS & PHP related with each other?
We found a PHP script is always having a JS code. A basic PHP applications must having JS interaction in script. On very basic level there are 4 types PHP…
We found a PHP script is always having a JS code. A basic PHP applications must having JS interaction in script. On very basic level there are 4 types PHP…
Here are simple images having core concept of JavaScript functions. Do check the details.
PHP Data types: Total 8 PHP is loosely type language. Means it convert the data type according to the situation automatically. This auto conversion is called type Juggling or type…
There are many way to create Custom Post Type in WordPress. By plugin or by some online CPT generator scripts like: https://wpturbo.dev/generators/post-type/
Till now we use all WordPress functions to get the data like the_title, the_content etc. But what about the situation when we need to fetch the custom data or when…
WordPress has options to choose blog page as Blog template in back-end. We are going to create Blog page in back-end and assign it to Blog template from settings. Now…
WordPress can set a single page as website’s home page or Blog page as home page. There is a setting in WordPress back-end. index.php is the default layout for all…
Now we need dynamic Menu in top & footer. First register menu positions in theme’s functions.php & create dynamic menus in backend.
Now leave index.php file with static content as it is. Let’s start creating page.php file which is responsible to layout of individual pages.
Now you have to convert static HTML into WordPress theme here. Choose your static HTML theme wisely and start copy past the data from static HTML files to WordPress files.