ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

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
تم إضافة السؤال من قبل Atif Aqeel , Founder And Director , Xesense
تاريخ النشر: 2015/04/30
Muhammad Majid Saleem
من قبل 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 !!

 

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟