Fantasy E-books by PhenomenalPen

Tag: tips Archives

Send as “Your Custom Domain Email” using Gmail

Too lazy to login to your CPanel to reply using your custom domain email? Why not use Gmail instead? Let’s try to wrap things up here.

Manually Reset WordPress Plugins – AIOWPS in Particular

Lets try to learn how to manually reset WordPress plugins. AIOWPS in particular. Because this little knowledge might sometimes come in handy. What is AIOWPS? All in One WordPress Security (AIOWPS) is probably the first plugin I would install after a WordPress setup. It manages almost all the security aspect of a WordPress site. Without […]

Creating WordPress Theme – Adding Thumbnail Image

Be 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 up your favorite editor […]

Creating WordPress Theme – the_excerpt or the_content Function

Be 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 Using WordPress the_content Function In our theme’s index page, we used a loop to […]

Creating WordPress Theme – Widgetizing Custom Theme

In 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 : function sub_container_sidebar_centered() { register_sidebar( […]

Creating WordPress Theme – Adding Navigation Menu

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 homepage and five sample categories. […]

Creating WordPress Theme – Adding Customizer Object

Put 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 my theme is called. […]

Creating WordPress Theme – The Index File Loop

I’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()) : the_post(); ?> 6 <article> […]

Creating WordPress Theme – Inside Header File

You’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 <link rel=”stylesheet” type=”text/css” href=”<?php […]

Creating WordPress Theme – Getting Started

Let’s start creating WordPress theme by installing WordPress locally. Because we don’t want to do all the coding online. If you already have Apache, PHP, MySQL and phpMyAdmin ready (pretty long list needed huh), you can start now by downloading WordPress here. Note: You can also use Xampp or Wamp, as both of this ease […]