Browsed by
Tag: wordpress theme development

Creating a WordPress Theme from Scratch: Adding Menus

Creating a WordPress Theme from Scratch: Adding Menus

As discussed in previous post, functions.php is automatically included in the processing of a theme. This is therefore the best place to add default settings that you want to a theme, as well as helper functions. To make sure that a function is called on the initialisation of a theme you should use the following in the functions.php file: function add_menus(){ // Do Stuff Here } add_action( ‘init’, ‘add_menus’ ); In order to register the menus for your theme you…

Read More Read More

Creating a WordPress Theme from Scratch

Creating a WordPress Theme from Scratch

I recently started creating a WordPress theme from scratch. I did this so I could understand a few things: The back-end of WordPress and how it fits together How plugins, widgets and themes are constructed How to create dynamic web-pages for mobile devices using CSS3 and HTML5 Creating everything from the ground up helps the understanding of how things fit together – but if you just want to get something working then there are plenty of other themes out there that…

Read More Read More