Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to create on page wordpress custom theme?

How can i create one page wordpress custom template i am wordpress professional but still not design wordpress onepage theme from scratch.

user-image
Question added by Atif Aqeel , Founder And Director , Xesense
Date Posted: 2015/04/30

Basm allah alrahman alrahim

 

Do you mean Create a Theme Options Page

 

or do you mean theme from scratch

 

 

Muhammad Majid Saleem
by Muhammad Majid Saleem , Senior PHP Developer / Project Manager , SwaamTech

You may create it by following the steps:

1. Make a copy of an existing theme

2. Rename folder's name.

3. Go to wp-admin > pages > Add New Page and name it as "Home". Save it.

4. Create a new page named as "page-home.php" in your theme folder

5. Open it in your favorite IED.

6. Divide your page into the sections, you want to display on this page. For example:

<div id="slider-images">

// Code your slider here.

</div>

<div id="about-us">

// fetch your about-us content from db and display here.

</div>

<div id="services">

// fetch your servuces content from db and display here.

</div>

 

and so on.

7. Go to wp-admin > Settings > Reading

8. Select "Home" page as your default home page.

9. Go to wp-admin > Menu > Create your Menu

10. Create Custom URL menu item. For Example:

Title: About Us

URL: #about-us

 

Save menu changes and publish them.

 

Enjoy Wordpress !!

 

Adam Ahmed
by Adam Ahmed , IT & Web Developer , Freelance
More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.