Top Ad unit 728 × 90

03 All You Need To Know About Create Template Files In WordPress Theme Development

All You Need To Know About Create File In Wordpress Theme Development

[post_ad]
Ab hum WordPress Theme Development ka baqaida aghaaz kartey hein or theme k lye wo saari files ko create kartey hein jin k baarey mein last video mein btya tha.

Sb se pehlay hum new files create ker k us mein comment block mention ker detay hein jis mein us file se related simple information dein gy. us k lye treeqa kaar aisey ho ga.

What is WordPress? A Simple Introduction for Beginners
Learn Professional WordPress Theme Development From Scratch


03 All You Need To Know About Create Template Files In WordPress Theme Development


Example:


<?php

/*

This template is used display

*/

?>



Is comment section ko hum her files mein copy paste kertay jaien gy or jo file jis kaam k lye use hogi us ki information comment change ker k mention kertay jayen gy.

Sublime Text Editor mein theme development ki basic ko continue kertay huye aik or file create kertay hein.

SINGLE .PHP

03 All You Need To Know About Create Template Files In WordPress Theme Development
[post_ad]
Single Post ko jb open kia jata hai tou us file ko display kerwany k lye use hogi. jaisey ap kisi ki post read kertay hein tou end per READ MORE likha hota hai ya READ MORE BUTTON mojood hota hai jissey click kernay sy wo complete post alag se samney ajati hai. Ya ap us post title per click kertay hein tou wo post open ho jati hai ya phir us post Image per b click kernay se is post ka sara content samney ajata hai, wohi sb kaam is mein hoga.
03 All You Need To Know About Create Template Files In WordPress Theme Development


PAGE.PHP

03 All You Need To Know About Create Template Files In WordPress Theme Development


New file create kernay k baad ussey hum ny Page.php name se save kia or is mein wohi comment section ko paste kernay k baad us ka name change ker detay hein. Page.php file hamarey WordPress Theme pages display kerwany k lye use ki jaye gi.
03 All You Need To Know About Create Template Files In WordPress Theme Development


ARCHIVE.PHP

03 All You Need To Know About Create Template Files In WordPress Theme Development

Text Editor mein new file create kernay k baad Archive.php name se save kia or Comment Block mein name change ker dein gy.
Yeh file Category, Date ya Author wagherah ko browse kernay k lye use hoti hai. jaisey ap different websites mein tabs ko dekhtay hein. For Ex 1 website per 6 Authors hein un sb k different names hein but ap un 6 mein se kisi 1 ki tmaam posts without search dekhna chahtey hein tou wahan us author name k oper click kernay k baad wo result samney aaye ga wo isi file k magic ki waja se aye ga.
03 All You Need To Know About Create Template Files In WordPress Theme Development

Lecture 02 Learn Professional WordPress Theme Development with Code and Tutorial Video

404.PHP

03 All You Need To Know About Create Template Files In WordPress Theme Development

1 or file ko 404.php name dia or Comment section ko paste kernay k baad us mein changing ker di. yeh file wahan apna work kerti hai jb ap ka koi content website mein se remove hogya ho or visitor kisi b sources ki through jb us py click keray ga tou us ki jga ye file display hogi.
03 All You Need To Know About Create Template Files In WordPress Theme Development


SEARCH.PHP

03 All You Need To Know About Create Template Files In WordPress Theme Development

Is file ko create kernay k sath hee ap ko andaza hogya hoga k SEARCH.PHP function k lye is file ko use kia jaye ga. 
03 All You Need To Know About Create Template Files In WordPress Theme Development


HEADER.PHP

03 All You Need To Know About Create Template Files In WordPress Theme Development

Ab ye jo new file create ki hai ye Template File nahi but template part zaroor hai jo k hamarey WordPress Theme mein use hoga and her template file mein is file ko hum call karen gy. yahan mazey ki baat yeh k yahan likha gya Content her page k oper automatically include ho jaye ga. yani k Header and Footer 2 aisi template file hein jo k ap ki website per her page pey same rehti hein. Bohat kam conditions mein inhen change b kerna perta hai but us ka treeqa kaar or web developing mein requirment b different hoti hai. Website mein Header, Footer k sath Sidebar b sath sath jb jaga use hoti hai.
03 All You Need To Know About Create Template Files In WordPress Theme Development


FOOTER.PHP

03 All You Need To Know About Create Template Files In WordPress Theme Development

FOOTER.PHP file hamarey WordPress Theme mein footer file hogi is mein hum Footer magic apply karen gy apni marzi se Widgets, Content wagera iss mein shaamil karen gy.
You can see Step by Step Tutorial Video in the end of this article
03 All You Need To Know About Create Template Files In WordPress Theme Development


SIDEBAR.PHP

03 All You Need To Know About Create Template Files In WordPress Theme Development

Theme Development mein 1 or file SIDEBAR.PHP name sath save ki. Iss file ko sidebar functions k lye use kia jaye ga.
03 All You Need To Know About Create Template Files In WordPress Theme Development


WordPress theme development k lye hum ney basics files create ker li hein, inn k ander hum bohat asaani se aik standard theme create karen gy, In files ko ap apni theme directory folder mein 1 dfa lazmi dekh lejye ga k jo files create ki un files names k spellings mistakes tou nahi hein. Yaad rahey! in files mein izafaa b hota rahey ga jaisey jaisey hamarey theme ki requirement brrhti jaye gi tb hum us file ko create kertay jayen gy or ap ko samjhatey b jaye gy k kyun or kis lye file bnai ja rahi hai.
03 All You Need To Know About Create Template Files In WordPress Theme Development


Files create kernay k baad next step ye ho ga k theme folder k ander kuch aisey folders chahye hungy jin mein hum related data alag se rakhen gy like Images etc.

1- ASSETS

03 All You Need To Know About Create Template Files In WordPress Theme Development

New folder bnaaney k baad issey ASSETS name dia or is k ander woh folders banayen gy jo k theme mein tmaam assets ko contain ker raha hoga.

  • CSS Folder
  • JS Folder
  • Images/ Img Folder
03 All You Need To Know About Create Template Files In WordPress Theme Development

In folders ny khud e apney ap ko explain ker dia hoga k inhen bnanaey ki zroorat kyun parri.

2- TEMPLATE-PARTS

03 All You Need To Know About Create Template Files In WordPress Theme Development

is k baad is folder se bahir jaa ker 1 or folder bnayen gy. Yahan most important baat jo ap ko yaad rakhni hogi k folder name likhtey time " SPACE " nahi deni. jaisa k TEMPLATE PARTS 2 names hein mgar in ko " -" TEMPLATE-PARTS aisey sath mein jorra gya hai. iss folder mein hum Tamplates k ander use honey waley different parts ko store karen gy. yani k aisi WordPress Theme files jo k template nahi hein magar kisi template k ander hum usey use kerna chah rhey hein tou wahan is ka istemal hoga. iss ki mukamal samjh ap ko tb aye gi jb hum theme design kertay hye iss level tak ayen gy.

3- INC

03 All You Need To Know About Create Template Files In WordPress Theme Development

New folder ko INC name dain gy jo k INCLUDE ka short name hai. iss ka maqsad kya hoga ussey jaantey hein.

Hamarey WordPress Theme mein aik aisi file use hogi jo k be hadh important file hai. Text Editor open kernay k baad is mein aik or file banai.

FUNCTIONS.PHP

03 All You Need To Know About Create Template Files In WordPress Theme Development

FUNCTIONS.PHP file pori theme development mein aisey kaam karti hai jaisey WordPress Plugin work kerta hai.
Ab baqi template files tou ap ki website  LAYOUT ko bnaney k kaam aati hein. Yani k WordPress theme Layout hamarey apney tareeqay se design ker rahi hoti hein but yeh file samjh lyen k WordPress ki traf se hamarey lye as a gift work karey gi. ye file WordPress Features ko extend kernay k lye use hoti hai. Is mein hum WordPress Codes, Functions ko apni theme mein implement kertay hein. Ap apney theme mein koi Custom Post define kerna chaah rahey hein ya koi or izaafi kaam karna chaah rahey hein tou Functions.PHP File wahan apna magic dikhaati hai.

INC Folder Functions.PHP file k sath linked hoga jis mein hum theme development k lye features / Codes Parts rakh rahey hngy.
Theme Development in WordPress mein jb ap aagey ki taraf barrhtey jayen gy or features includes kertay jayen gy tou wahan kafi mushkil ho jati hai k 1 hee file mein saarey features code kertay jayen.

Ap Freelancing Fiverr, Upwork, Freelancer.com ya kisi or platform per client k lye WordPress Theme Design ker k detay hein. Ap ka client ap se kuch kisi jaga editing kernay ko kehta hai tou ap k lye kafi mushkil ho jata hai us aik he file mein features edit kerna.Waqat ki bachat or theme beauty k lye features parts ko include karwain gy or Functions.php sath link karen gy.


Now ye ap ki theme ka standard structure develop ho chuka hai jissey hum aagye ki taraf ly ker barrhen gy. Brri Brri Professional WordPress Theme like Premium themes mein b yahi Structure use hota hai. hum b isi standard structure k sath theme development karen gy In Sha Allah.


WordPress Theme Development skill seekhnay k baad ap issi skill ko Income of Source b bnaana chahyn gy tou ap k lye koi problem nahi hogi, kyun k mein iss course WordPress Theme Development ko basic sy step by step ap ko sikhaa ker aagy sath ly ker chalney ki koshish mein hn. Coding Examples k sath sath image Examples and her lecture ki tutorial video b ap ko sath miley gi taa k ap ko kisi b tarah se koi mushkil paish na aye.

I hope you have got a lot of guidance from this article.
If you want to become a fully creative professional theme developer, then follow all the lectures in this course. Videos from Basic to Advance Level from this course will also be included with every lecture so that you have no problem.
You must give your opinion about this article in the comment box.
And do not forget to share this article. Thanks

01 Let's Start Html5 & CSS3 Tutorial Videos for Beginners in Urdu Hindi Introduction


03 All You Need To Know About Create Template Files In WordPress Theme Development Reviewed by Tutorial Markaz on Friday, November 02, 2018 Rating: 5

1 comment:

  1. Quickly this particular site may undoubtedly gain popularity in between just about all running a blog as well as site-building people, because of its painstaking articles or maybe evaluations. Web Development

    ReplyDelete

All Rights Reserved by Urdu Hindi Tutorial Videos | Tutorial Markaz © 2018 - 2019
Designed by Asim Mehmood

Contact Form

Name

Email *

Message *

Powered by Blogger.