WordPress Theme Development – Tutorial Part 1

Template Files List

Here is the list of the Theme files recognized by WordPress. Of course, your Theme can contain any other stylesheets, images, or files. Just keep in mind that the following have special meaning to WordPress — see Template Hierarchy for more information.

style.css
The main stylesheet. This must be included with your Theme, and it must contain the information header for your Theme.
rtl.css
The rtl stylesheet. This will be included automatically if the website’s text direction is right-to-left. This can be generated using thethe RTLer plugin.
index.php
The main template. If your Theme provides its own templates, index.php must be present.
comments.php
The comments template, you can customize this for comment form and design.
front-page.php
The front page template, it is only used if you use a static front page., this template invoke when you choose as front page as your own html
home.php
The home page template, which is the front page by default. If you use a static front page this is the template for the page with the latest posts.
single.php
The single post template. Used when a single post is queried. For this and all other query templates, index.php is used if the query template is not present.
single-{post-type}.php
The single post template used when a single post from a custom post type is queried. For example, single-book.php would be used for displaying single posts from the custom post type named “book”. index.php is used if the query template for the custom post type is not present.
page.php
The page template. Used when an individual Page is queried.
category.php
The category template. Used when a category is queried.
tag.php
The tag template. Used when a tag is queried.
taxonomy.php
The term template. Used when a term in a custom taxonomy is queried.
author.php
The author template. Used when an author is queried.
date.php
The date/time template. Used when a date or time is queried. Year, month, day, hour, minute, second.
archive.php
The archive template. Used when a category, author, or date is queried. Note that this template will be overridden by category.php,author.php, and date.php for their respective query types.
archive-{taxonomy}.php The archive template. Used when a custom taxonomy by taxonomy name  for their respective query types.
search.php
The search results template. Used when a search is performed.
attachment.php
Attachment template. Used when viewing a single attachment.
image.php
Image attachment template. Used when viewing a single image attachment. If not present, attachment.php will be used.
404.php
The 404 Not Found template. Used when WordPress cannot find a post or page that matches the query.

These files have a special meaning with regard to WordPress because they are used as a replacement for index.php, when available, according to the Template Hierarchy, and when the corresponding Conditional Tag returns true. For example, if only a single post is being displayed, the is_single() function returns ‘true’, and, if there is a single.php file in the active Theme, that template is used to generate the page.

 

E-Commerce UNIPAY for UserGroups Payment Module – Prestashop

E-commerce Development

Universal Payment Module Creation is module for creating an unlimited payment methods count through the admin tab withouh programming skills. With the help of the Universal Payment Module you can create a new payment method is as simple as adding a new category in the catalog or a new page in the CMS.

If you download module from github, you must rename module folder to “universalpay”
Description

The module adds a new “Modules>Pay Systems” tab by which the creation and management of payment methods. When creating a new payment method you need to fill in the following fields:

  • Name – the name of the method of payment will be displayed in the properties of order in the admin panel;
  • Short description – the text displayed next to the logo, the list of payment systems in order;
  • Show – whether to display the payment system in order
  • Description – The text displayed when selecting this method of payment by the buyer. There may be instructions to transfer funds to your e-wallet, bank account for payment, or something else;
  • Description succes – text after pressing confirmation button;
  • Picture – the payment method logo that appears in the list of payment systems in order;
  • Order state – order state after creating.
  • Groups – select groups, the choice of which will be shown this method of payment to Shop Group.

Features

  • Creates an unlimited number of fully customizable methods of payment
  • Allows you to bind to a payment to user Groups
  • Allow to set order state after creating
  • Confirmation button can be added on payment systems page (like Authorize.net AIM module)
  • It does not require programming skills.

This Module is fork of  Universal Payment Module and rewritten by Deepan palaniappan ,        E-commerce site Development as well as Web Developer.

Download Here