Category: Tutorials Archives

Creating WordPress Theme – Adding Thumbnail Image

Creating WordPress Theme - Adding Thumbnail Image
Share this to your friends

Share this to your friendsBe sure you’ve finished reading the first six article about Creating WordPress Theme before reading this article. Visit the links below if you haven’t. Getting Started Inside Header File The Index File Loop Adding Customizer Object Adding Navigation Menu Widgetizing Custom Theme Support Adding Thumbnail Image in WordPress Custom Theme Open […]

Creating WordPress Theme – Widgetizing Custom Theme

Creating WordPress Theme - Widgetizing Custom Theme
Share this to your friends

Share this to your friendsIn your WordPress dashboard, when your creating a custom theme. The Widgets link may not be accessible in your Appearance tab. You need to register or create a new sidebar (this is where widgets can be placed) so that your theme can support implementing widgets. In your functions.php file add : […]

Creating WordPress Theme – Adding Navigation Menu

Creating WordPress Theme Adding Navigation Menu
Share this to your friends

Share this to your friends In the layout we provided, we need to put our horizontal navigation bar under our header. I will be just putting sample categories in my navigation bar. You can put link of your pages if you want. In this example I will just be adding one custom link to my […]

Creating WordPress Theme – Adding Customizer Object

Creating WordPress Theme Adding Customizer Object
Share this to your friends

Share this to your friendsPut this code in your functions.php file ( you must insert the codes inside PHP opening(<?php) and closing(?>) tags. ) : function escimma_setup() { add_theme_support( ‘custom-logo’ ); } add_action( ‘after_setup_theme’, ‘escimma_setup’ ); You can assign a different function name if you want. Here I’m calling it escimma_setup as that is what […]

Creating WordPress Theme – The Index File Loop

Creating WordPress Theme The Index File Loop
Share this to your friends

Share this to your friendsI’m using the index file for this example. Though it might be best to put this code in other PHP file in your theme. We will just directly use the index file for simplicity. 1 <?php get_header(); ?> 2 <section> 3 <aside> 4 </aside> 5 <?php if( have_posts()) : while(have_posts()) : […]