A community for mutual assistance and knowledge sharing

Wordpress templates question Reward $1
Created by termezo, 406 days ago, 505 views

Is it good way for website creation? I want to create little blog on Wordpress. Can I do this by myself?
Facebook Twitter Google+ Addthis


ChessKing406 days ago

To create a template for WordPress is easier than you might think. It does not need to possess vast experience in the development of design or programming sites. In this article we will tell you about the basics of creating your own WordPress themes from scratch.
Why do you even need to create your Own WordPress template when you can use the existing in the database blanks? Here are some reasons that may lead to this:
You can get a unique website or landing, different from competitors. Given the millions of blogs built on this CMS, each standard design is used at least a hundred times.
Full freedom of action in the development phase. You can add your own functionality with the necessary working elements.
You can use different designs for different sections of the site, which is impossible when using a ready-made template.
You can make multiple views and give visitors the opportunity to switch between different topics, which will increase interest and loyalty to the web resource.
The simplicity of work on WordPress makes it available for many (video tutorials on the Internet will help). So, own development of the home or creating a child theme will allow you to save some money on attracting third-party designers and programmers.
You can use the child themes feature when adjustments are made to style sheet doubles.css, and the main file remains untouched. This allows you to quickly undo changes if they are unsuccessful, and not to lose ground when updating the main theme.
Brief instruction
Of course, to complete training on how to create a page template, with a single article will not work. First, it is important to understand the basics – how to make the simplest topics. On the basis of them it is already possible to do "creativity" and create a landing or a website according to your desires. Now give you a brief cheat sheet with step by step instructions – it will help to understand how to create a site.

Step one: preparatory work

Before starting work, you need to make sure that you have a text editor (the simplest is Notepad or Nodepad++, especially since they can be downloaded for free). The next step is to install the WordPress engine and the Denwer Suite on your local computer. Denver is a package of important tools for programmers. They make it much easier and faster to develop and make changes to the sites.
Step two: create a new theme folder
Go to the desired directory. It most often has the following path: C:\WebServers\home\localhost\www\НАЗВАНИЕ_ЗАДАННОЕ_ПРИ_УСТАНОВКЕ\wp-content\themes Oh? Here are stored all themes-and ready, and homemade. Go to it to create a new folder. We call it, for example, "MyFirstTheme".
Now go to the new folder and be sure to add two files made through Nodepad++ or another editor. This is index.php and style.css. While these documents let them remain empty, then we will deal with their filling. Also add the" MyFirstTheme " images folder here. where you can add images for template design.
Later in" MyFirstTheme " you can add templates for certain parts of the site: sidebar.php), site (header.php), the records on the pages (single.php), comments (comments.php) and so the Set of additional files depends on the structure that you plan for your web resource.

Step three: filling index.php

The first thing to do is to fill in the index file (index.php). Here is an example of the simple code by which the site ubudet into four parts: header, main, sidebar and footer.


Site Title< / h1>
< / div>

< / div>

< / div>

< / div>
< / body>
< / html>
In the file, you can register any elements that you want to see on your site. More information about writing index code.php to create themes in WordPress can be obtained from the video:

Step four: fill in and style.css

Now we need to open style.css, add and fill in the following fields (enter instead of *** own information about the site and the owner). The entered data will be displayed in the admin panel.

/ * Theme Name: ***

Theme URI: http:// ***

Author: ***

Author URI: http:// ***

Description: ***

Version: 1.0

Later in this file you can enter different data and rules that determine the appearance of the pages. For example:

* {

margin:0; /*Reset all padding, if padding needed, then just stamped the size of the step */

padding: 0;


body {

font-family: Arial, Helvetica, sans-serif; / * the leading text font is specified here*/

display: block; / *this command splits parts of the page into blocks*/

(information in the / * * / are comments and not part of the code)

At this stage, it is too early to set strict style parameters, but in further work with the file you will need this video tutorial:

Step five: split the files

All items listed in the index.php should be duplicated as separate files. In the first step in the example, in addition to the main part, the header, sidebar and footer were specified – therefore, we create our own documents in the format for them .php.

For example, create a file header.php, open index.php. find the appropriate code section and insert it into a new file. This will happen:


Site Title< / h1>
< / div>

The same is done for the rest of the parts. This should be done for easier navigation. When the elements of the future site will be a lot, the individual files will help to better navigate to check or make changes.
To make the main index file consistent with the additional ones, in index.php under the blocks for each part you need to add a "tail" (just do not forget to put the file names instead of a question mark):

<? get_header ();?>

< / div>

<? get_sidebar ();?>
<? get_footer ();?>
Below is a list of standard template files used by WordPress. You can choose not to use them or add your own sections:

Header - style of your website header.
Comments - template for creating comments.
Home - theme for the main page.
Page-defines the theme if you create separate pages on the site
Category-template for categorization
Date-determines the style of date-time output.
Archive-template for archive section with old materials.
Search-a file that specifies the parameters to search on the site.
404-the template for the page where the 404 Not Found error is reported.
Footer-determines the style of your site's footer.
When in the future you will finalize each element, you will need a visual video tutorial. Here are a few collections that can help you:

The cap to the header.php:

Title with link to main page:

Adding content:

Styling review:

The basement on the website:

How can you make changes without fear
When you need to make changes to the pages of the site, that is, the risk of something wrong to register and not be able to "roll back" back. It can also happen that the entries in the style sheet will disappear when the main theme is updated.

To prevent this from happening, you can create a child WordPress theme (subtopic) – this is a style style file understudy.css that does not affect the master file (changes in one do not override updates in the other).

Creating a child WordPress theme will not be difficult. We need to make a new folder in the main directory C:\WebServers\home\localhost\www\НАЗВАНИЕ_ЗАДАННОЕ_ПРИ_УСТАНОВКЕ\wp-content\themes Oh? In the new folder, make your style file.css with this content:


Theme Name: the name of the THEME

Template: the NAME of the FOLDER IN your CHILD THEME


Description: FILL

Author: FILL

Author URI: FILL in

Version: 1.0


/ * import parent theme styles */

@import url ("../NAME / style.css»);

/* Additional styles */

.foo{ color:red; }

Now you can go to the "appearance"theme" in the admin panel and activate the child template. In the future, you can work in a new file.

  • downvote


chakramed403 days ago


WordPress is open source software you can use to create a beautiful website, blog, or app.

Beautiful designs, powerful features, and the freedom to build anything you want. WordPress is both free and priceless at the same time.

Here is some wordpress themes templates

1_ choose the best templates for you site theme .
2_ start adding topics to your website .

  • downvote


rembanad401 days ago

The below site enables one to open a free website and after opening, they host the site for you. They even post blogs for you and you don't need to lift even a finger although you can write your own blogs on the website they will make for free for you if you want.

  • downvote


Sertener177 days ago

Hello! Do you have your own travel blogs? I am starting my own now and I am looking for maps plugins for wordpress, can anyone suggest me maps? Have anone faced such tools like ?

  • downvote
    You have to sign in to answer a question, sign up if you don't have an account.

    Hot Topics
    Cadd Service windows security center
    IndianoO Website speed advice
    YBeyul How do I contact the Euask support team?
    Cezario What is the best websites to stream live basketball?
    Ammar_Howeka What are the best processors of intel ?
    Recent users who have won rewards.
    Boraki won $1
    Boraki won $1
    Pele233 won $1
    desert_eag1e won $1
    Professor13 won $1
    Ogsadoo won $1
    Boraki won $1
    kaioo5191 won $1
    Pele233 won $3
    Izeli1865 won $1
    Latest Topics
    arvindkumar2 Which Website has large collection of Free Link Building Sites List?
    davidavhkb более реактивным по сравнению с типами
    Cezario What is the best websites to stream live basketball?
    Ammar_Howeka What are the best processors of intel ?
    YBeyul How do I contact the Euask support team?
    IndianoO Website speed advice
    Cadd Service windows security center
    Ameedi21 Kayıt Defteri açılmıyor
    Ogsadoo C++ runtime error
    DanielAr Gmail not working at all on iphone
    Get free dollars by installing euask App.