Tag: wordpress Archives

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()) : […]

Creating WordPress Theme – Inside Header File

Creating WordPress Theme Inside Header File
Share this to your friends

Share this to your friendsYou’ll probably notice that the header.php file lacks meta tags as this article will be more focus on using WP(WordPress) functions. 1 <!DOCTYPE html> 2 <html <?php language_attributes(); ?>> 3 <head> 4 <meta charset=”<?php bloginfo( ‘charset’ ); ?>”/> 5 <title><?php bloginfo( ‘name’ ); ?> | <?php is_front_page() ? bloginfo( ‘description’ ) : wp_title(); ?></title> 6 […]

Creating WordPress Theme – Getting Started

Creating WordPress Theme Getting Started
Share this to your friends

Share this to your friendsWe might want to install WP(WordPress) locally as we don’t want to do all the coding online. If you have Apache, PHP, MySQL and phpMyAdmin ready (pretty long list needed huh), you can start now by downloading WP here. You can also use Xampp or Wamp instead as both of this […]