No Result
View All Result
الثلاثاء, نوفمبر 26, 2019
English
  • الرئيسية
  • عن المعهد
    • رؤيا ورسالة واهداف
    • هيكلية المعهد
    • لوحة الاعلانات
    • ادارة الموقع
  • اقسام المعهد
    • الاقسام الطبية
      • قسم التحليلات المرضية
      • قسم التمريض
      • قسم صحة المجتمع
    • الاقسام الادارية
      • قسم انظمة الحاسوب
      • قسم المحاسبة
      • قسم تقنيات ادارة المواد
      • قسم الادارة القانونية
    • الاقسام التكنلوجية
      • قسم المدني
      • قسم التقنيات الالكترونية
      • قسم المساحة
      • قسم ميكانيك القدرة
      • قسم التقنيات الميكانيكية
  • الخريجين
    • خريجي 1978
    • خريجي 1979
    • خريجي 1980
  • احدث الاخبار
    ورشة عمل حول نظام المقررات الدراسية …

    ورشة عمل حول نظام المقررات الدراسية …

    هام … جداً !؟

    لجنة التكافل الاجتماعي في معهدنا تقوم بزيارة ميدانية الى دار رعاية المسنين

    لجنة التكافل الاجتماعي في معهدنا تقوم بزيارة ميدانية الى دار رعاية المسنين

    سمنار حول استخدام الذكاء الصناعي في المنظومات الصناعية …

    سمنار حول استخدام الذكاء الصناعي في المنظومات الصناعية …

    اجتماع لجنة إختبار صلاحية التدريس لتخصصات العلوم الصحية والطبية بعضوية تدريسي من معهدنا …

    اجتماع لجنة إختبار صلاحية التدريس لتخصصات العلوم الصحية والطبية بعضوية تدريسي من معهدنا …

    مجلس المعهد التقني – بابل يعقد جلسته الاولى للعام الدراسي الجديد 2019-2020

    مجلس المعهد التقني – بابل يعقد جلسته الاولى للعام الدراسي الجديد 2019-2020

    سمنار شرح تقنيات حديثة مضافه إلى التقنيات التقليدية من خلال استخدام ( F.S.P )

    سمنار شرح تقنيات حديثة مضافه إلى التقنيات التقليدية من خلال استخدام ( F.S.P )

    سمنار شرح مفردات قانون التقاعد العام ..

    سمنار شرح مفردات قانون التقاعد العام ..

  • التدريسيين
  • الشعب والوحدات
    • شؤون الطلبة
    • شعبة الحاسبة والانترنت
    • شعبة ضمان الجودة
    • الشعبة الادارية
    • الشعبة المالية
    • شعبة التدقيق والرقابة
    • شعبة النشاطات الطلابية
  • احصائيات
  • البحوث المنشورة
  • الحاضنة التكنلوجية
  • اتصل بنا
    • شكاوى خاصة
  • الرئيسية
  • عن المعهد
    • رؤيا ورسالة واهداف
    • هيكلية المعهد
    • لوحة الاعلانات
    • ادارة الموقع
  • اقسام المعهد
    • الاقسام الطبية
      • قسم التحليلات المرضية
      • قسم التمريض
      • قسم صحة المجتمع
    • الاقسام الادارية
      • قسم انظمة الحاسوب
      • قسم المحاسبة
      • قسم تقنيات ادارة المواد
      • قسم الادارة القانونية
    • الاقسام التكنلوجية
      • قسم المدني
      • قسم التقنيات الالكترونية
      • قسم المساحة
      • قسم ميكانيك القدرة
      • قسم التقنيات الميكانيكية
  • الخريجين
    • خريجي 1978
    • خريجي 1979
    • خريجي 1980
  • احدث الاخبار
    ورشة عمل حول نظام المقررات الدراسية …

    ورشة عمل حول نظام المقررات الدراسية …

    هام … جداً !؟

    لجنة التكافل الاجتماعي في معهدنا تقوم بزيارة ميدانية الى دار رعاية المسنين

    لجنة التكافل الاجتماعي في معهدنا تقوم بزيارة ميدانية الى دار رعاية المسنين

    سمنار حول استخدام الذكاء الصناعي في المنظومات الصناعية …

    سمنار حول استخدام الذكاء الصناعي في المنظومات الصناعية …

    اجتماع لجنة إختبار صلاحية التدريس لتخصصات العلوم الصحية والطبية بعضوية تدريسي من معهدنا …

    اجتماع لجنة إختبار صلاحية التدريس لتخصصات العلوم الصحية والطبية بعضوية تدريسي من معهدنا …

    مجلس المعهد التقني – بابل يعقد جلسته الاولى للعام الدراسي الجديد 2019-2020

    مجلس المعهد التقني – بابل يعقد جلسته الاولى للعام الدراسي الجديد 2019-2020

    سمنار شرح تقنيات حديثة مضافه إلى التقنيات التقليدية من خلال استخدام ( F.S.P )

    سمنار شرح تقنيات حديثة مضافه إلى التقنيات التقليدية من خلال استخدام ( F.S.P )

    سمنار شرح مفردات قانون التقاعد العام ..

    سمنار شرح مفردات قانون التقاعد العام ..

  • التدريسيين
  • الشعب والوحدات
    • شؤون الطلبة
    • شعبة الحاسبة والانترنت
    • شعبة ضمان الجودة
    • الشعبة الادارية
    • الشعبة المالية
    • شعبة التدقيق والرقابة
    • شعبة النشاطات الطلابية
  • احصائيات
  • البحوث المنشورة
  • الحاضنة التكنلوجية
  • اتصل بنا
    • شكاوى خاصة
No Result
View All Result
المعهد التقني- بابل
No Result
View All Result
Home الاخبار

Create A WordPress Themes

المعهد التقني بابل by المعهد التقني بابل
مايو 19, 2014
in الاخبار
0 0
0
0
SHARES
5
VIEWS
Share on FacebookShare on Twitter

WordPress themes is the most used and popular blogging platform around the web. Its flexibility, usability and customizability are the main reasons people regard WordPress so high. Another reason is the huge array of themes available for WordPress – you can create almost anything, from online magazines to advanced e-commerce businesses. wordpress themes You can either get themes for free or pay for them. Of course, you get what you pay for — yet don’t be too eager to spend your money on something you might not even need. If you’re just starting out with WordPress I suggest reading Choosing a WordPress Theme: Free or Premium? After that you might consider whether you really want to pay for that premium theme. wordpress themes If the answer is no, continue reading and check out these 80 professional, beautiful and free WordPress themes from 2012 — the best free themes that can be found!

If you started with an HTML ( + CSS) website, you don’t have to throw it all away when moving to WordPress. You can convert your HTML into WordPress and run your (now more powerful) website on the dynamic WordPress platform.

Or maybe that’s not the case. Perhaps you are just wondering how to convert a client’s HTML design into a fully-fledged WordPress theme. Or maybe you would like to learn basic WordPress (+ PHP) programming from the more-familiar HTML side.

Whatever the reason you are here today, this WordPress tutorial will introduce you to the basics of creating a WordPress theme from HTML. So, get a code editor (I use and recommend Notepad++, and SublimeText is another great option) and a browser ready, then follow this simple guide to the end.

Naming Your WordPress Theme

First things first, we have to give your theme a unique name, which isn’t necessary if you’re building a theme for your website only. Regardless, we need to name your theme to make it easily identifiable upon installation.

General assumptions at this point:

  • You have your index.html and CSS stylesheet ready. If you don’t have these files, you can download mine for illustration purposes
  • You have a working WordPress installation with at least one theme e.g. Twenty Fourteen
  • You have already created a theme folder where you’ll be saving your new WordPress theme :)

Let’s get back to naming your WordPress theme. Open your code editor and copy-paste the contents of your stylesheet into a new file and save it as style.css in your theme folder. Add the following information at the very top of the newly-created style.css:

/*Theme Name: Your theme's name
Theme URI: Your theme's URL
Description: A brief description of your theme
Version: 1.0 or any other version you want
Author: Your name or WordPress.org's username
Author URI: Your web address
Tags: Tags to locate your theme in the WordPress theme repository
*/
Do not leave out the (/*…*/) comment tags. Save the changes. This info tells WordPress the name of your theme, the author and complimentary stuff like that. The important part is the theme’s name, which allows you to choose and activate your theme via the WP dashboard.

Breaking Up Your HTML Template into PHP Files

This tutorial further assumes you have your HTML template arranged left to right: header, content, sidebar, footer. If you have a different design, you might need to play with the code a bit. It’s fun and super easy.

The next step involves creating four PHP files. Using your code editor, create index.php, header.php, sidebar.php and footer.php, and save them in your theme folder. All the files are empty at this point, so don’t expect them to do anything. For illustration purposes, I am using the following index.html and CSS stylesheet files:

INDEX.HTML

 

<!DOCTYPE html>	
<head>
		<meta charset="UTF-8">
		<title>How To Convert HTML Template to WordPress Theme - WPExplorer</title>
		<link rel="stylesheet" type="text/css" media="all" href="style.css"/>
	</head>
	<body>
		<div id="wrap">
			<header class="header">
				<p>This is header section. Put your logo and other details here.</p>
			</header><!-- .header -->
			<div class="content">
				<p>This is the main content area.</p>
			</div><!-- .content -->
			<div class="sidebar">
				<p>This is the side bar</p>
			</div><!-- .sidebar -->
			<footer class="footer">
				<p>And this is the footer.</p>
			</footer><!-- .footer -->
		</div><!-- #wrap -->
	</body>
</html>

 

CSS STYLESHEET

#wrap{margin: 0 auto; width:95%; margin-top:-10px; height:100%;}
.header{width:99.8%; border:1px solid #999;height:135px;}
.content{width:70%; border:1px solid #999;margin-top:5px;}
.sidebar{float:right; margin-top:-54px;width:29%; border:1px solid #999;}
.footer{width:99.8%;border:1px solid #999;margin-top:10px;}

You can grab both codes if you have nothing to work with. Just copy-paste them into your code editor, save them, create the four PHP files we just mentioned and get ready for the next part. Open your newly-created (and empty)header.php. Login into your existing WordPress installation, navigate to Appearance –>> Editor and openheader.php. Copy all the code between the <head> tags and paste it into your header.php file. The following is the code I got from the header.php file in Twenty Fourteen theme:

<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta name="viewport" content="width=device-width">
	<title><?php wp_title( '|', true, 'right' ); ?></title>
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
	<!--[if lt IE 9]>
	<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script>
	<![endif]-->
	<?php wp_head(); ?>
</head>

Then open your index.html file and copy the header code (i.e. the code in the <div class= “header”> section) to your header.php just below the <head> tags as shown below:

<html>
	<head>
		<meta charset="<?php bloginfo( 'charset' ); ?>">
		<meta name="viewport" content="width=device-width">
		<title><?php wp_title( '|', true, 'right' ); ?></title>
		<link rel="profile" href="http://gmpg.org/xfn/11">
		<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
		<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
		<!--[if lt IE 9]>
		<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script>
		<![endif]-->
		<?php wp_head(); ?>
	</head>
	<body>
		<header class="header">
		<p>This is header section. Put your logo and other details here.</p>
	</header>

Then add…

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
…anywhere between the <head> tags in the header.php file to link your stylesheet. Remember also to put the <html> and <body> opening tags in the header.php as shown above. Save all changes.

 

Adding Posts

Your HTML template is about to morph into a WordPress theme. We just need to add your posts. If you have posts on your blog, how would you display them in your custom-made “HTML-to-WordPress” theme? You use a special type of PHP function known as the Loop. The Loop is just a specialized piece of code that displays your posts and comments wherever you place it.

source : http://www.wpexplorer.com/create-wordpress-theme-html-1/

[quote font=”verdana” font_size=”14″ font_style=”italic” color=”#474747″ bgcolor=”#F5F5F5″ bcolor=”#dd9933″ arrow=”yes” align=”centre”]This Demo Content Brought to you by Momizat Team [/quote]

this is tags and keywords : wordpress themes momizat Tutorial wordpress templates

[review]

Tags: momizattemplatesthemesTutorialwordpress
ShareTweetShare
Previous Post

Anatomy of A WordPress Themes

Next Post

Post Gallery in wordpress themes by momizat team

المعهد التقني بابل

المعهد التقني بابل

Next Post

Post Gallery in wordpress themes by momizat team

اترك تعليقاً إلغاء الرد

لن يتم نشر عنوان بريدك الإلكتروني. الحقول الإلزامية مشار إليها بـ *

احدث الاخبار

ورشة عمل حول نظام المقررات الدراسية …

ورشة عمل حول نظام المقررات الدراسية …

نوفمبر 26, 2019
حسام حسن محمد

ليث علي حمادي التميمي

نوفمبر 25, 2019
حسام حسن محمد

مرتضى محمد شاني الحسيني

نوفمبر 26, 2019
حسام حسن محمد

حيدر فاضل عبد السادة السيلاوي

نوفمبر 25, 2019
حسام حسن محمد

حسام حسن محمد

نوفمبر 25, 2019
خلود عبدالمجيد محمد جعفر

زينب كريم جواد القزاز

نوفمبر 25, 2019
ثناء عبد المهدي مخيف الشمري

ثناء عبد المهدي مخيف الشمري

نوفمبر 25, 2019
ثناء عبد المهدي مخيف الشمري

نجلاء جواد حساني القبطان

نوفمبر 25, 2019
خلود عبدالمجيد محمد جعفر

خلود عبدالمجيد محمد جعفر

نوفمبر 25, 2019

هام … جداً !؟

نوفمبر 15, 2019

احدث الاخبار

  • ورشة عمل حول نظام المقررات الدراسية …
  • ليث علي حمادي التميمي
  • مرتضى محمد شاني الحسيني
  • حيدر فاضل عبد السادة السيلاوي
  • حسام حسن محمد

ادارة الموقع

  • دخول الايملات
  • دخول الادارة
  • التعليم الالكتروني

RSS اخبار الجامعة

  • رئيس جامعة الفرات الأوسط التقنية يعلن موافقة الوزارة عن استحداث الدراسة المسائية لقسمي تقنيات الصيدلة والتمريض .
  • ‏‎جامعة الفرات الأوسط التقنية مركزالحاسبة الالكترونية تقيم دورة متقدمة في برنامج الـword.
  • ‏‎جامعة الفرات الأوسط التقنية تنظم ورشة عمل حول تطبيق نظام المقررات الدراسية .
  • اسماء طلبة الدراسة المهنية الدور الثالث والمعترضين
  • جامعة الفرات الاوسط التقنية _ المعهد التقني المسيب تقيم ندوة حول الفحوصات الائتلافية للمواد ( NDT)

مواقع التواصل الاجتماعي

No Result
View All Result
  • دخول الايملات
  • دخول الادارة
  • التعليم الالكتروني

© 2019 جميع الحقوق محفوظة لمعهد التقني - الكوفة, استضافة وتصميم شركة بغداد هوست

No Result
View All Result
  • الرئيسية
  • عن المعهد
    • رؤيا ورسالة واهداف
    • هيكلية المعهد
    • لوحة الاعلانات
    • ادارة الموقع
  • اقسام المعهد
    • الاقسام الطبية
      • قسم التحليلات المرضية
      • قسم التمريض
      • قسم صحة المجتمع
    • الاقسام الادارية
      • قسم انظمة الحاسوب
      • قسم المحاسبة
      • قسم تقنيات ادارة المواد
      • قسم الادارة القانونية
    • الاقسام التكنلوجية
      • قسم المدني
      • قسم التقنيات الالكترونية
      • قسم المساحة
      • قسم ميكانيك القدرة
      • قسم التقنيات الميكانيكية
  • الخريجين
    • خريجي 1978
    • خريجي 1979
    • خريجي 1980
  • احدث الاخبار
  • التدريسيين
  • الشعب والوحدات
    • شؤون الطلبة
    • شعبة الحاسبة والانترنت
    • شعبة ضمان الجودة
    • الشعبة الادارية
    • الشعبة المالية
    • شعبة التدقيق والرقابة
    • شعبة النشاطات الطلابية
  • احصائيات
  • البحوث المنشورة
  • الحاضنة التكنلوجية
  • اتصل بنا
    • شكاوى خاصة

© 2019 جميع الحقوق محفوظة لمعهد التقني - الكوفة, استضافة وتصميم شركة بغداد هوست

Login to your account below

Forgotten Password?

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
English