How to Create WordPress Custom Theme – 4 – Set top & footer navigation menus
Now we need dynamic Menu in top & footer. First register menu positions in theme’s functions.php & create dynamic menus in backend.
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.
As a WordPress developer, You should know to create custom theme & custom plugin. Here the first tutorial about how to create custom theme in WordPress.
All big companies don’t want to relay on any prebuilt theme from WordPress library because when theme supports ends, they start facing the issues in future update of WordPress versions…
Now we need to display post count for each post, for that we need to add custom field in db and it’s value. In WP we use post meta to…
We can run a simple static query and run that query as we did in first part while we activation hook but to fetch the data from the table we…
There is a simple function called wp_enqueue_script & wp_enqueue_style to add js & css but the arguments we are passing in both functions are important.
We will see how to pass parameters in short-code, How to assign default values to parameters and How to use separate files to create a long html.
In this lesson, we will create a table on activate hook, truncate table on deactivate hook and delete table on uninstall hook.