SlideShare a Scribd company logo
1 of 24
PSD to wordpress
Conversion Just in 6 steps
A website is the best tool for online business
marketing. Creating a website is not an easy
job. PSD to HTML conversion is an important
part in every website development. Here I am
explaining the conversion of PSD file into
HTML and then to wordpress in simple 6
steps. If you are developing a wordpress
website, you should have good knowledge in
CSS, HTML and php.
1. Get Ready for the PSD to HTML
Conversion
• Before starting the conversion first you should
have to create an image, js and css folders for
images, JavaScript, and CSS respectively inside
your website directory.
• To convert a PSD file to HTML you need to
open it in Photoshop or any other image
editor, to measure distance, colour, font etc.
2. Slicing PSD file
In this step we will export the images to be
used from the PSD file. Select the slice tool
from the toolbar. Click and drag to select the
desired area to be sliced. As an example we
are slicing the logo in the PSD file. Now right
click on the sliced part and rename it as
"logo". Slice down all the possible images and
rename each slice for further convenience.
Now we have sliced down all the images part.
To export the sliced images, Go to File menu >
Save for Web & Devices or simply
Alt+Shift+Ctrl+S. Make sure that images type
is set to jpg or png (for transparent
background) and click save.
It will open up another window. Select our
directory folder as save in location, again
make sure that save as type “image only” and
also select “all user slices” in slices option
then click save. Now all sliced images will
appear in images folder inside our website
directory.
3. PSD to HTML and CSS
In this step we start our coding to convert a PSD to
HTML. For that open up Dreamweaver or other
html editor tools (I am using Dreamweaver). Create
a new HTML page by clicking file -> New -> Blank
page -> HTML then click create. It will open up a
code editing page. Rename the title “untitled
document” to our project name. Create a css file
(Cascading Style Sheet) by clicking file -> New ->
Blank page -> css then click create. Save that file in
our css folder which we have already created in our
website directory earlier. By adding the following
code will integrate our css into html page.
<link href="/css/style.css" rel="stylesheet"
type="text/css" />
An ideal website layout will contain four basic
parts which is Header, Main content area,
Sidebar and Footer. Let’s start coding header
section. The webpage layout has 960px fixed
width; we are making a wrapper div to wrap
all our layout elements. We also have to place
the wrapper div in the center of the screen, so
we are adding following codes to css file. That
also makes header, content, and sidebar and
footer divs.
We only created the css elements to style up website and we will add more codes to
css later.
4. Break index.html to wordpress
theme core files
Before breaking index.html to wordpress, you must
know something about wordpress theme files &
developments.
A normal Wordpress theme contain many PHP files
such as archive.php, category.php, search.php,
404.php, Image.php, comments.php, Header.php,
index.php Footer.php, Sidebar.php, page.php,
single.php. Out of these, index.php, style.css and
functions.php are the essential files for wordpress
theme.
• Archive.php: Used when a category, author, or
date is queried. This Note that this template will
be overridden by category.php, author.php, and
date.php for their respective query types.
• Category.php: This template contains the code to
display categories. It will show the corresponding
categories of a post when it is viewed.
• Search.php: This template is used to display the
search result of a query. The search function is
an inbuilt wordpress function. We don’t need to
do anything on it.
• 404.php: If you use the 404.php template in
your theme, it will display an error message,
when a page not found error occurs.
• Image.php: Image attachment template is
used when viewing a single image attachment.
• Comments.php: This file defines the comment
form for all pages and posts.
• Header.php: This will include all header
section of a website.
• Index.php: This is the main template file. I.e.,
it is the parent file of the template. It will
contain main body content.
• Footer.php: This is to display the footer
content of website.
• Sidebar.php: This template is used for website
sidebar structure.
• Page.php: This one is used for individual page
templates.
• Single.php: This file is 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.
• Style.css: This is the main style sheet; it will
contain the rules or codes to styling the html
elements of the theme. That defines the main
structure and the style of the template.
• Now break up your index.html into index.php,
header.php, footer.php, sidebar.php and other
necessary feature files.
5. Integrate HTML & CSS to Wordpress
Index.php is the core template file. It will
contain whole website structure. So you have
to call header, sidebar & footer files using the
function get_ header(), get_sidebar() &
get_footer() respectively based on you
website layout.
Import all images to image folder inside your
wordpress file. Then copy your html styles to
style.css file.
6. Add wordpress tag & functions
The last but the most important step in
wordpress conversion is adding wordpress
tags & functions to files.
There are so many inbuilt functions that can
be used to add all the basic functionalities to
the Wordpress theme. Just add Wordpress
inbuilt function tags to your theme file.
Wordpress will automatically work with it.
Now you finished your psd to wordpress theme
conversion. If you want to add additional
functionalities or you want to modify the existing
one then you can simply install wordpress plug-
ins or you can add code to function.php file.
If you want highly experienced PSD to Wordpress
Conversion experts working on your project, just
fill this form with your requirements
http://www.hirewpguru.com/psd-to-wordpress.
Also you can optimize custom project quotes
sending a mail to syam@hirewordpressguru.com

More Related Content

Recently uploaded

Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
amitlee9823
 
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
home
 
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
amitlee9823
 
Anamika Escorts Service Darbhanga ❣️ 7014168258 ❣️ High Cost Unlimited Hard ...
Anamika Escorts Service Darbhanga ❣️ 7014168258 ❣️ High Cost Unlimited Hard  ...Anamika Escorts Service Darbhanga ❣️ 7014168258 ❣️ High Cost Unlimited Hard  ...
Anamika Escorts Service Darbhanga ❣️ 7014168258 ❣️ High Cost Unlimited Hard ...
nirzagarg
 
Vip Mumbai Call Girls Bandra West Call On 9920725232 With Body to body massag...
Vip Mumbai Call Girls Bandra West Call On 9920725232 With Body to body massag...Vip Mumbai Call Girls Bandra West Call On 9920725232 With Body to body massag...
Vip Mumbai Call Girls Bandra West Call On 9920725232 With Body to body massag...
amitlee9823
 
How to Build a Simple Shopify Website
How to Build a Simple Shopify WebsiteHow to Build a Simple Shopify Website
How to Build a Simple Shopify Website
mark11275
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation deck
tbatkhuu1
 

Recently uploaded (20)

UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
 
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
 
Sweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptxSweety Planet Packaging Design Process Book.pptx
Sweety Planet Packaging Design Process Book.pptx
 
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
HiFi Call Girl Service Delhi Phone ☞ 9899900591 ☜ Escorts Service at along wi...
 
Book Paid In Vashi In 8976425520 Navi Mumbai Call Girls
Book Paid In Vashi In 8976425520 Navi Mumbai Call GirlsBook Paid In Vashi In 8976425520 Navi Mumbai Call Girls
Book Paid In Vashi In 8976425520 Navi Mumbai Call Girls
 
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
 
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
 
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
 
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
 
Anamika Escorts Service Darbhanga ❣️ 7014168258 ❣️ High Cost Unlimited Hard ...
Anamika Escorts Service Darbhanga ❣️ 7014168258 ❣️ High Cost Unlimited Hard  ...Anamika Escorts Service Darbhanga ❣️ 7014168258 ❣️ High Cost Unlimited Hard  ...
Anamika Escorts Service Darbhanga ❣️ 7014168258 ❣️ High Cost Unlimited Hard ...
 
Jordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdfJordan_Amanda_DMBS202404_PB1_2024-04.pdf
Jordan_Amanda_DMBS202404_PB1_2024-04.pdf
 
Vip Mumbai Call Girls Bandra West Call On 9920725232 With Body to body massag...
Vip Mumbai Call Girls Bandra West Call On 9920725232 With Body to body massag...Vip Mumbai Call Girls Bandra West Call On 9920725232 With Body to body massag...
Vip Mumbai Call Girls Bandra West Call On 9920725232 With Body to body massag...
 
Real service provider college girl Mira Road 8976425520
Real service provider college girl Mira Road 8976425520Real service provider college girl Mira Road 8976425520
Real service provider college girl Mira Road 8976425520
 
How to Build a Simple Shopify Website
How to Build a Simple Shopify WebsiteHow to Build a Simple Shopify Website
How to Build a Simple Shopify Website
 
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Koregaon Park ⟟ 6297143586 ⟟ Call Me For Genuine S...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation deck
 

Featured

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
Simplilearn
 

Featured (20)

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 

PSD to wordpress conversion just in 6 steps

  • 1. PSD to wordpress Conversion Just in 6 steps
  • 2. A website is the best tool for online business marketing. Creating a website is not an easy job. PSD to HTML conversion is an important part in every website development. Here I am explaining the conversion of PSD file into HTML and then to wordpress in simple 6 steps. If you are developing a wordpress website, you should have good knowledge in CSS, HTML and php.
  • 3. 1. Get Ready for the PSD to HTML Conversion • Before starting the conversion first you should have to create an image, js and css folders for images, JavaScript, and CSS respectively inside your website directory. • To convert a PSD file to HTML you need to open it in Photoshop or any other image editor, to measure distance, colour, font etc.
  • 4. 2. Slicing PSD file In this step we will export the images to be used from the PSD file. Select the slice tool from the toolbar. Click and drag to select the desired area to be sliced. As an example we are slicing the logo in the PSD file. Now right click on the sliced part and rename it as "logo". Slice down all the possible images and rename each slice for further convenience.
  • 5.
  • 6. Now we have sliced down all the images part. To export the sliced images, Go to File menu > Save for Web & Devices or simply Alt+Shift+Ctrl+S. Make sure that images type is set to jpg or png (for transparent background) and click save.
  • 7.
  • 8. It will open up another window. Select our directory folder as save in location, again make sure that save as type “image only” and also select “all user slices” in slices option then click save. Now all sliced images will appear in images folder inside our website directory.
  • 9.
  • 10. 3. PSD to HTML and CSS In this step we start our coding to convert a PSD to HTML. For that open up Dreamweaver or other html editor tools (I am using Dreamweaver). Create a new HTML page by clicking file -> New -> Blank page -> HTML then click create. It will open up a code editing page. Rename the title “untitled document” to our project name. Create a css file (Cascading Style Sheet) by clicking file -> New -> Blank page -> css then click create. Save that file in our css folder which we have already created in our website directory earlier. By adding the following code will integrate our css into html page.
  • 11. <link href="/css/style.css" rel="stylesheet" type="text/css" /> An ideal website layout will contain four basic parts which is Header, Main content area, Sidebar and Footer. Let’s start coding header section. The webpage layout has 960px fixed width; we are making a wrapper div to wrap all our layout elements. We also have to place the wrapper div in the center of the screen, so we are adding following codes to css file. That also makes header, content, and sidebar and footer divs.
  • 12.
  • 13.
  • 14. We only created the css elements to style up website and we will add more codes to css later.
  • 15. 4. Break index.html to wordpress theme core files Before breaking index.html to wordpress, you must know something about wordpress theme files & developments. A normal Wordpress theme contain many PHP files such as archive.php, category.php, search.php, 404.php, Image.php, comments.php, Header.php, index.php Footer.php, Sidebar.php, page.php, single.php. Out of these, index.php, style.css and functions.php are the essential files for wordpress theme.
  • 16. • Archive.php: Used when a category, author, or date is queried. This Note that this template will be overridden by category.php, author.php, and date.php for their respective query types. • Category.php: This template contains the code to display categories. It will show the corresponding categories of a post when it is viewed. • Search.php: This template is used to display the search result of a query. The search function is an inbuilt wordpress function. We don’t need to do anything on it. • 404.php: If you use the 404.php template in your theme, it will display an error message, when a page not found error occurs.
  • 17. • Image.php: Image attachment template is used when viewing a single image attachment. • Comments.php: This file defines the comment form for all pages and posts. • Header.php: This will include all header section of a website. • Index.php: This is the main template file. I.e., it is the parent file of the template. It will contain main body content. • Footer.php: This is to display the footer content of website.
  • 18. • Sidebar.php: This template is used for website sidebar structure. • Page.php: This one is used for individual page templates. • Single.php: This file is 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.
  • 19. • Style.css: This is the main style sheet; it will contain the rules or codes to styling the html elements of the theme. That defines the main structure and the style of the template. • Now break up your index.html into index.php, header.php, footer.php, sidebar.php and other necessary feature files.
  • 20.
  • 21. 5. Integrate HTML & CSS to Wordpress Index.php is the core template file. It will contain whole website structure. So you have to call header, sidebar & footer files using the function get_ header(), get_sidebar() & get_footer() respectively based on you website layout.
  • 22. Import all images to image folder inside your wordpress file. Then copy your html styles to style.css file.
  • 23. 6. Add wordpress tag & functions The last but the most important step in wordpress conversion is adding wordpress tags & functions to files. There are so many inbuilt functions that can be used to add all the basic functionalities to the Wordpress theme. Just add Wordpress inbuilt function tags to your theme file. Wordpress will automatically work with it.
  • 24. Now you finished your psd to wordpress theme conversion. If you want to add additional functionalities or you want to modify the existing one then you can simply install wordpress plug- ins or you can add code to function.php file. If you want highly experienced PSD to Wordpress Conversion experts working on your project, just fill this form with your requirements http://www.hirewpguru.com/psd-to-wordpress. Also you can optimize custom project quotes sending a mail to syam@hirewordpressguru.com