Posting PHP
-
Bagi Semua mohon pencerahannya. Gimana caranya posting di wp menggunakan format PHP? atau cara posting custom dari file tersendiri PHP?
Sebelumnya makasih bgtBlog yang perlu diperbaiki adalah: (hanya ditampilkan ke pengguna yang sudah login)
-
The blog you specified at spottourism.com does not appear to be hosted at WordPress.com.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
-
Coba diicip ke http://en.support.wordpress.com/code/posting-source-code/
Yuk Ngeblog..!!
-
Oopss..
Ralat om,, yang saya maksudkan di atas itu untuk blog yang hosting di WordPress.com baik yang free maupun premium, sepertinya begitu.. hehehe.. Kalo untuk yang lain, saya kurang tau..Mohon koreksi kalo ada yang salah ya master.. hehehe…. masih Newbie juga soale..
-
Begini caranya:
[sourcecode language="php"] <?php echo "Hallo dunia..."; ?> [/sourcecode]Sedikit peringatan, shortcode diatas akan membebani paga load, jadi pasang <!–more–> sebelumnya supaya Home Page ga terlalu lemot.
ini versi ringannya :
[sourcecode language="php" light="true"] <?php echo "fiuh sedikit ringan"; ?> [/sourcecode]Contoh live actionnya bisa dicek di mari Belajar PHP bagian 1 – Koneksi ke database dan membangun tabel di MySQL
- Topik ‘Posting PHP’ tidak lagi menerima balasan baru.