Identify of WordPress skin files

Recognizing WordPress skin files With its simplicity, WordPress allows beginners to work with it easily, but what better way to improve our information as quickly and more in the field of WordPress.

Hello, I have a warm greeting to all of you dear friends and WordPress users.

The training that we have prepared for you today is for friends who have recently come to WordPress and have recently chosen this excellent content management system, but some parts of WordPress are incomprehensible to them, and one of these parts is not distinguishing files from each other. In this WordPress tutorial, we intend to talk about this topic, i.e. file identification, so if you are among our newbie friends, I invite you to stay with us until the end of this article so that you can get good information. Make up your own mind.

How to prevent duplicate posts in WordPress

Subject of training

Dear friends, when you work with WordPress, you must have seen various pages in its folder that you don’t know what they are for and what they are for, what is their use and what is the purpose of their codes, which we are going to examine in the following. Let’s do it so that you newbie friends get to know more about the concepts in WordPress so that you can act professionally.

In the following, we will examine different pages together.

Authors

Dear friends, this page means the authors page is a subset of the archive section that shows the content and writings related to each author and if a user or visitor comes to your website and visits your website with this address or link http:/ /yoursite.com/author should actually see a list of our author’s content, but by default, this page is called from a page named archive.php, if you want to be more professional and specific, this file should be Call the auther.php file, which makes this page run by itself and has nothing to do with the archive.php file, and it can be said that we make it independent with this work.

author-[nicename].php
author-[id].php
author.php
archive.php
index.php

Transferring archive sheets to unique sheets

If we can understand how the archive pages work, we can easily transfer them to the form of unique pages in our WordPress site, the items of which are as follows:

  1. Personal pages similar to content
  2. Attached content
  3. Personal content in the form of specific posts
  4. Static pages
  5. Written sheet:

Every page under the title of posts can be considered as a post page, that the general form for personal posts is produced under the title single.php, and if the template in question has a single.php file, all the posts wherever they are are under this. The skin and this template will be displayed which we can use easily.

Categories

This page works in the same way as the authors’ page that we told you at the beginning, but for example, it can be said that the address of the site page is http://yoursit.com/category/my-cat and by default it should show a page like an archive. Grant that if we intend to change it, we must use the category-[slug].php or category-[id].php files so that we can achieve what we want.

category-[slug].php
category-[id].php
category.php
archive.php
index.php

Other archive pages

According to what we told you in the authors and categories section, you should be familiar with the function of the archive page, but we must know that the archive page is not only for the author or categories section, but we can use this page. We use WordPress everywhere.

If we want to give an example for you to understand better, we can say that if we want to consider a skin for a specific page, for example, our date page, we can create a file like the date.php file, or if we want for the tags section. Consider a shell, we can call a file named tag.php.

You can easily use and benefit from archive pages.

The four main WordPress tabs that we don’t care about!

Friends, if you are a beginner, I suggest you to increase your knowledge in the field of WordPress as soon as possible, because if you want to act professionally, you must increase your knowledge.

Dear friends, this WordPress tutorial has come to an end, we hope it was useful for you.

Thank you for your cooperation with WordPress.

Sanatheme - free themes, templates and plugins for WordPress
Leave a Reply

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: