Your SlideShare is downloading. ×
Wordpess Hack
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Wordpess Hack

923

Published on

Dasar-dasar templating dalam wordpress

Dasar-dasar templating dalam wordpress

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
923
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
18
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Remastering Theme http://tsauri28.myhaley.com tsauri28@myhaley.com
  • 2.  Style.css  Index.php  Header.php  Sidebar.php  Footer.php  Function.php  Single.php  Page.php
  • 3.  Menempatkan style untuk theme  Menyimpan data theme /* Theme Name: Muawanah Description: 2 Column, CSS, xHTML, JQuery. Download other from <a href="http://myhaley.com"> HaleyGroup </a> , free !! Version: 0.1 Author: Asep Sufyan Tsauri Author URI: http://www.tsauri28.myhaley.com/ */ /* Style anda disini !!! */
  • 4.  Halaman utama yang akan dipanggil awal oleh http  Memanggil file struktur yang lain, seperti header, footer, dsb.  Biasanya digunakan untuk menyimpan headline post
  • 5.  Bagian ‘kepala’ struktur wordpress  Biasanya untuk menyimpan link ke style, script dsb
  • 6.  Menyimpan widget  Diintegrasikan (dikontrol) dengan function.php
  • 7.  ‘kaki’ wordpress
  • 8.  Menyimpan function untuk mengatur theme  Paling umum untuk mengontrol sidebar.php
  • 9.  Bagian detail post (hasil dari ‘read more…’)  Memanggil file2 lain seperti header, footer, dll (seperti index.php)
  • 10.  Sama fungsinya dengan single.php, hanya untuk page
  • 11.  Looping post <?php while (have_posts()) : the_post(); ?>  Tampilkan Judul <?php the_title(); ?>  Tampilkan hyperlink post <?php the_permalink() ?>  Tampilkan content <?php the_content(__(‘selanjutnya…')); ?>  Menampilkan Kategori <?php the_category(', ') ?>
  • 12.  Tampilkan post dalam kategori tertentu <?php $my_query = new WP_Query('category_name=Uncategorized&showposts=4'); ?>  Costum Field <?php get_post_meta($post->ID,'image', true) ) ?>
  • 13.  Wordpress.org  Wphacks.com  Webdesignerwall.com  Nettuts.com  dllllll;

×