Categories
Dasar WordPress Trik WordPress

Membuat Custom Post Type

Sebenarnya untuk membuat custom post type, anda harus memasukkan kode PHP di file functions.php. Tapi saya menemukan plugin yang menurut saya cukup mudah dipergunakan untuk membuat custom post type sendiri tanpa perlu pusing dengan kode-kode PHP.

Plugin ini bernama Custom Post Type UI. Anda bisa mendownloadnya dari database plugin WordPress.org atau melalui admin panel WordPress anda. Setelah diaktifkan, anda akan mendapatkan menu baru di sidebar admin panel anda dengan nama Custom Post Type.

Untuk membuat custom post type, klik Add New. beri nama untuk post type anda, label, dll. Setelah itu tinggal klik tombol Create Custom Post Type. Selesai deh. Sekarang seharusnya sudah ada menu baru di sidebar admin panel anda berisikan custom post type anda sendiri.

Apabila ingin mengatur lebih dalam lagi custom post type anda, maka silahkan klik link View Advance Options. Disini anda bisa mengatur sendiri seperti apa halaman editor custom post nanti. Cukup beri centang box yang ingin dimunculkan dan hilangkan centang box yang ingin dihilangkan. Anda bahkan bisa menentukan sendiri rewrite rule untuk custom post baru.

Silahkan dicoba-coba sendiri deh dan selamat bermain-main dengan custom post anda sendiri. Insya Allah artikel mendatang akan saya tunjukkan bagaimana menampilkan custom post anda šŸ™‚

By Lutvi

Bukan Ustadz, bukan Dai apalagi Kyai. Juga bukan guru. Hanya sekedar santri miskin ilmu yang coba mengamalkan 1 ayat warisan dari para ulama. Saat ini diamanahi menjadi admin web WordPress Indonesia

21 replies on “Membuat Custom Post Type”

Alangkah senangnya saya jika ada yang mau berbagi tutorial lengkap Plugin Custom Post Type UI ini. Sebenarnya saya sudah mencobanya tapi masih belum expert. Masih memerlukan bimbingan.
šŸ™‚

I simply want to tell you that I am just beginner to blogging and site-building and seriously savored you’re web blog. More than likely Iā€™m planning to bookmark your blog . You certainly have outstanding writings. Thank you for sharing with us your blog site.

Hello there, just became aware of your blog through Google, and found that it’s really informative. Iā€™m going to watch out for brussels. I will be grateful if you continue this in future. Many people will be benefited from your writing. Cheers!

I am really loving the theme/design of your web site. Do you ever run into any web browser compatibility issues? A handful of my blog visitors have complained about my blog not operating correctly in Explorer but looks great in Opera. Do you have any advice to help fix this problem?

Hello there! I might have sworn I’ve been to this blog formerly nevertheless after browsing through some of the post I realized it’s new to me. Anyhow, I’m definitely in high spirits I bring into being it and I’ll be bookmarking and checking back frequently!

I do not even know how I ended up here, but I thought this post was good. I do not know who you are but certainly you’re going to a famous blogger if you are not already šŸ˜‰ Cheers!

wonderful issues altogether, you simply won a new reader. What would you suggest in regards to your publish that you just made some days in the past? Any certain?

This is really interesting, You’re a very skilled blogger. I have joined your rss feed and look forward to seeking more of your magnificent post. Also, I have shared your site in my social networks!

Wonderful beat ! I would like to apprentice while you amend your site, how can i subscribe for a blog website? The account helped me a acceptable deal. I had been a little bit acquainted of this your broadcast offered bright clear concept

Its like you read my thoughts! You seem to know so much about this, like you wrote the guide in it or something. I feel that you just could do with some p.c. to power the message home a little bit, but other than that, that is fantastic blog. A fantastic read. I’ll certainly be back.

The very next time I read a blog, I hope that it doesn’t fail me just as much as this one. I mean, Yes, it was my choice to read, however I truly believed you would probably have something useful to talk about. All I hear is a bunch of whining about something you can fix if you weren’t too busy searching for attention.

Comments are closed.